Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021