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-SkeletonEditing
Commits
a052b30c
Commit
a052b30c
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
978b9171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
SkeletonEditingPlugin.cc
SkeletonEditingPlugin.cc
+8
-8
No files found.
SkeletonEditingPlugin.cc
View file @
a052b30c
...
...
@@ -298,7 +298,7 @@ bool SkeletonEditingPlugin::canModify(QMouseEvent* _event)
return
true
;
// try to select a joint from which the insertion should be started
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hitPoint
;
BaseObjectData
*
object
;
...
...
@@ -537,7 +537,7 @@ void SkeletonEditingPlugin::slotRotateManipulator(bool _toggled)
* @param _event mouseEvent that occured
*/
void
SkeletonEditingPlugin
::
placeManip
(
QMouseEvent
*
_event
)
{
unsigned
in
t
node_idx
,
target_idx
;
size_
t
node_idx
,
target_idx
;
OpenMesh
::
Vec3d
hitPoint
;
BaseObjectData
*
object
;
...
...
@@ -902,7 +902,7 @@ void SkeletonEditingPlugin::deleteJoint(QMouseEvent* _event)
{
if
(
(
_event
->
type
()
==
QEvent
::
MouseButtonPress
)
||
(
_event
->
type
()
==
QEvent
::
MouseButtonRelease
)
){
// only select the joint on mousePress
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hitPoint
;
BaseObjectData
*
object
;
...
...
@@ -994,7 +994,7 @@ void SkeletonEditingPlugin::splitJoint(QMouseEvent* _event)
return
;
// try to select a joint from which the insertion should be started
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hitPoint
;
BaseObjectData
*
object
;
...
...
@@ -1039,7 +1039,7 @@ void SkeletonEditingPlugin::insertJoint(QMouseEvent* _event)
// try to select a joint from which the insertion should be started
//
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hitPoint
;
BaseObjectData
*
object
;
...
...
@@ -1086,7 +1086,7 @@ void SkeletonEditingPlugin::insertJoint(QMouseEvent* _event)
}
// add a new skeleton at this position
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
lastHitPoint
(
0.0
,
0.0
,
0.0
);
// first try to pick something
...
...
@@ -1173,7 +1173,7 @@ void SkeletonEditingPlugin::insertJoint(QMouseEvent* _event)
// CASE 1 : this is a release on a joint from which the insertion should be started
if
(
!
jointPreview_
){
// in
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hitPoint
;
BaseObjectData
*
object
;
...
...
@@ -1377,7 +1377,7 @@ void SkeletonEditingPlugin::selectJoint(QMouseEvent* _event)
if
(
_event
->
type
()
==
QEvent
::
MouseButtonRelease
){
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hitPoint
;
BaseObjectData
*
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