Blender Git Commit Log

Git Commits -> Revision 7b9595d

November 8, 2017, 00:22 (GMT)
Fix: Added some more tags/relations in depsgraph to fix crashes when Onion Skinning is enabled

* id_tag_update_object_data() - Added a case for the GP datablock type
so that depsgraph tagging via the GPencil datablock's RNA properties
works. Previously, only the object.data case (i.e. modifiers) was handled.
This fixes a crash when enabling onion skinning, and a ghost can be shown
on the neighbouring frames.

* DepsgraphRelationBuilder::build_obdata_geom() - Added a relation between
timesource and GP geometry (i.e. where cache rebuild occurs). This fixes
a crash after scrubbing the timeline when onion skinning is enabled
(I'm guessing due to onion skinning suddenly getting re-shown, but the cache
not doesn't contain this info due to the previously being updated for animation)

Commit Details:

Full Hash: 7b9595d366d0477431763ec0dc6f0f7d38cdcf99
Parent Commit: fa3c343
Lines Changed: +11, -0

2 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+8, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021