From 3a62928777ab033373206fb57b489668aabfe932 Mon Sep 17 00:00:00 2001 From: Ian Thompson Date: Sun, 17 Aug 2008 10:08:38 +0000 Subject: Fix for numeric var types creating an error. --- release/scripts/bpymodules/BPyTextPlugin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'release') 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: -- cgit v1.2.3