diff options
author | Ian Thompson <quornian@googlemail.com> | 2008-08-17 14:08:38 +0400 |
---|---|---|
committer | Ian Thompson <quornian@googlemail.com> | 2008-08-17 14:08:38 +0400 |
commit | 3a62928777ab033373206fb57b489668aabfe932 (patch) | |
tree | f246f2ab4ca3edabce908d4d5e412822cddf2724 /release | |
parent | 5c2015fa89ef658b9e624c746f0bb61ee78ea932 (diff) |
Fix for numeric var types creating an error.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/bpymodules/BPyTextPlugin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/bpymodules/BPyTextPlugin.py b/release/scripts/bpymodules/BPyTextPlugin.py index e7c181387dd..5e38725b75f 100644 --- a/release/scripts/bpymodules/BPyTextPlugin.py +++ b/release/scripts/bpymodules/BPyTextPlugin.py @@ -482,6 +482,7 @@ def parse_text(txt): elif var1_step == 4: var_type = None if type == NUMBER: + close = end[1] if text.find('.') != -1: var_type = float else: var_type = int elif type == STRING: |