Page MenuHome

Experimental patch to split evaluated meshes out of edit-mesh
AbandonedPublic

Authored by Campbell Barton (campbellbarton) on Apr 8 2021, 2:42 AM.

Details

Reviewers
None
Summary

To properly support multiple objects in edit-mode, we will have to move evaluation data data out of the shared EditMesh structure. See T85974: Edit-mode undo/redo causes assertion.

Note that to properly support this we'll have to remove EditMeshData isn't thread save.

This patch could be extended to do this, in the short term it's simplest to disallow multiple objects sharing data to be in edit-mode at the same time.

Diff Detail

Repository
rB Blender
Branch
TEMP-T86767-FIX (branched from master)
Build Status
Buildable 13944
Build 13944: arc lint + arc unit

Event Timeline

Campbell Barton (campbellbarton) requested review of this revision.Apr 8 2021, 2:42 AM
Campbell Barton (campbellbarton) created this revision.
  • Move evaluation data into EditMeshEval struct

    Do this since EditMeshData is often on the final/cage meshes but not the 'ob_eval->data' where which uses this struct.

Correct comment.