X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FConstructionPlugin_Point.cpp;h=0129d391e1b784d3172c3f97709018f9261b4192;hb=181c5a321c5ad5c64ca1466d884192ec140756ea;hp=9b1744d325f2f3c66fc1c06994a6cadd938772b9;hpb=b67c6ffd068db9de9deff24e16e31fc7633e6135;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/ConstructionPlugin_Point.cpp b/src/ConstructionPlugin/ConstructionPlugin_Point.cpp index 9b1744d32..0129d391e 100644 --- a/src/ConstructionPlugin/ConstructionPlugin_Point.cpp +++ b/src/ConstructionPlugin/ConstructionPlugin_Point.cpp @@ -144,7 +144,9 @@ void ConstructionPlugin_Point::execute() removeResults(1); // for case the point type was switched from multi-results type std::shared_ptr aConstr = document()->createConstruction(data()); aConstr->setInfinite(true); - aConstr->setShape(aShape); + aConstr->setShape(aShape); + aConstr->setColor(ModelAPI_ResultConstruction::ModelApi_PointColor::DEFAULT_COLOR(), + ModelAPI_ResultConstruction::ModelApi_PointColor::COLOR_CONFIG_NAME()); /// set point color setResult(aConstr); }