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:
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: