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-SelectionBSplineSurface
Commits
bf2a1468
Commit
bf2a1468
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
1e8ef69f
Changes
1
Hide whitespace changes
Inline
Side-by-side
BSplineSurfaceSelectionPlugin.cc
View file @
bf2a1468
...
...
@@ -321,7 +321,7 @@ void BSplineSurfaceSelectionPlugin::slotToggleSelection(QMouseEvent* _event, Sel
if
(
_currentType
&
controlPointType_
)
{
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
if
(
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_VERTEX
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
))
{
...
...
@@ -358,7 +358,7 @@ void BSplineSurfaceSelectionPlugin::slotToggleSelection(QMouseEvent* _event, Sel
if
(
_currentType
&
knotType_
)
{
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
if
(
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_SPLINE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
))
{
...
...
Write
Preview
Supports
Markdown
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