Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Plugin-SkeletonEditing
Commits
98271dc3
Commit
98271dc3
authored
Oct 28, 2020
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed deprecation QWheelevent warning
parent
d3eae3fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SkeletonEditingPlugin.cc
SkeletonEditingPlugin.cc
+1
-1
No files found.
SkeletonEditingPlugin.cc
View file @
98271dc3
...
...
@@ -271,7 +271,7 @@ void SkeletonEditingPlugin::slotMouseWheelEvent(QWheelEvent * _event, const std:
return
;
// compute the manipulator size modifier based on the mouse wheel change
manip_size_modifier_
=
manip_size_modifier_
-
(
float
)
_event
->
delta
()
/
120.0
*
0.1
;
manip_size_modifier_
=
manip_size_modifier_
-
(
float
)
_event
->
angleDelta
().
y
()
/
120.0
*
0.1
;
// Resize all manipulators based on the modifier on all objects
for
(
PluginFunctions
::
ObjectIterator
o_it
(
PluginFunctions
::
ALL_OBJECTS
)
;
o_it
!=
PluginFunctions
::
objectsEnd
();
++
o_it
)
...
...
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