Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorFalk David <falkdavid@gmx.de>2022-03-03 17:48:53 +0300
committerFalk David <falkdavid@gmx.de>2022-03-03 18:01:23 +0300
commite8dc82311d1a7012adaacc93bcc5e92c0fd7adbf (patch)
tree910f6900e1d1c291af12c091d8afa907c01c39ed /intern
parent6e487228a5952ac538718e56241d8d2082baa279 (diff)
Fix T96145: GPencil eval data not updated correctly
When removing a modifier, changing the layer transform or updating the parent of a grease pencil object that has a multi-user datablock and animation data, the eval data is not updated properly (after a frame change). This can also cause memory leaks. The fix makes sure that we free and reset any runtime copy (`ob->runtime.gpd_eval`) in `BKE_gpencil_prepare_eval_data`. Note: As far as we can tell, `ob->runtime.gpd_orig` is unused and could be removed. The assignment in `BKE_gpencil_prepare_eval_data` seemed to be unnecessary. Co-authored-by: @yann-lty Reviewed By: antoniov Maniphest Tasks: T96145 Differential Revision: https://developer.blender.org/D14236
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions