[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30601] branches/soc-2008-mxcurioni/source /blender/makesrna/intern/rna_linestyle.c: Made the Target object editable in the Distance from Object modifiers.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Thu Jul 22 01:08:10 CEST 2010


Revision: 30601
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30601
Author:   kjym3
Date:     2010-07-22 01:08:10 +0200 (Thu, 22 Jul 2010)

Log Message:
-----------
Made the Target object editable in the Distance from Object modifiers.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c

Modified: branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c	2010-07-21 22:57:48 UTC (rev 30600)
+++ branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c	2010-07-21 23:08:10 UTC (rev 30601)
@@ -302,6 +302,7 @@
 	prop= RNA_def_property(srna, "target", PROP_POINTER, PROP_NONE);
 	RNA_def_property_pointer_sdna(prop, NULL, "target");
 	RNA_def_property_struct_type(prop, "Object");
+	RNA_def_property_flag(prop, PROP_EDITABLE);
 	RNA_def_property_ui_text(prop, "Target", "Target object from which the distance is measured.");
 	RNA_def_property_update(prop, NC_SCENE, NULL);
 
@@ -330,6 +331,7 @@
 	prop= RNA_def_property(srna, "target", PROP_POINTER, PROP_NONE);
 	RNA_def_property_pointer_sdna(prop, NULL, "target");
 	RNA_def_property_struct_type(prop, "Object");
+	RNA_def_property_flag(prop, PROP_EDITABLE);
 	RNA_def_property_ui_text(prop, "Target", "Target object from which the distance is measured.");
 	RNA_def_property_update(prop, NC_SCENE, NULL);
 
@@ -358,6 +360,7 @@
 	prop= RNA_def_property(srna, "target", PROP_POINTER, PROP_NONE);
 	RNA_def_property_pointer_sdna(prop, NULL, "target");
 	RNA_def_property_struct_type(prop, "Object");
+	RNA_def_property_flag(prop, PROP_EDITABLE);
 	RNA_def_property_ui_text(prop, "Target", "Target object from which the distance is measured.");
 	RNA_def_property_update(prop, NC_SCENE, NULL);
 





More information about the Bf-blender-cvs mailing list