Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElia Sarti <vekoon@gmail.com>2010-01-24 14:02:43 +0300
committerElia Sarti <vekoon@gmail.com>2010-01-24 14:02:43 +0300
commit0fadd5052a026dc2c64b9e01eee86da1f8f96d48 (patch)
treeaae745dce2e2be7a7dbdb3de6e4905751f6a36b5 /source/blender/makesrna/intern/rna_rna.c
parent9733e902a51e5b6ea42ea9ff28569b36ce9a307e (diff)
Forgot this (rename use_return to use_output)
Diffstat (limited to 'source/blender/makesrna/intern/rna_rna.c')
-rw-r--r--source/blender/makesrna/intern/rna_rna.c8
1 files changed, 4 insertions, 4 deletions
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);