[Bf-blender-cvs] [a47235f5fd] blender2.8: Add note to RNA about layer/engine macros

Dalai Felinto noreply at git.blender.org
Wed Feb 15 18:12:45 CET 2017


Commit: a47235f5fd5e72a32bb42b025300ea2c2c8f205f
Author: Dalai Felinto
Date:   Wed Feb 15 18:11:52 2017 +0100
Branches: blender2.8
https://developer.blender.org/rBa47235f5fd5e72a32bb42b025300ea2c2c8f205f

Add note to RNA about layer/engine macros

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

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 d0ee8a0259..eaa11b04ef 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -5984,6 +5984,8 @@ static void rna_def_layer_collection_mode_settings_object(BlenderRNA *brna)
 	RNA_def_struct_sdna(srna, "CollectionEngineSettings");
 	RNA_def_struct_ui_text(srna, "Collections Object Mode Settings", "Object Mode specific settings for this collection");
 
+	/* see RNA_LAYER_ENGINE_GET_SET macro */
+
 	prop = RNA_def_property(srna, "foo", PROP_INT, PROP_NONE);
 	RNA_def_property_ui_text(prop, "Foo", "");
 	RNA_def_property_int_funcs(prop, "rna_LayerEngineSettings_ObjectMode_foo_get", "rna_LayerEngineSettings_ObjectMode_foo_set", NULL);
@@ -6002,6 +6004,8 @@ static void rna_def_layer_collection_mode_settings_edit(BlenderRNA *brna)
 	RNA_def_struct_sdna(srna, "CollectionEngineSettings");
 	RNA_def_struct_ui_text(srna, "Collections Edit Mode Settings", "Edit Mode specific settings for this collection");
 
+	/* see RNA_LAYER_ENGINE_GET_SET macro */
+
 	prop = RNA_def_property(srna, "bar", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_ui_text(prop, "Bar Object Setting", "Temporary settings");
 	RNA_def_property_float_funcs(prop, "rna_LayerEngineSettings_EditMode_bar_get", "rna_LayerEngineSettings_EditMode_bar_set", NULL);




More information about the Bf-blender-cvs mailing list