Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
Plugin-SelectionBase
Commits
d1223e92
Commit
d1223e92
authored
Apr 12, 2017
by
Martin Schultz
Browse files
removed double parameter from SelectionBase also removedmaxAngle for floodfill selection spinbox
parent
05670f02
Changes
3
Hide whitespace changes
Inline
Side-by-side
SelectionBasePlugin.cc
View file @
d1223e92
...
@@ -1456,12 +1456,7 @@ void SelectionBasePlugin::slotMouseFloodFillSelection(QMouseEvent* _event) {
...
@@ -1456,12 +1456,7 @@ void SelectionBasePlugin::slotMouseFloodFillSelection(QMouseEvent* _event) {
if
(
_event
->
button
()
==
Qt
::
RightButton
)
return
;
if
(
_event
->
button
()
==
Qt
::
RightButton
)
return
;
double
maxAngle
=
2
*
M_PI
;
emit
floodFillSelection
(
_event
,
currentPrimitiveType_
,
deselection_
);
if
(
!
OpenFlipper
::
Options
::
nogui
())
maxAngle
=
tool_
->
maxFloodFillAngle
->
value
();
emit
floodFillSelection
(
_event
,
maxAngle
,
currentPrimitiveType_
,
deselection_
);
}
}
}
}
...
...
SelectionBasePlugin.hh
View file @
d1223e92
...
@@ -130,7 +130,7 @@ Q_INTERFACES(SelectionInterface)
...
@@ -130,7 +130,7 @@ Q_INTERFACES(SelectionInterface)
void
surfaceLassoSelection
(
QMouseEvent
*
_event
,
SelectionInterface
::
PrimitiveType
_currentType
,
bool
_deselect
);
void
surfaceLassoSelection
(
QMouseEvent
*
_event
,
SelectionInterface
::
PrimitiveType
_currentType
,
bool
_deselect
);
void
sphereSelection
(
QMouseEvent
*
_event
,
double
_radius
,
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
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
componentsSelection
(
QMouseEvent
*
_event
,
SelectionInterface
::
PrimitiveType
_currentType
,
bool
_deselect
);
void
customSelection
(
QMouseEvent
*
_event
,
SelectionInterface
::
PrimitiveType
_currentType
,
QString
_customIdentifier
,
bool
_deselect
);
void
customSelection
(
QMouseEvent
*
_event
,
SelectionInterface
::
PrimitiveType
_currentType
,
QString
_customIdentifier
,
bool
_deselect
);
...
...
widgets/SelectionBaseToolbox.ui
View file @
d1223e92
...
@@ -87,55 +87,6 @@
...
@@ -87,55 +87,6 @@
</item>
</item>
</layout>
</layout>
</item>
</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>
<item>
<spacer
name=
"verticalSpacer"
>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<property
name=
"orientation"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment