0025974: Visualization - fix misprints in method naming of Graphic3d_GraduatedTrihedron
[occt.git] / src / OpenGl / OpenGl_View_2.cxx
index 652c0f2..2e79d4d 100644 (file)
@@ -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);
   }
 }