]> OCCT Git - occt-copy.git/commitdiff
0030268: Inspectors - improvements in VInspector plugin
authornds <natalia.ermolaeva@opencascade.com>
Tue, 7 Jul 2020 09:44:24 +0000 (12:44 +0300)
committernds <natalia.ermolaeva@opencascade.com>
Tue, 7 Jul 2020 09:44:24 +0000 (12:44 +0300)
- lights for V3d viewer.
- should not possible using it as it breaks highlight/selection of this presentation in the viewer.

tools/VInspector/VInspector_PresentationLight.cxx

index 5b3851a472f2b4b162b531daccd5415c209062fd..66e713b9a5290326d9f1325829a5e675b23a49df 100644 (file)
@@ -78,8 +78,6 @@ VInspector_PresentationLight::VInspector_PresentationLight()
 : AIS_InteractiveObject(),
   myIndent (200), myTranslateMode (0/*position*/), myHasStartedTransformation (Standard_False)
 {
-  View_PreviewParameters aPreviewParameters (false);
-  SetAttributes (aPreviewParameters.GetDrawer());
 }
 
 // =======================================================================