[Bf-blender-cvs] [f24f70b1625] master: Fix (unreported) missing Scene's GPencil pointer handling in library_query...

Bastien Montagne noreply at git.blender.org
Tue Jun 25 21:18:39 CEST 2019


Commit: f24f70b16252c09507e2ce41391935472ea1b8f0
Author: Bastien Montagne
Date:   Tue Jun 25 21:17:29 2019 +0200
Branches: master
https://developer.blender.org/rBf24f70b16252c09507e2ce41391935472ea1b8f0

Fix (unreported) missing Scene's GPencil pointer handling in library_query...

===================================================================

M	source/blender/blenkernel/intern/library_query.c

===================================================================

diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c
index 8bbc0bb8ae1..691ef4a4dba 100644
--- a/source/blender/blenkernel/intern/library_query.c
+++ b/source/blender/blenkernel/intern/library_query.c
@@ -456,6 +456,7 @@ static void library_foreach_ID_link(Main *bmain,
         CALLBACK_INVOKE(scene->world, IDWALK_CB_USER);
         CALLBACK_INVOKE(scene->set, IDWALK_CB_NEVER_SELF);
         CALLBACK_INVOKE(scene->clip, IDWALK_CB_USER);
+        CALLBACK_INVOKE(scene->gpd, IDWALK_CB_USER);
         CALLBACK_INVOKE(scene->r.bake.cage_object, IDWALK_CB_NOP);
         if (scene->nodetree) {
           /* nodetree **are owned by IDs**, treat them as mere sub-data and not real ID! */



More information about the Bf-blender-cvs mailing list