Refactor: Remove pre-2.8 function to reevaluate a single object #106186

Merged
Hans Goudey merged 6 commits from HooglyBoogly/blender:fix-remove-broken-reevaluate-mesh into main 2023-05-30 22:25:12 +02:00

6 Commits

Author SHA1 Message Date
Hans Goudey 02f571d24f Merge branch 'main' into fix-remove-broken-reevaluate-mesh
buildbot/vexp-code-patch-coordinator Build done. Details
2023-05-30 15:27:24 -04:00
Hans Goudey 39806d601b Add null checks, compile fixes
buildbot/vexp-code-patch-coordinator Build done. Details
2023-05-26 16:45:22 -04:00
Hans Goudey 740aac28dd Merge branch 'main' into fix-remove-broken-reevaluate-mesh 2023-05-26 16:29:17 -04:00
Hans Goudey a25ebf4774 Progress 2023-05-26 16:23:23 -04:00
Hans Goudey 4ddefe49ab Merge branch 'main' into fix-remove-broken-reevaluate-mesh 2023-05-26 16:16:49 -04:00
Hans Goudey 5d51e5f0ca Fix: Remove pre-2.8 function to reevaluate a single object
This function replaced the evaluated mesh with a new one with the given
custom data type mask. That doesn't work in general anymore for a few
reasons: the increased dependence on named attributes (a opposed to
custom data types), and the "all or nothing" approach to reevaluating
the depsgraph. Other objects might depend on the object's evaluated
geometry, so it shouldn't just be replaced.

If this causes a regression, it's likely that the object is missing
an update tag when a mode is entered that requires extra evaluated data.

Fixes #105912
2023-03-27 12:31:50 -04:00