Blender Git Loki

Git Commits -> Revision 42980ab

Revision 42980ab by Philipp Oeser (master)
November 6, 2020, 16:25 (GMT)
Fix T81997: Subsurf Optimal Display sticks after object conversion

When using Optimal Display, some edges are not flagged `ME_EDGEDRAW` |
`ME_EDGERENDER`.
When the modifier is applied through the UI in the modifier stack this is
not an issue because the `modifyMesh` callback is run with
`MOD_APPLY_TO_BASE_MESH` (this will effectively turn of Optimal
Display).
When converting to mesh though, this will just get an evaluated mesh
(where the edge flags are still the same as with the subdivision
modifier).
Now ensure every edge is flagged to draw after conversion.

Maniphest Tasks: T81997

Differential Revision: https://developer.blender.org/D9331

Commit Details:

Full Hash: 42980abf8d0d126b0f472601cc47a3929217e394
Parent Commit: 1019df8
Lines Changed: +13, -0

3 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+8, -0) (Diff)
/source/blender/editors/object/object_add.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021