Skip to content

Commit

Permalink
fix dupe
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Sep 20, 2024
1 parent cd3853d commit 6df5efa
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions fast64_internal/f3d/glTF/f3d_gltf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
from io_scene_gltf2.blender.imp.gltf2_blender_image import BlenderImage # pylint: disable=import-error
from io_scene_gltf2.io.com.gltf2_io_constants import TextureFilter, TextureWrap # pylint: disable=import-error

MATERIAL_EXTENSION_NAME = "FAST64_materials_f3d"
MATERIAL_EXTENSION_NAME = "FAST64_materials_n64"
F3D_MATERIAL_EXTENSION_NAME = "FAST64_materials_f3d"
EX1_MATERIAL_EXTENSION_NAME = "FAST64_materials_f3dlx"
EX3_MATERIAL_EXTENSION_NAME = "FAST64_materials_f3dex3"
SAMPLER_EXTENSION_NAME = "FAST64_sampler_n64"
Expand Down Expand Up @@ -743,15 +744,6 @@ def gather_import_mesh_after_hook(self, gltf_mesh, blender_mesh, gltf):
alpha_layer.foreach_set("color", alpha_rgba)


MATERIAL_EXTENSION_NAME = "FAST64_materials_n64"
F3D_MATERIAL_EXTENSION_NAME = "FAST64_materials_f3d"
EX1_MATERIAL_EXTENSION_NAME = "FAST64_materials_f3dlx"
EX3_MATERIAL_EXTENSION_NAME = "FAST64_materials_f3dex3"
SAMPLER_EXTENSION_NAME = "FAST64_sampler_n64"
MESH_EXTENSION_NAME = "FAST64_mesh_f3d"
NEW_MESH_EXTENSION_NAME = "FAST64_mesh_f3d_new"


class F3DGlTFSettings(PropertyGroup):
use: BoolProperty(default=True, name="Export/Import F3D extensions")
use_3_2_hacks_prop: BoolProperty(
Expand Down

0 comments on commit 6df5efa

Please sign in to comment.