0032289: Visualization - add NCollection_Mat3 for 3x3 matrix similar to NCollection_Mat4
[occt.git] / src / OpenGl / OpenGl_CappingAlgo.cxx
index 743a809..eed9011 100755 (executable)
@@ -69,7 +69,7 @@ namespace
 
     // set identity model matrix
     aContext->ModelWorldState.Push();
-    aContext->ModelWorldState.SetCurrent (OpenGl_Mat4::Map (*thePlane->Orientation()->mat));
+    aContext->ModelWorldState.SetCurrent (thePlane->Orientation());
     aContext->ApplyModelViewMatrix();
 
     thePlane->Primitives().Render (theWorkspace);