<feature id="Boolean" title="Boolean" tooltip="Perform boolean operations with shapes" icon=":icons/cut.png">
<source path="boolean_widget.xml"/>
</feature>
- <feature id="Placement" title="Placement" tooltip="Perform moving an object to specified position" icon="">
+ <feature id="Placement" title="Placement" tooltip="Perform moving an object to specified position" icon=":icons/placement.png">
<source path="placement_widget.xml"/>
</feature>
</group>
QList<ModuleBase_ViewerPrs> aObjects = aSelect->getHighlighted();
myEditingFeatures.clear();
myEditingAttr.clear();
- if (aObjects.size() > 0) {
+ if (aObjects.size() == 1) {
foreach(ModuleBase_ViewerPrs aPrs, aObjects) {
FeaturePtr aFeature = ModelAPI_Feature::feature(aObjects.first().object());
if (aFeature) {
<file>icons/radius_constr.png</file>
<file>icons/shape_group.png</file>
<file>icons/fixed.png</file>
+ <file>icons/placement.png</file>
</qresource>
</RCC>