RNA
[blender-staging.git] / source / blender / makesrna / intern / rna_scene.c
index 217a32ecd8480745307659151dc37e68cd2aa053..2a42f7107bcddd4c75d7ddb844bcc35b5f43628d 100644 (file)
@@ -64,9 +64,7 @@ void RNA_def_scene(BlenderRNA *brna)
        static EnumPropertyItem prop_mode_items[] = {{PROP_SMOOTH, "SMOOTH", "Smooth"}, {PROP_SPHERE, "SPHERE", "Sphere"}, {PROP_ROOT, "ROOT", "Root"}, {PROP_SHARP, "SHARP", "Sharp"}, {PROP_LIN, "LINEAR", "Linear"}, {PROP_CONST, "CONSTANT", "Constant"}, {PROP_RANDOM, "RANDOM", "Random"}, {0, NULL, NULL}};
        static EnumPropertyItem unwrapper_items[] = {{0, "CONFORMAL", "Conformal"}, {1, "ANGLEBASED", "Angle Based"},  {0, NULL, NULL}};
        
-       srna= RNA_def_struct(brna, "Scene", "Scene");
-
-       RNA_def_ID(srna);
+       srna= RNA_def_struct(brna, "Scene", "ID", "Scene");
 
        prop= RNA_def_property(srna, "camera", PROP_POINTER, PROP_NONE);
        RNA_def_property_ui_text(prop, "Active Camera", "Active camera used for rendering the scene.");