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
OpenMesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
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
OpenMesh
OpenMesh
Commits
ad950d46
Commit
ad950d46
authored
Jun 27, 2017
by
Martin Schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made the face and edge split operations that copy properties also copy
builtin properties
parent
4826d46c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/OpenMesh/Core/Mesh/PolyConnectivity.cc
src/OpenMesh/Core/Mesh/PolyConnectivity.cc
+2
-2
No files found.
src/OpenMesh/Core/Mesh/PolyConnectivity.cc
View file @
ad950d46
...
...
@@ -1130,7 +1130,7 @@ void PolyConnectivity::split_copy(FaceHandle fh, VertexHandle vh) {
// Copy the property of the original face to all new faces
for
(
VertexFaceIter
vf_it
=
vf_iter
(
vh
);
vf_it
.
is_valid
();
++
vf_it
)
copy_all_properties
(
fh
,
*
vf_it
);
copy_all_properties
(
fh
,
*
vf_it
,
true
);
}
//-----------------------------------------------------------------------------
...
...
@@ -1226,7 +1226,7 @@ void PolyConnectivity::split_edge_copy(EdgeHandle _eh, VertexHandle _vh)
EdgeHandle
eh0
=
edge_handle
(
next_halfedge_handle
(
halfedge_handle
(
_eh
,
1
)
)
);
// Copy the property from the original to the new edge
copy_all_properties
(
_eh
,
eh0
);
copy_all_properties
(
_eh
,
eh0
,
true
);
}
}
// namespace OpenMesh
...
...
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