diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-05-21 09:02:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-05-21 09:23:42 +0300 |
commit | aa6f0f3d1fddb276391f384d0a69e509c927341f (patch) | |
tree | 68100a978a2b9d80e62a8aacc68af46504976070 /release/scripts/startup/nodeitems_builtins.py | |
parent | 12a91f7f5da52f7e361904005ffc8a46f234f05d (diff) |
Depsgraph: remove mesh edit-mode pointer duplication
Share the pointer with the original mesh instead, this matches behavior
of all other objects edit-mode data.
Duplicating the edit-mesh pointer makes updates to edit-mesh require
a COPY_ON_WRITE update, which is currently an expensive operation
(copying the entire mesh).
Notes:
- This change is from 802027f3f8f9a83a77134a2b104a25ff3a4ac013
so the edit-meshes object pointer `BMEditMesh.ob` referenced the COW
version of the object. This pointer has since been removed, so the
copy is no longer needed.
- Having a separate edit-mesh pointer could be used so linked duplicates
could have their own generated meshes. For this to be supported,
many other changes would be needed: see D10920.
Diffstat (limited to 'release/scripts/startup/nodeitems_builtins.py')
0 files changed, 0 insertions, 0 deletions