Revision: 27825
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27825
Author:   campbellbarton
Date:     2010-03-29 09:57:21 +0200 (Mon, 29 Mar 2010)

Log Message:
-----------
some cases of struct name being set where it shouldnt have been.

Modified Paths:
--------------
    branches/render25/source/blender/makesrna/intern/rna_scene.c
    branches/render25/source/blender/makesrna/intern/rna_space.c

Modified: branches/render25/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- branches/render25/source/blender/makesrna/intern/rna_scene.c        
2010-03-29 07:15:51 UTC (rev 27824)
+++ branches/render25/source/blender/makesrna/intern/rna_scene.c        
2010-03-29 07:57:21 UTC (rev 27825)
@@ -2343,7 +2343,6 @@
        prop= RNA_def_property(srna, "file_extension", PROP_STRING, PROP_NONE);
        RNA_def_property_string_funcs(prop, "rna_SceneRender_file_ext_get", 
"rna_SceneRender_file_ext_length", NULL);
        RNA_def_property_ui_text(prop, "Extension", "The file extension used 
for saving renders");
-       RNA_def_struct_name_property(srna, prop);
        RNA_def_property_clear_flag(prop, PROP_EDITABLE);
 
        prop= RNA_def_property(srna, "is_movie_format", PROP_BOOLEAN, 
PROP_NONE);

Modified: branches/render25/source/blender/makesrna/intern/rna_space.c
===================================================================
--- branches/render25/source/blender/makesrna/intern/rna_space.c        
2010-03-29 07:15:51 UTC (rev 27824)
+++ branches/render25/source/blender/makesrna/intern/rna_space.c        
2010-03-29 07:57:21 UTC (rev 27825)
@@ -1812,15 +1812,11 @@
        RNA_def_property_ui_text(prop, "Show Error", "Display error text");
        RNA_def_property_update(prop, NC_SPACE|ND_SPACE_CONSOLE_REPORT, NULL);
 
-       
-       
        prop= RNA_def_property(srna, "prompt", PROP_STRING, PROP_NONE);
        RNA_def_property_ui_text(prop, "Prompt", "Command line prompt");
-       RNA_def_struct_name_property(srna, prop);
        
        prop= RNA_def_property(srna, "language", PROP_STRING, PROP_NONE);
        RNA_def_property_ui_text(prop, "Language", "Command line prompt 
language");
-       RNA_def_struct_name_property(srna, prop);
 
        prop= RNA_def_property(srna, "history", PROP_COLLECTION, PROP_NONE);
        RNA_def_property_collection_sdna(prop, NULL, "history", NULL);


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to