[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23011] branches/blender2.5/blender/source /blender/makesrna/intern/rna_space.c: Comment out line so build does not crash due to NULL pointer.

gsr b3d gsr.b3d at infernal-iceberg.com
Sat Sep 5 01:20:46 CEST 2009


Revision: 23011
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23011
Author:   gsrb3d
Date:     2009-09-05 01:20:45 +0200 (Sat, 05 Sep 2009)

Log Message:
-----------
Comment out line so build does not crash due to NULL pointer.

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_space.c

Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_space.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_space.c	2009-09-04 23:19:51 UTC (rev 23010)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_space.c	2009-09-04 23:20:45 UTC (rev 23011)
@@ -1219,7 +1219,7 @@
 	
 	srna = RNA_def_struct(brna, "ConsoleLine", NULL);
 	RNA_def_struct_ui_text(srna, "Console Input", "Input line for the interactive console.");
-	RNA_def_property_update(prop, NC_SPACE|ND_SPACE_CONSOLE, NULL);
+	// XXX using non-inited "prop", uh? RNA_def_property_update(prop, NC_SPACE|ND_SPACE_CONSOLE, NULL);
 	
 	prop= RNA_def_property(srna, "line", PROP_STRING, PROP_NONE);
 	RNA_def_property_string_funcs(prop, "rna_ConsoleLine_line_get", "rna_ConsoleLine_line_length", "rna_ConsoleLine_line_set");





More information about the Bf-blender-cvs mailing list