Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Plugin-SelectionVolumeMesh
Commits
6e161098
Commit
6e161098
authored
Oct 24, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed function parameters for picking from using unsigned int to size_t. Breaking Change!
parent
c85a9212
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
VolumeMeshSelectionPlugin.cc
VolumeMeshSelectionPlugin.cc
+4
-4
No files found.
VolumeMeshSelectionPlugin.cc
View file @
6e161098
...
...
@@ -360,7 +360,7 @@ void VolumeMeshSelectionPlugin::slotToggleSelection(QMouseEvent* _event,
if
(
_event
->
button
()
!=
Qt
::
LeftButton
)
return
;
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
BaseObjectData
*
object
=
0
;
...
...
@@ -494,7 +494,7 @@ void VolumeMeshSelectionPlugin::slotFloodFillSelection(QMouseEvent* _event,
if
((
_currentType
&
floodFillSupportedTypes_
)
==
0
)
return
;
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
// pick Anything to find all possible objects
...
...
@@ -619,7 +619,7 @@ void VolumeMeshSelectionPlugin::slotCustomSelection(QMouseEvent *_event, Primiti
BaseObjectData
*
object
=
0
;
// Perform picking
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
bool
successfullyPicked
=
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_FACE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
)
&&
PluginFunctions
::
getPickedObject
(
node_idx
,
object
);
...
...
@@ -667,7 +667,7 @@ void VolumeMeshSelectionPlugin::slotCustomSelection(QMouseEvent *_event, Primiti
ACG
::
Vec3d
hit_point
;
// Perform picking
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
bool
successfullyPicked
=
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_FACE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
)
&&
PluginFunctions
::
getPickedObject
(
node_idx
,
object
);
...
...
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