Salome HOME
Fix for the issue #1202 : update the shape of the referenced plane
[modules/shaper.git] / src / InitializationPlugin / InitializationPlugin_Plugin.cpp
index 654b9c446e02cd44506916a8b6e5ac16241166f0..b37e89ead260a28966c41385ae172dc625013aba 100644 (file)
@@ -91,11 +91,11 @@ FeaturePtr InitializationPlugin_Plugin::createPlane(DocumentPtr theDoc, double t
   aPlane->real("D")->setValue(0.);
 
   if (theX) {
-    aPlane->data()->setName("Y0Z");
+    aPlane->data()->setName("YOZ");
   } else if (theY) {
-    aPlane->data()->setName("X0Z");
+    aPlane->data()->setName("XOZ");
   } else if (theZ) {
-    aPlane->data()->setName("X0Y");
+    aPlane->data()->setName("XOY");
   }
   aPlane->setInHistory(aPlane, false);  // don't show automatically created feature in the features history