]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_PreviewPlanes.cpp
Salome HOME
Issue #1657 In the Sketcher, disable all coordinate and lenght inputs : rename "Sketc...
[modules/shaper.git] / src / PartSet / PartSet_PreviewPlanes.cpp
index 53e4cebfd00eab49ccbea0205dfc0521e530b06c..4e362145d770269559708af823b72eb8b6e64886 100755 (executable)
@@ -123,11 +123,11 @@ AISObjectPtr PartSet_PreviewPlanes::createPreviewPlane(std::shared_ptr<GeomAPI_P
                                                        std::shared_ptr<GeomAPI_Dir> theNorm, 
                                                        const int theRGB[3])
 {
-  double aSize = Config_PropManager::integer("Sketch planes", "planes_size", PLANE_SIZE);
+  double aSize = Config_PropManager::integer(SKETCH_TAB_NAME, "planes_size", PLANE_SIZE);
   std::shared_ptr<GeomAPI_Shape> aFace = GeomAlgoAPI_FaceBuilder::squareFace(theOrigin, theNorm, aSize);
   AISObjectPtr aAIS = AISObjectPtr(new GeomAPI_AISObject());
   aAIS->createShape(aFace);
-  aAIS->setWidth(Config_PropManager::integer("Sketch planes", "planes_thickness", SKETCH_WIDTH));
+  aAIS->setWidth(Config_PropManager::integer(SKETCH_TAB_NAME, "planes_thickness", SKETCH_WIDTH));
   aAIS->setColor(theRGB[0], theRGB[1], theRGB[2]);
   return aAIS;
 }