[Bf-blender-cvs] [1dd9396ced4] temp-dynamic-overrides: Handle library query for dynamic overrides
Dalai Felinto
noreply at git.blender.org
Thu May 10 10:45:21 CEST 2018
Commit: 1dd9396ced4cc343f8f1089794ee0e5a30100fe3
Author: Dalai Felinto
Date: Thu May 10 10:45:14 2018 +0200
Branches: temp-dynamic-overrides
https://developer.blender.org/rB1dd9396ced4cc343f8f1089794ee0e5a30100fe3
Handle library query for dynamic overrides
===================================================================
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 efc550ac64c..118c468add0 100644
--- a/source/blender/blenkernel/intern/library_query.c
+++ b/source/blender/blenkernel/intern/library_query.c
@@ -438,6 +438,21 @@ void BKE_library_foreach_ID_link(Main *bmain, ID *id, LibraryIDLinkCallback call
CALLBACK_INVOKE(fls->linestyle, IDWALK_CB_USER);
}
}
+
+ for (OverrideSet *override_set = view_layer->override_sets.first;
+ override_set != NULL;
+ override_set = override_set->next)
+ {
+ DynamicOverrideProperty *dyn_prop;
+ for (dyn_prop = override_set->scene_properties.first; dyn_prop; dyn_prop = dyn_prop->next) {
+ CALLBACK_INVOKE_ID(dyn_prop->root, IDWALK_CB_NOP);
+ CALLBACK_INVOKE_ID(dyn_prop->data.id, IDWALK_CB_NOP);
+ }
+ for (dyn_prop = override_set->collection_properties.first; dyn_prop; dyn_prop = dyn_prop->next) {
+ CALLBACK_INVOKE_ID(dyn_prop->root, IDWALK_CB_NOP);
+ CALLBACK_INVOKE_ID(dyn_prop->data.id, IDWALK_CB_NOP);
+ }
+ }
}
for (TimeMarker *marker = scene->markers.first; marker; marker = marker->next) {
More information about the Bf-blender-cvs
mailing list