Skip to content

Commit

Permalink
Noted issue
Browse files Browse the repository at this point in the history
Co-Authored-By: Dragorn421 <[email protected]>
  • Loading branch information
Lilaa3 and Dragorn421 committed Oct 9, 2024
1 parent e61d16e commit 2b49d6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fast64_internal/f3d/f3d_material.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
Expand Down
2 changes: 1 addition & 1 deletion fast64_internal/f3d/f3d_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2b49d6d

Please sign in to comment.