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:
authorIan Thompson <quornian@googlemail.com>2008-08-17 14:08:38 +0400
committerIan Thompson <quornian@googlemail.com>2008-08-17 14:08:38 +0400
commit3a62928777ab033373206fb57b489668aabfe932 (patch)
treef246f2ab4ca3edabce908d4d5e412822cddf2724 /release
parent5c2015fa89ef658b9e624c746f0bb61ee78ea932 (diff)
Fix for numeric var types creating an error.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/bpymodules/BPyTextPlugin.py1
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: