0027919: Visualization - support multiple transformation persistence groups within...
[occt.git] / src / Graphic3d / Graphic3d_CStructure.cxx
index 7da948f..e60815d 100644 (file)
@@ -27,10 +27,16 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_CStructure,Standard_Transient)
 //purpose  :
 //=============================================================================
 Graphic3d_CStructure::Graphic3d_CStructure (const Handle(Graphic3d_StructureManager)& theManager)
 //purpose  :
 //=============================================================================
 Graphic3d_CStructure::Graphic3d_CStructure (const Handle(Graphic3d_StructureManager)& theManager)
-: myZLayer         (Graphic3d_ZLayerId_Default),
-  Priority         (Structure_MAX_PRIORITY / 2),
+: Priority         (Structure_MAX_PRIORITY / 2),
   PreviousPriority (Structure_MAX_PRIORITY / 2),
   ContainsFacet    (0),
   PreviousPriority (Structure_MAX_PRIORITY / 2),
   ContainsFacet    (0),
+  //
+  myGraphicDriver  (theManager->GraphicDriver()),
+  myZLayer         (Graphic3d_ZLayerId_Default),
+  myIsCulled       (Standard_True),
+  myBndBoxClipCheck(Standard_True),
+  myHasGroupTrsf   (Standard_False),
+  //
   IsInfinite       (0),
   stick            (0),
   highlight        (0),
   IsInfinite       (0),
   stick            (0),
   highlight        (0),
@@ -38,10 +44,7 @@ Graphic3d_CStructure::Graphic3d_CStructure (const Handle(Graphic3d_StructureMana
   HLRValidation    (0),
   IsForHighlight   (Standard_False),
   IsMutable        (Standard_False),
   HLRValidation    (0),
   IsForHighlight   (Standard_False),
   IsMutable        (Standard_False),
-  Is2dText         (Standard_False),
-  myGraphicDriver  (theManager->GraphicDriver()),
-  myIsCulled       (Standard_True),
-  myBndBoxClipCheck(Standard_True)
+  Is2dText         (Standard_False)
 {
   Id = myGraphicDriver->NewIdentification();
 }
 {
   Id = myGraphicDriver->NewIdentification();
 }