[Bf-blender-cvs] [102c3311465] blender2.8: Fix RNA LayerCollectionEngineSettingsClay not inheriting from LayerCollectionSettings.

Bastien Montagne noreply at git.blender.org
Thu Apr 13 12:18:56 CEST 2017


Commit: 102c33114655c14ed1e84a2fc90c2d0690e188c6
Author: Bastien Montagne
Date:   Thu Apr 13 12:16:32 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB102c33114655c14ed1e84a2fc90c2d0690e188c6

Fix RNA LayerCollectionEngineSettingsClay not inheriting from LayerCollectionSettings.

Was hence missing the 'name' property, which broke the 'dict-like'
behavior of Scene.collection_properties.

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

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 29bc5baab69..ded73586293 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -5899,7 +5899,7 @@ static void rna_def_layer_collection_engine_settings_clay(BlenderRNA *brna)
 	    {0, NULL, 0, NULL, NULL}
 	};
 
-	srna = RNA_def_struct(brna, "LayerCollectionEngineSettingsClay", NULL);
+	srna = RNA_def_struct(brna, "LayerCollectionEngineSettingsClay", "LayerCollectionSettings");
 	RNA_def_struct_ui_text(srna, "Collections Clay Engine Settings", "Engine specific settings for this collection");
 
 	RNA_define_verify_sdna(0); /* not in sdna */




More information about the Bf-blender-cvs mailing list