[Bf-blender-cvs] [a8ce1c98fe] clay-engine: Set COLLECTION_PROP_USE when setting a layer_engine_settings property
Dalai Felinto
noreply at git.blender.org
Fri Feb 3 12:26:56 CET 2017
Commit: a8ce1c98fe66bce5a65a5e470bce27977898bc4d
Author: Dalai Felinto
Date: Fri Feb 3 12:07:55 2017 +0100
Branches: clay-engine
https://developer.blender.org/rBa8ce1c98fe66bce5a65a5e470bce27977898bc4d
Set COLLECTION_PROP_USE when setting a layer_engine_settings property
We still need depsgraph to evaluate those changes
===================================================================
M source/blender/makesrna/intern/rna_scene.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 318d465bf7..17f8bdefb8 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2390,6 +2390,7 @@ static void rna_LayerEngineSettings_##_NAME_##_set(PointerRNA *ptr, _TYPE_ value
\
_CLASS_ *prop = (_CLASS_ *)BKE_collection_engine_property_get(ces, #_NAME_); \
BLI_assert(prop); \
+ prop->data.flag |= COLLECTION_PROP_USE; \
\
prop->value = value; \
}
More information about the Bf-blender-cvs
mailing list