Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
37aac1d1
Commit
37aac1d1
authored
Mar 19, 2021
by
TheNumbat
Browse files
another fix
parent
406c0f29
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/geometry/halfedge.cpp
View file @
37aac1d1
...
...
@@ -568,10 +568,11 @@ bool Halfedge_Mesh::subdivide(SubD strategy) {
verts
[
idx
]
=
e
->
new_pos
;
layout
[
e
->
id
()]
=
idx
;
}
for
(
FaceRef
f
=
faces_begin
();
f
!=
faces_end
();
f
++
,
idx
++
)
{
for
(
FaceRef
f
=
faces_begin
();
f
!=
faces_end
();
f
++
)
{
if
(
f
->
is_boundary
())
continue
;
verts
[
idx
]
=
f
->
new_pos
;
layout
[
f
->
id
()]
=
idx
;
idx
++
;
}
for
(
auto
f
=
faces_begin
();
f
!=
faces_end
();
f
++
)
{
...
...
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