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
OpenFlipper-Free
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
OpenFlipper-Free
Commits
d52945f6
Commit
d52945f6
authored
Jul 04, 2016
by
Hans-Christian Ebke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of roosevelt.informatik.rwth-aachen.de:OpenFlipper-Free/OpenFlipper-Free
parents
c19fe715
d4c83ffb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
Plugin-HoleFilling/HoleFillerPlugin.cc
Plugin-HoleFilling/HoleFillerPlugin.cc
+18
-15
No files found.
Plugin-HoleFilling/HoleFillerPlugin.cc
View file @
d52945f6
...
...
@@ -354,25 +354,28 @@ void HoleFillerPlugin::slotObjectUpdated( int _identifier, const UpdateType& _ty
bool
updated
=
false
;
// get holes for TRIMESH
if
(
object
->
dataType
(
DATA_TRIANGLE_MESH
)
)
{
if
(
_type
.
contains
(
UPDATE_TOPOLOGY
)
)
{
HoleInfo
<
TriMesh
>*
holeInfo
=
dynamic_cast
<
HoleInfo
<
TriMesh
>*
>
(
object
->
objectData
(
HOLEINFO
)
);
if
(
holeInfo
)
{
holeInfo
->
getHoles
();
updated
=
true
;
// get holes for TRIMESH
if
(
object
->
dataType
(
DATA_TRIANGLE_MESH
)
)
{
HoleInfo
<
TriMesh
>*
holeInfo
=
dynamic_cast
<
HoleInfo
<
TriMesh
>*
>
(
object
->
objectData
(
HOLEINFO
)
);
if
(
holeInfo
)
{
holeInfo
->
getHoles
();
updated
=
true
;
}
}
}
// get holes for POLYMESH
else
if
(
object
->
dataType
(
DATA_POLY_MESH
)
)
{
// get holes for POLYMESH
else
if
(
object
->
dataType
(
DATA_POLY_MESH
)
)
{
HoleInfo
<
PolyMesh
>*
holeInfo
=
dynamic_cast
<
HoleInfo
<
PolyMesh
>*
>
(
object
->
objectData
(
HOLEINFO
)
);
if
(
holeInfo
)
{
holeInfo
->
getHoles
();
updated
=
true
;
HoleInfo
<
PolyMesh
>*
holeInfo
=
dynamic_cast
<
HoleInfo
<
PolyMesh
>*
>
(
object
->
objectData
(
HOLEINFO
)
);
if
(
holeInfo
)
{
holeInfo
->
getHoles
();
updated
=
true
;
}
}
}
...
...
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