From: mpv Date: Fri, 3 Jul 2015 08:33:19 +0000 (+0300) Subject: Fix for the issue #655 X-Git-Tag: V_1.3.0~117 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7bc008cbefda5d56945ceb8686b8b768703568c0;p=modules%2Fshaper.git Fix for the issue #655 --- diff --git a/src/InitializationPlugin/InitializationPlugin_Plugin.cpp b/src/InitializationPlugin/InitializationPlugin_Plugin.cpp index 654b9c446..b37e89ead 100644 --- a/src/InitializationPlugin/InitializationPlugin_Plugin.cpp +++ b/src/InitializationPlugin/InitializationPlugin_Plugin.cpp @@ -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