|
5 | 5 | from pathlib import Path |
6 | 6 | from ..mm_f3d_gbi import DLFormat, FMesh, TextureExportSettings, ScrollMethod, get_F3D_GBI |
7 | 7 | from ..mm_f3d_writer import getInfoDict |
8 | | -from .. import mm_f3d_writer |
| 8 | +from .. import mm_z64_f3d_writer |
9 | 9 | from ....z64.model_classes import OOTModel, OOTGfxFormatter |
10 | 10 | from ....game_data import game_data |
11 | 11 | from ....z64.skeleton.properties import OOTSkeletonExportSettings |
@@ -89,7 +89,7 @@ def ootProcessBone( |
89 | 89 | mesh = None |
90 | 90 | hasSkinnedFaces = None |
91 | 91 | else: |
92 | | - mesh, hasSkinnedFaces, lastMaterialName = mm_f3d_writer.ootProcessVertexGroup( |
| 92 | + mesh, hasSkinnedFaces, lastMaterialName = mm_z64_f3d_writer.ootProcessVertexGroup( |
93 | 93 | fModel, |
94 | 94 | meshObj, |
95 | 95 | boneName, |
@@ -332,14 +332,14 @@ def ootConvertArmatureToC( |
332 | 332 | data.append(skeletonC) |
333 | 333 |
|
334 | 334 | if isCustomExport: |
335 | | - textureArrayData = mm_f3d_writer.writeTextureArraysNew(fModel, flipbookArrayIndex2D) |
| 335 | + textureArrayData = mm_z64_f3d_writer.writeTextureArraysNew(fModel, flipbookArrayIndex2D) |
336 | 336 | data.append(textureArrayData) |
337 | 337 |
|
338 | 338 | data.header += "\n#endif\n" |
339 | 339 | writeCData(data, os.path.join(path, filename + ".h"), os.path.join(path, filename + ".c")) |
340 | 340 |
|
341 | 341 | if not isCustomExport: |
342 | | - mm_f3d_writer.writeTextureArraysExisting( |
| 342 | + mm_z64_f3d_writer.writeTextureArraysExisting( |
343 | 343 | bpy.context.scene.ootDecompPath, overlayName, isLink, flipbookArrayIndex2D, fModel |
344 | 344 | ) |
345 | 345 | addIncludeFiles(folderName, path, filename) |
|
0 commit comments