]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #655
authormpv <mpv@opencascade.com>
Fri, 3 Jul 2015 08:33:19 +0000 (11:33 +0300)
committermpv <mpv@opencascade.com>
Fri, 3 Jul 2015 08:33:19 +0000 (11:33 +0300)
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