]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx
Salome HOME
21854: Add persistent dimensions
[modules/geom.git] / src / MeasureGUI / MeasureGUI_ManageDimensionsDlg.cxx
index fb739349e8815c38e7768cc448b371a8dce237e6..9433464b1604e878c7c4785a720d34caf649f569 100644 (file)
@@ -643,7 +643,7 @@ void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle(AIS_Interacti
   TopoDS_Shape anParentSh;
   if ( GEOMBase::GetShape( myEditObject.get(), anParentSh ) )
   {
-    aLCS = GEOMUtils::GetPosition( anParentSh );
+    aLCS = gp_Ax3().Transformed( anParentSh.Location().Transformation() );
   }
 
   int aDimensionId = IdFromPrs( theIO );