projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for numeric var types creating an error.
[blender.git]
/
release
/
scripts
/
bpymodules
/
BPyTextPlugin.py
diff --git
a/release/scripts/bpymodules/BPyTextPlugin.py
b/release/scripts/bpymodules/BPyTextPlugin.py
index e7c181387ddade5c4bfa7cf7af8498e25101a0f2..5e38725b75fda6083bd7e23c8de8cbbe7aa6c80f 100644
(file)
--- 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: