From 2b49d6d52bd69f2faca7068014b44d1c926af9b9 Mon Sep 17 00:00:00 2001 From: Lila Date: Wed, 9 Oct 2024 13:35:38 +0100 Subject: [PATCH] Noted issue Co-Authored-By: Dragorn421 --- fast64_internal/f3d/f3d_material.py | 2 +- fast64_internal/f3d/f3d_writer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fast64_internal/f3d/f3d_material.py b/fast64_internal/f3d/f3d_material.py index abe987bcb..abd64f250 100644 --- a/fast64_internal/f3d/f3d_material.py +++ b/fast64_internal/f3d/f3d_material.py @@ -573,7 +573,7 @@ def indentGroup(parent: UILayout, textOrProp: Union[str, "F3DMaterialProperty"], c = indentGroup(inputGroup, "Not useful:", True) c.prop(settings, "g_lod") - if f3d.F3DEX_GBI: + if f3d.F3DLP_GBI: c.prop(settings, "g_clipping") elif f3d.F3DEX_GBI_3: c.prop(settings, "g_lighting_positional", text="Positional Lighting (Always enabled in EX3)") diff --git a/fast64_internal/f3d/f3d_writer.py b/fast64_internal/f3d/f3d_writer.py index 7fa6842bf..fe9ee7eb9 100644 --- a/fast64_internal/f3d/f3d_writer.py +++ b/fast64_internal/f3d/f3d_writer.py @@ -1627,7 +1627,7 @@ def saveGeoModeCommon(saveFunc: Callable, settings: RDPSettings, defaults: RDPSe saveFunc(settings.g_tex_gen_linear, defaults.g_tex_gen_linear, "G_TEXTURE_GEN_LINEAR", *args) saveFunc(settings.g_lod, defaults.g_lod, "G_LOD", *args) saveFunc(settings.g_shade_smooth, defaults.g_shade_smooth, "G_SHADING_SMOOTH", *args) - if f3d.F3DEX_GBI: + if f3d.F3DLP_GBI: saveFunc(settings.g_clipping, defaults.g_clipping, "G_CLIPPING", *args) if f3d.POINT_LIT_GBI: saveFunc(settings.g_lighting_positional, defaults.g_lighting_positional, "G_LIGHTING_POSITIONAL", *args)