Blender Git Loki

Git Commits -> Revision 67defe8

November 7, 2020, 10:53 (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: 67defe866bb8adaf8e702534164c8214a88de10e
Parent Commit: b6575fe
Committed By: Joseph Eagar
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