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
OpenMesh
OpenMesh
Commits
ca7abc7e
Commit
ca7abc7e
authored
Jan 13, 2017
by
Janis Born
Browse files
request mesh element status in MidpointT subdivision and fix a possible infinite loop
parent
3dd0d209
Pipeline
#4150
passed with stage
in 50 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/OpenMesh/Tools/Subdivider/Uniform/MidpointT.hh
View file @
ca7abc7e
...
...
@@ -47,6 +47,10 @@ protected: // SubdividerT interface
//! @note The _update_points option is ignored
bool
subdivide
(
mesh_t
&
_m
,
size_t
_n
,
const
bool
_update_points
=
true
)
{
_m
.
request_halfedge_status
();
_m
.
request_edge_status
();
_m
.
request_vertex_status
();
_m
.
request_face_status
();
PropertyManager
<
EPropHandleT
<
typename
mesh_t
::
VertexHandle
>
,
mesh_t
>
edge_midpoint
(
_m
,
"edge_midpoint"
);
PropertyManager
<
VPropHandleT
<
bool
>
,
mesh_t
>
is_original_vertex
(
_m
,
"is_original_vertex"
);
...
...
@@ -90,6 +94,7 @@ protected: // SubdividerT interface
_m
.
delete_vertex
(
vh
);
}
}
_m
.
garbage_collection
();
}
return
true
;
}
...
...
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