mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +03:00
0025500: Visualization, TKOpenGl - global trihedron should not inherit transformation from last object
Test case for CR25500
This commit is contained in:
parent
a791eb69f4
commit
a86ce5a64a
@ -606,9 +606,8 @@ void OpenGl_Trihedron::Render (const Handle(OpenGl_Workspace)& theWorkspace) con
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Handle(OpenGl_Texture) aPrevTexture = theWorkspace->DisableTexture();
|
const Handle(OpenGl_Texture) aPrevTexture = theWorkspace->DisableTexture();
|
||||||
|
|
||||||
/* affichage du Triedre Non Zoomable */
|
|
||||||
theWorkspace->ActiveView()->EndTransformPersistence (theWorkspace->GetGlContext());
|
theWorkspace->ActiveView()->EndTransformPersistence (theWorkspace->GetGlContext());
|
||||||
|
theWorkspace->GetGlContext()->ApplyModelViewMatrix();
|
||||||
|
|
||||||
if (myIsWireframe)
|
if (myIsWireframe)
|
||||||
{
|
{
|
||||||
|
25
tests/bugs/vis/bug25500
Normal file
25
tests/bugs/vis/bug25500
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
puts "========"
|
||||||
|
puts "OCC25500"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
###################################################################################################
|
||||||
|
# Visualization, TKOpenGl - global trihedron should not inherit transformation from last object
|
||||||
|
###################################################################################################
|
||||||
|
|
||||||
|
box b 1 2 3
|
||||||
|
|
||||||
|
vinit View1
|
||||||
|
vclear
|
||||||
|
vaxo
|
||||||
|
vdisplay b
|
||||||
|
vfit
|
||||||
|
|
||||||
|
vzbufftrihedron
|
||||||
|
|
||||||
|
vsetlocation b 0.2 0 0
|
||||||
|
vcaps -ffp 0
|
||||||
|
vrepaint
|
||||||
|
|
||||||
|
checkcolor 60 379 1 0.058823529630899429 0.058823529630899429
|
||||||
|
|
||||||
|
set only_screen 1
|
Loading…
x
Reference in New Issue
Block a user