move in a blender folder

This commit is contained in:
coco875
2024-03-05 08:17:27 +01:00
parent df1fb56d7e
commit 8cf6d14592
7 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -10,6 +10,6 @@
[submodule "doxygen-awesome-css"]
path = doxygen-awesome-css
url = https://github.com/jothepro/doxygen-awesome-css.git
[submodule "tools/fast64"]
path = tools/fast64
[submodule "tools/blender/fast64"]
path = tools/blender/fast64
url = https://github.com/Fast-64/fast64.git
@@ -1,13 +1,13 @@
import bpy
import os
import sys
sys.path.append('tools')
sys.path.append('tools/blender')
import fast64
from fast64.fast64_internal.f3d.f3d_gbi import get_F3D_GBI
from fast64.fast64_internal.f3d.f3d_material import createF3DMat
from fast64.fast64_internal.f3d.f3d_parser import F3DContext, getImportData, importMeshC
from blender_extension.clean_scene import clean_scene
from clean_scene import clean_scene
dir_path = os.path.dirname(os.path.realpath(__file__))
dir_path = dir_path.replace("\\", "/")
@@ -11,7 +11,7 @@ args = parser.parse_args()
if not os.path.exists("models"):
os.makedirs("models")
models:list[dict[str, str|list[str]]] = json.load(open("tools/3d_models.json"))
models:list[dict[str, str|list[str]]] = json.load(open("tools/blender/3d_models.json"))
if os.name == "nt":
blender = "c:/Program Files/Blender Foundation/Blender 4.0/blender.exe"
@@ -21,7 +21,7 @@ else:
args_blender = [
"--background",
"--python",
"tools/blender_extension/blender_export.py",
"tools/blender/blender_export.py",
"--",
]
Submodule tools/fast64 deleted from 4e77d46cb1