fix const correctness, restore sketcher icon
This commit is contained in:
@@ -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<Constraint *> &vals = this->Constraints.getValues();
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -156,6 +156,7 @@
|
||||
<file>icons/Sketcher_MergeSketch.svg</file>
|
||||
<file>icons/Sketcher_MirrorSketch.svg</file>
|
||||
<file>icons/Sketcher_NewSketch.svg</file>
|
||||
<file alias="icons/preferences-sketcher.svg">icons/Sketcher_NewSketch.svg</file>
|
||||
<file>icons/Sketcher_Parabolic_Arc.svg</file>
|
||||
<file>icons/Sketcher_Parabolic_Arc_Constr.svg</file>
|
||||
<file>icons/Sketcher_ProfilesHexagon1.svg</file>
|
||||
|
||||
Reference in New Issue
Block a user