0024321: Use List collection instead of NCollection_Set for collection of Handle...
[occt.git] / src / Visual3d / Visual3d_View.cxx
index cdf2c5a..63e0a9b 100755 (executable)
@@ -745,12 +745,13 @@ void Visual3d_View::UpdateLights()
   MyCView.Context.ActiveLight = NULL;
 }
 
-void Visual3d_View::UpdatePlanes() 
+void Visual3d_View::UpdatePlanes()
 {
-  MyCView.Context.ClipPlanes = MyContext.GetClipPlanes();
-  
+  MyCView.Context.ClipPlanes = MyContext.ClipPlanes();
   if (IsDeleted() || !IsDefined())
+  {
     return;
+  }
 
   MyGraphicDriver->SetClipPlanes (MyCView);
 }