Salome HOME
Symbols for translation/rotation are created
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MultiTranslation.cpp
index e7b850ec214c9ba4bdcd6a435ce363bad2874b90..06cbd55d7ef98258e3ef3ff1e5a707fbdc806a08 100644 (file)
@@ -18,6 +18,8 @@
 #include <ModelAPI_Session.h>
 #include <ModelAPI_Validator.h>
 
+#include <SketcherPrs_Factory.h>
+
 SketchPlugin_MultiTranslation::SketchPlugin_MultiTranslation()
 {
 }
@@ -174,8 +176,7 @@ AISObjectPtr SketchPlugin_MultiTranslation::getAISObject(AISObjectPtr thePreviou
 
   AISObjectPtr anAIS = thePrevious;
   if (!anAIS) {
-// TODO:
-//    anAIS = SketcherPrs_Factory::mirrorConstraint(this, sketch()->coordinatePlane());
+    anAIS = SketcherPrs_Factory::translateConstraint(this, sketch()->coordinatePlane());
   }
   return anAIS;
 }