0026827: Position and orientation for GD&T frames
[occt.git] / src / XCAFDimTolObjects / XCAFDimTolObjects_DatumObject.cxx
index 33ba5af..6523340 100644 (file)
@@ -24,6 +24,9 @@ IMPLEMENT_STANDARD_RTTIEXT(XCAFDimTolObjects_DatumObject,Standard_Transient)
 XCAFDimTolObjects_DatumObject::XCAFDimTolObjects_DatumObject()
 {
   myIsDTarget = Standard_False;
+  myHasPlane = Standard_False;
+  myHasPnt = Standard_False;
+  myHasPntText = Standard_False;
 }
 
 //=======================================================================
@@ -41,6 +44,12 @@ XCAFDimTolObjects_DatumObject::XCAFDimTolObjects_DatumObject(const Handle(XCAFDi
   myIsDTarget = theObj->myIsDTarget;
   myAxis = theObj->myAxis;
   myDTargetType = theObj->myDTargetType;
+  myPlane = theObj->myPlane;
+  myPnt= theObj->myPnt;
+  myPntText= theObj->myPntText;
+  myHasPlane = theObj->myHasPlane;
+  myHasPnt = theObj->myHasPnt;
+  myHasPntText = theObj->myHasPntText;
 }
 
 //=======================================================================