part of T57351
Details
- Reviewers
Campbell Barton (campbellbarton) - Maniphest Tasks
- T57351: Modifiers (skin, armature, hook) not drawing in editmode
Diff Detail
- Repository
- rB Blender
- Branch
- T57351 (branched from blender2.8)
- Build Status
Buildable 2281 Build 2281: arc lint + arc unit
Event Timeline
Totally unsure if this a reliable enough solution.
I guess skin is the only generative modifier that creates faces from edges, so thats why CD_ORIGINDEX usage causes problems (havent looked deeper...)?
This tests if the first polygon has a mapping to a polygon in the original mesh. It doesn't really make sense to make global decisions about how to handle the entire mesh based on the first polygon, so there must be some deeper issue.
In general modifiers can create polygons that have no mapping to any specific polygon in the original mesh.
do the check for non-mapped polygons later (not just for the first one) but allow non-mapped polys to be drawn
This looks good to me, but would wait for @Campbell Barton (campbellbarton) to review it.
There may be more tests in this file that need to be changed, but I'm not sure which ones if any.