From: Ian Thompson Date: Sun, 17 Aug 2008 10:08:38 +0000 (+0000) Subject: Fix for numeric var types creating an error. X-Git-Tag: v2.48~546^2~10 X-Git-Url: https://git.blender.org/gitweb/gitweb.cgi/blender.git/commitdiff_plain/3a62928777ab033373206fb57b489668aabfe932 Fix for numeric var types creating an error. --- 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: