Commit d1223e92 authored by Martin Schultz's avatar Martin Schultz
Browse files

removed double parameter from SelectionBase also removedmaxAngle for floodfill selection spinbox

parent 05670f02
......@@ -1456,12 +1456,7 @@ void SelectionBasePlugin::slotMouseFloodFillSelection(QMouseEvent* _event) {
if (_event->button() == Qt::RightButton) return;
double maxAngle = 2*M_PI;
if(!OpenFlipper::Options::nogui())
maxAngle = tool_->maxFloodFillAngle->value();
emit floodFillSelection(_event, maxAngle, currentPrimitiveType_, deselection_);
emit floodFillSelection(_event, currentPrimitiveType_, deselection_);
}
}
......
......@@ -130,7 +130,7 @@ Q_INTERFACES(SelectionInterface)
void surfaceLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void sphereSelection(QMouseEvent* _event, double _radius, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void closestBoundarySelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void floodFillSelection(QMouseEvent* _event, double _maxAngle, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void floodFillSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void componentsSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void customSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, QString _customIdentifier, bool _deselect);
......
......@@ -87,55 +87,6 @@
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Tool Parameters</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Flood Fill</string>
</attribute>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Maximum angle:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="maxFloodFillAngle">
<property name="toolTip">
<string>Maximum angle between faces that get flood filled</string>
</property>
<property name="statusTip">
<string>Maximum angle between faces that get flood filled</string>
</property>
<property name="maximum">
<double>180.000000000000000</double>
</property>
<property name="value">
<double>15.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment