From 022c1f7529a364929b9595a80229cb5bf95b43fe Mon Sep 17 00:00:00 2001 From: Owl Date: Thu, 28 Aug 2025 18:38:44 -0400 Subject: fixed a few things with rotations/superbmd collada exporting --- __init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '__init__.py') 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 -- cgit v1.2.3-70-g09d2