From 0fadd5052a026dc2c64b9e01eee86da1f8f96d48 Mon Sep 17 00:00:00 2001 From: Elia Sarti Date: Sun, 24 Jan 2010 11:02:43 +0000 Subject: Forgot this (rename use_return to use_output) --- source/blender/makesrna/intern/rna_rna.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/makesrna/intern/rna_rna.c') diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c index d917d553fed..7de418108ed 100644 --- a/source/blender/makesrna/intern/rna_rna.c +++ b/source/blender/makesrna/intern/rna_rna.c @@ -436,7 +436,7 @@ static int rna_Property_readonly_get(PointerRNA *ptr) return prop->flag & PROP_EDITABLE ? 0:1; } -static int rna_Property_use_return_get(PointerRNA *ptr) +static int rna_Property_use_output_get(PointerRNA *ptr) { PropertyRNA *prop= (PropertyRNA*)ptr->data; return prop->flag & PROP_OUTPUT ? 1:0; @@ -997,10 +997,10 @@ static void rna_def_property(BlenderRNA *brna) RNA_def_property_boolean_funcs(prop, "rna_Property_is_never_none_get", NULL); RNA_def_property_ui_text(prop, "Never None", "True when this value can't be set to None."); - prop= RNA_def_property(srna, "use_return", PROP_BOOLEAN, PROP_NONE); + prop= RNA_def_property(srna, "use_output", PROP_BOOLEAN, PROP_NONE); RNA_def_property_clear_flag(prop, PROP_EDITABLE); - RNA_def_property_boolean_funcs(prop, "rna_Property_use_return_get", NULL); - RNA_def_property_ui_text(prop, "Return", "True when this property is a return value from an rna function."); + RNA_def_property_boolean_funcs(prop, "rna_Property_use_output_get", NULL); + RNA_def_property_ui_text(prop, "Return", "True when this property is an output value from an rna function."); prop= RNA_def_property(srna, "registered", PROP_BOOLEAN, PROP_NONE); RNA_def_property_clear_flag(prop, PROP_EDITABLE); -- cgit v1.2.3