0030824: Visualization, PrsMgr_PresentableObject - A new flag to disable automatic... IR-2019-07-05
authorasl <asl@opencascade.com>
Wed, 3 Jul 2019 08:29:47 +0000 (11:29 +0300)
committerapn <apn@opencascade.com>
Thu, 4 Jul 2019 16:36:30 +0000 (19:36 +0300)
commit0d56f7433b23f4aa855701f5e71b9612b2584afb
treeb3ec9f27c4aa1add9ea9894feed0bd2fdd6f17b1
parentacc6542a1be93fa1f3d50067f835c62ce670964e
0030824: Visualization, PrsMgr_PresentableObject - A new flag to disable automatic selection of children

A new flag myToPropagateVisualState is introduced for PrsMgr_PresentableObject: by default it is true, it means that the visual state (display/erase/color) should be propagated to all children. If false, the visual state is not propagated.
The flag can be set via the method ToPropagateVisualState() or via Draw command: "vparent <parent> -ignoreVisu"
src/PrsMgr/PrsMgr_PresentableObject.cxx
src/PrsMgr/PrsMgr_PresentableObject.hxx
src/PrsMgr/PrsMgr_PresentationManager.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
tests/bugs/vis/bug30823 [new file with mode: 0644]
tests/bugs/vis/bug30824 [new file with mode: 0644]