Blender Git Commit Log

Git Commits -> Revision de491ab

Revision de491ab by Bastien Montagne (master)
December 7, 2018, 17:55 (GMT)
Fix modifiers evaluation outside of depsgraph/CoW context.

Fix T58237: Exporters: Curve Modifier not applied when "apply modifiers" are selected.
Fix T58856: Python: "to_mesh" broken in 2.8.

...And many other cases... ;)

Thing is, we need target IDs to always be evaluated ones (at least I
cannot see any case where having orig ones is desired effect here).
Depsgraph/Cow system ensures us that when modifiers are evaluated by it,
but they can also be called outside of this context, e.g. when doing
binding, or object conversion...

So we need to ensure in modifiers code that we actually are always
working with eval data for those targets.

Note that I did not touch to physics modifiers, those are a bit touchy
and rather not 'fix' something there until proven broken!

Commit Details:

Full Hash: de491abf996281785391b18b3547d1bff305355f
Parent Commit: 38ef3d6
Lines Changed: +210, -140

27 Modified Paths:

/source/blender/blenkernel/BKE_shrinkwrap.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+16, -9) (Diff)
/source/blender/modifiers/intern/MOD_armature.c (+8, -6) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+16, -13) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_cast.c (+12, -8) (Diff)
/source/blender/modifiers/intern/MOD_curve.c (+3, -1) (Diff)
/source/blender/modifiers/intern/MOD_datatransfer.c (+5, -3) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+11, -9) (Diff)
/source/blender/modifiers/intern/MOD_hook.c (+10, -6) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+3, -1) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+2, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshdeform.c (+6, -4) (Diff)
/source/blender/modifiers/intern/MOD_mirror.c (+14, -10) (Diff)
/source/blender/modifiers/intern/MOD_normal_edit.c (+18, -9) (Diff)
/source/blender/modifiers/intern/MOD_screw.c (+9, -6) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+8, -5) (Diff)
/source/blender/modifiers/intern/MOD_surfacedeform.c (+6, -3) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+13, -6) (Diff)
/source/blender/modifiers/intern/MOD_util.h (+3, -2) (Diff)
/source/blender/modifiers/intern/MOD_uvproject.c (+9, -5) (Diff)
/source/blender/modifiers/intern/MOD_uvwarp.c (+4, -2) (Diff)
/source/blender/modifiers/intern/MOD_warp.c (+7, -7) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+13, -12) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_weightvg_util.c (+5, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021