Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Plugin-Topology
Commits
1c42d595
Commit
1c42d595
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
242272c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
TopologyPlugin.cc
TopologyPlugin.cc
+6
-6
No files found.
TopologyPlugin.cc
View file @
1c42d595
...
...
@@ -249,7 +249,7 @@ void TopologyPlugin::add_face(QMouseEvent* _event) {
if
((
_event
->
type
()
!=
QEvent
::
MouseButtonPress
)
&&
(
_event
->
type
()
!=
QEvent
::
MouseButtonDblClick
))
return
;
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
if
(
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_FACE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
))
{
...
...
@@ -489,7 +489,7 @@ void TopologyPlugin::split_face(QMouseEvent* _event) {
if
(
_event
->
type
()
!=
QEvent
::
MouseButtonPress
)
return
;
unsigned
int
target_idx
;
size_t
target_idx
;
ACG
::
Vec3d
hit_point
;
BaseObjectData
*
object
=
0
;
...
...
@@ -548,7 +548,7 @@ void TopologyPlugin::delete_face(QMouseEvent* _event) {
if
(
_event
->
type
()
!=
QEvent
::
MouseButtonPress
)
return
;
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
if
(
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_FACE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
))
{
...
...
@@ -597,7 +597,7 @@ void TopologyPlugin::flip_edge(QMouseEvent* _event) {
if
(
_event
->
type
()
!=
QEvent
::
MouseButtonPress
)
return
;
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
if
(
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_FACE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
))
{
...
...
@@ -662,7 +662,7 @@ void TopologyPlugin::collapse_edge(QMouseEvent* _event) {
if
(
_event
->
type
()
!=
QEvent
::
MouseButtonPress
)
return
;
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
if
(
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_FACE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
))
{
...
...
@@ -775,7 +775,7 @@ void TopologyPlugin::split_edge(QMouseEvent* _event) {
if
(
_event
->
type
()
!=
QEvent
::
MouseButtonPress
)
return
;
unsigned
int
node_idx
,
target_idx
;
size_t
node_idx
,
target_idx
;
ACG
::
Vec3d
hit_point
;
if
(
PluginFunctions
::
scenegraphPick
(
ACG
::
SceneGraph
::
PICK_FACE
,
_event
->
pos
(),
node_idx
,
target_idx
,
&
hit_point
))
{
...
...
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