Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plugin-SkeletonEditing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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