From a8b204b243e3313899eb4cecc65f197fe577ced3 Mon Sep 17 00:00:00 2001 From: Anoliah <173389381+Anoliah@users.noreply.github.com> Date: Thu, 4 Dec 2025 07:59:38 -0800 Subject: [PATCH] add check before using room export logic for switch nodes --- fast64_internal/sm64/sm64_geolayout_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast64_internal/sm64/sm64_geolayout_writer.py b/fast64_internal/sm64/sm64_geolayout_writer.py index cd4d7f0a0..9f1c312bf 100644 --- a/fast64_internal/sm64/sm64_geolayout_writer.py +++ b/fast64_internal/sm64/sm64_geolayout_writer.py @@ -1347,7 +1347,7 @@ def processMesh( alphabeticalChildren = getSwitchChildren(obj) for i in range(len(alphabeticalChildren)): childObj = alphabeticalChildren[i] - if i == 0: # Outside room system + if i == 0 and addRooms: # Outside room system # TODO: Allow users to specify whether this should be rendered before or after rooms (currently, it is after) processMesh( fModel,