diff options
author | Owl <isaclien9752@gmail.com> | 2025-08-28 18:38:44 -0400 |
---|---|---|
committer | Owl <isaclien9752@gmail.com> | 2025-08-28 18:38:44 -0400 |
commit | 022c1f7529a364929b9595a80229cb5bf95b43fe (patch) | |
tree | d65c329ac925d164e694ae1437953998b6a024c5 /__init__.py | |
parent | f4ff299e4e073b71495a3e2a385fa96d65fb6f80 (diff) | |
download | blenxy-022c1f7529a364929b9595a80229cb5bf95b43fe.tar.gz blenxy-022c1f7529a364929b9595a80229cb5bf95b43fe.zip |
fixed a few things with rotations/superbmd collada exporting
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/__init__.py b/__init__.py index 3eebb3f..7379f82 100644 --- a/__init__.py +++ b/__init__.py @@ -23,13 +23,13 @@ def new_mod_check(mod_names): # skip numpy if the numpy_bad folder was created if (mod_name == "numpy"): for path in site.getsitepackages(): - if ("2.79" in path): - numpy_path = path + "/numpy" - numpy_bad_path = path + "/numpy_bad" - # rename the existing numpy folder to numpy bad and install newer numpy - if (file_ops.f_exists(numpy_bad_path) == False): - file_ops.rename(numpy_path, numpy_bad_path) - rtn.append("numpy") + numpy_path = path + "/numpy" + numpy_bad_path = path + "/numpy_bad" + # rename the existing numpy folder to numpy bad and install newer numpy + if (("2.79" in path) and ("site-packages" in path) + and (file_ops.f_exists(numpy_bad_path) == False)): + file_ops.rename(numpy_path, numpy_bad_path) + rtn.append("numpy") break continue |