diff options
author | Hans Goudey <h.goudey@me.com> | 2022-11-04 22:19:52 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-11-04 22:19:52 +0300 |
commit | 10131a6f6238e259ce6732497e6eb045290ad3a3 (patch) | |
tree | 5d5bff3ce75aef97e7d718986332de10359833a0 /source/blender/io/collada/MeshImporter.cpp | |
parent | 85ce4882981943b5a306090f03482bd5397c503d (diff) |
Cleanup: Mesh: Remove redundant edge render flag
Currently there are both "EDGERENDER" and "EDGEDRAW" flags, which are
almost always used together. Both are runtime data and not exposed to
RNA, used to skip drawing some edges after the subdivision surface
modifier. The render flag is a relic of the Blender internal renderer.
This commit removes the render flag and replaces its uses with the
draw flag.
Diffstat (limited to 'source/blender/io/collada/MeshImporter.cpp')
-rw-r--r-- | source/blender/io/collada/MeshImporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/MeshImporter.cpp b/source/blender/io/collada/MeshImporter.cpp index 6d7593afb8b..1a28adf50a5 100644 --- a/source/blender/io/collada/MeshImporter.cpp +++ b/source/blender/io/collada/MeshImporter.cpp @@ -564,7 +564,7 @@ void MeshImporter::mesh_add_edges(Mesh *mesh, int len) /* set default flags */ medge = &edges[mesh->totedge]; for (int i = 0; i < len; i++, medge++) { - medge->flag = ME_EDGEDRAW | ME_EDGERENDER; + medge->flag = ME_EDGEDRAW; } mesh->totedge = totedge; |