diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-30 16:38:47 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-30 16:38:47 +0300 |
commit | be6b526d00d81a09a2e385b9ebf6bf5f002dee75 (patch) | |
tree | e91bf0796858d87a99ecaebc4728f6134f2df89d /io_scene_obj | |
parent | e6a5a2a679b3502505810ddb72423ab9f3098fee (diff) | |
parent | 4b91309b122bcdcddd1854b1137407b2c4f55c7e (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'io_scene_obj')
-rw-r--r-- | io_scene_obj/import_obj.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 7ca22160..f3e16fcf 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -109,7 +109,7 @@ def create_materials(filepath, relpath, curr_token = [] for token in img_data[:-1]: - if token.startswith(b'-'): + if token.startswith(b'-') and token[1:].isalpha(): if curr_token: map_options[curr_token[0]] = curr_token[1:] curr_token[:] = [] |