diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-11 18:10:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-11 18:10:02 +0400 |
commit | a0a99e4a4d90ea4226b29d97ee83b02e4e439156 (patch) | |
tree | 32ce4c8b8b9220181dd6a0ee26b2c68e44e83b0d /source/blender/makesrna/intern/rna_text.c | |
parent | e0bada19f97a45a22df838f79a9089811bd6880d (diff) |
[#22554] Register option on Texts doesn't work anymore
there were no hints that '.py' extension is needed, added tooltip.
Diffstat (limited to 'source/blender/makesrna/intern/rna_text.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_text.c b/source/blender/makesrna/intern/rna_text.c index ccd3b432163..d8651e5d05d 100644 --- a/source/blender/makesrna/intern/rna_text.c +++ b/source/blender/makesrna/intern/rna_text.c @@ -195,7 +195,7 @@ static void rna_def_text(BlenderRNA *brna) prop= RNA_def_property(srna, "use_module", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flags", TXT_ISSCRIPT); - RNA_def_property_ui_text(prop, "Register", "Register this text as a module on loading"); + RNA_def_property_ui_text(prop, "Register", "Register this text as a module on loading, Text name must end with \".py\""); prop= RNA_def_property(srna, "tabs_as_spaces", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flags", TXT_TABSTOSPACES); |