diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 1772d93402..41c17a9777 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -439,7 +439,7 @@ int SketchObject::setVirtualSpace(int ConstrId, bool isinvirtualspace) return 0; } -int SketchObject::getVirtualSpace(int ConstrId, bool &isinvirtualspace) +int SketchObject::getVirtualSpace(int ConstrId, bool &isinvirtualspace) const { const std::vector &vals = this->Constraints.getValues(); diff --git a/src/Mod/Sketcher/App/SketchObject.h b/src/Mod/Sketcher/App/SketchObject.h index f71b28ac6b..ae756df62b 100644 --- a/src/Mod/Sketcher/App/SketchObject.h +++ b/src/Mod/Sketcher/App/SketchObject.h @@ -172,7 +172,7 @@ public: /// set the driving status of this constraint and solve int setVirtualSpace(int ConstrId, bool isinvirtualspace); /// get the driving status of this constraint - int getVirtualSpace(int ConstrId, bool &isinvirtualspace); + int getVirtualSpace(int ConstrId, bool &isinvirtualspace) const; /// toggle the driving status of this constraint int toggleVirtualSpace(int ConstrId); /// move this point to a new location and solve diff --git a/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc b/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc index 239fb354ec..8f8daa0da4 100644 --- a/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc +++ b/src/Mod/Sketcher/Gui/Resources/Sketcher.qrc @@ -156,6 +156,7 @@ icons/Sketcher_MergeSketch.svg icons/Sketcher_MirrorSketch.svg icons/Sketcher_NewSketch.svg + icons/Sketcher_NewSketch.svg icons/Sketcher_Parabolic_Arc.svg icons/Sketcher_Parabolic_Arc_Constr.svg icons/Sketcher_ProfilesHexagon1.svg