0026827: Position and orientation for GD&T frames
[occt.git] / src / XCAFDimTolObjects / XCAFDimTolObjects_DimensionObject.cxx
index 1ff4f50..8a053ba 100644 (file)
@@ -26,6 +26,8 @@ IMPLEMENT_STANDARD_RTTIEXT(XCAFDimTolObjects_DimensionObject,Standard_Transient)
 
 XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject()
 {
+  myHasPlane = Standard_False;
+  myHasPntText = Standard_False;
 }
 
 //=======================================================================
@@ -47,6 +49,10 @@ XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject(const Handl
   myPath = theObj->myPath;
   myDir = theObj->myDir;
   myPnts = theObj->myPnts;
+  myPntText= theObj->myPntText;
+  myHasPlane = theObj->myHasPlane;
+  myPlane = theObj->myPlane;
+  myHasPntText = theObj->myHasPntText;
 }
 
 //=======================================================================