mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0025974: Visualization - fix misprints in method naming of Graphic3d_GraduatedTrihedron
V3d_View::GetGraduatedTrihedron() - return configuration structure directly. OpenGl_View::TriedronDisplay() - do not re-create trihedron on each Display call. OpenGl_Trihedron::Setup() - eliminate global variables. OpenGl_PrimitiveArray::buildVBO() - release old VBOs before initialization. ViewerTest.hxx - move out package header from .cdl file. ViewerTest::ParseColor() - add new method to parse color arguments in common way. vzbufftrihedron - improve command syntax. vgraduatedtrihedron - add options -drawgrid and -drawaxes.
This commit is contained in:
@@ -780,13 +780,13 @@ void OpenGl_View::RedrawLayer2d (const Handle(OpenGl_PrinterContext)& thePrintCo
|
||||
void OpenGl_View::RedrawTrihedron (const Handle(OpenGl_Workspace) &theWorkspace)
|
||||
{
|
||||
// display global trihedron
|
||||
if (myTrihedron != NULL)
|
||||
if (myToShowTrihedron)
|
||||
{
|
||||
myTrihedron->Render (theWorkspace);
|
||||
myTrihedron.Render (theWorkspace);
|
||||
}
|
||||
if (myGraduatedTrihedron != NULL)
|
||||
if (myToShowGradTrihedron)
|
||||
{
|
||||
myGraduatedTrihedron->Render (theWorkspace);
|
||||
myGraduatedTrihedron.Render (theWorkspace);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user