Page MenuHome

WIP: Move evaluated mesh in edit mode from editmesh to mesh->runtime
AbandonedPublic

Authored by Sergey Sharybin (sergey) on Jan 12 2022, 11:46 AM.

Details

Reviewers
None
Summary

Avoids material ID pointers shared across different dependency graphs
causing ownership issues.

The downside of the current implementation is that when multiple
objects are sharing the same mesh they don't show same edit mesh and
cage while editing.

P.S. The cage mesh bounding box should in theory also be moved but
currently it is not causing issues and there is no clarity of where
we will move from here, so didn't want to spend time on it yet.

Diff Detail

Repository
rB Blender
Branch
fix_T93855_experiment_mesh (branched from master)
Build Status
Buildable 19931
Build 19931: arc lint + arc unit

Event Timeline

Sergey Sharybin (sergey) requested review of this revision.Jan 12 2022, 11:46 AM
Sergey Sharybin (sergey) created this revision.

Since it was more of an experiment and some PoC code to simplify discussion abandoning this version.
The evaluated result should be on Object level as it is affected by object's modifiers.