diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-07-22 03:08:10 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-07-22 03:08:10 +0400 |
commit | 876351b466b18db53cdf0cea97cdb47938e53423 (patch) | |
tree | 96036d00904df067a0b4d9bd4f969d2bc69854a9 /source/blender/makesrna/intern/rna_linestyle.c | |
parent | 8cdb241be0f5b7ac94223d062993c889262c6bce (diff) |
Made the Target object editable in the Distance from Object modifiers.
Diffstat (limited to 'source/blender/makesrna/intern/rna_linestyle.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_linestyle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c index f3846c797f3..fba49a57aed 100644 --- a/source/blender/makesrna/intern/rna_linestyle.c +++ b/source/blender/makesrna/intern/rna_linestyle.c @@ -302,6 +302,7 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna) 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 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna) 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 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna) 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); |