diff options
Diffstat (limited to 'CSXCAD/src/CSPrimitives.h')
-rw-r--r-- | CSXCAD/src/CSPrimitives.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CSXCAD/src/CSPrimitives.h b/CSXCAD/src/CSPrimitives.h index 4f68a96..545c152 100644 --- a/CSXCAD/src/CSPrimitives.h +++ b/CSXCAD/src/CSPrimitives.h @@ -177,7 +177,8 @@ public: //! Read the coordinate system for this primitive (may be different to the input mesh type) \sa GetCoordInputType CoordinateSystem GetCoordinateSystem() const {return m_PrimCoordSystem;} - CSTransform* GetTransform() const {return m_Transform;} + //! Get the CSTransform if it exists already or create a new one + CSTransform* GetTransform(); //! Show status of this primitve virtual void ShowPrimitiveStatus(std::ostream& stream); |