Skip to content
GitLab
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
e55c15a8
Commit
e55c15a8
authored
Oct 24, 2016
by
Jan Möbius
Browse files
Changed function parameters for picking from using unsigned int to size_t. Breaking Change!
parent
004afebd
Changes
1
Hide whitespace changes
Inline
Side-by-side
SelectionBasePlugin.cc
View file @
e55c15a8
...
...
@@ -1278,7 +1278,7 @@ void SelectionBasePlugin::slotMouseLassoSelection(QMouseEvent* _event) {
// Ignore context menu for lasso selection
if
(
_event
->
button
()
==
Qt
::
RightButton
)
return
;
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
int
y
=
PluginFunctions
::
viewerProperties
().
glState
().
context_height
()
-
_event
->
pos
().
y
();
...
...
@@ -1345,7 +1345,7 @@ void SelectionBasePlugin::slotMouseVolumeLassoSelection(QMouseEvent* _event) {
// Ignore context menu for volume lasso selection
if
(
_event
->
button
()
==
Qt
::
RightButton
)
return
;
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
int
y
=
PluginFunctions
::
viewerProperties
().
glState
().
context_height
()
-
_event
->
pos
().
y
();
...
...
@@ -1421,7 +1421,7 @@ void SelectionBasePlugin::slotMouseSphereSelection(QMouseEvent* _event) {
if
(
_event
->
button
()
==
Qt
::
RightButton
)
return
;
// Do rendering of mouse tool...
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
// Hide sphere node in order to avoid self picking
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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