diff --git a/Data/RenderConfig.cs b/Data/RenderConfig.cs
index bc6bfc7..984543e 100644
--- a/Data/RenderConfig.cs
+++ b/Data/RenderConfig.cs
@@ -102,14 +102,12 @@ public class AdvancedConfig
///
public bool HighResBloomCorrection { get; set; } = false;
- // === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
///
/// When true, fixes in-game and render bugs during SetFramerate events (where objects disappear on the first frame
/// or parallax/tiles lag behind) by deferring manual camera rendering to the end of the frame after all LateUpdates.
/// Default true.
///
public bool FixCustomFrameRate { get; set; } = true;
- // === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
/// File extension of the default output file name, without the dot (e.g. "mkv", "mp4"); selects the container.
public string FileExtension { get; set; } = "mkv";
@@ -137,9 +135,7 @@ public class AdvancedConfig
ProcessAudio = source.ProcessAudio;
NonTile = source.NonTile;
HighResBloomCorrection = source.HighResBloomCorrection;
- // === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
FixCustomFrameRate = source.FixCustomFrameRate;
- // === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
FileExtension = source.FileExtension;
firePlanetColor = source.firePlanetColor;
icePlanetColor = source.icePlanetColor;
diff --git a/Patch/Game/CustomFrameRateDeferPatch.cs b/Patch/Game/CustomFrameRateDeferPatch.cs
index 6f4f116..7880867 100644
--- a/Patch/Game/CustomFrameRateDeferPatch.cs
+++ b/Patch/Game/CustomFrameRateDeferPatch.cs
@@ -6,7 +6,6 @@ using UnityEngine;
namespace ADOFAIRenderer.Patch.Game;
-// === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
///
/// Fixes the in-game and render bug where objects (floors, decorations, planets) disappear on the first frame of
/// a SetFramerate event (due to camera Z=0 near clip culling) and where parallax/tiles lag behind on subsequent frames.
@@ -112,4 +111,3 @@ internal class CustomFrameRateDeferredRunner : MonoBehaviour
CustomFrameRateDeferPatch.ExecuteDeferredRender();
}
}
-// === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
diff --git a/UI/Window/RenderConfigWindow.cs b/UI/Window/RenderConfigWindow.cs
index c7e9ba2..e73df77 100644
--- a/UI/Window/RenderConfigWindow.cs
+++ b/UI/Window/RenderConfigWindow.cs
@@ -140,9 +140,7 @@ internal static class RenderConfigWindow
private static O5Toggle? _processAudioToggle;
private static O5Toggle? _nonTileToggle;
private static O5Toggle? _highResBloomCorrectionToggle;
- // === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
private static O5Toggle? _fixCustomFrameRateToggle;
- // === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
// Planet color overrides: the toggle enables the override, the picker holds the color. A disabled toggle stores
// null in AdvancedConfig (no override is applied by PersistencePatch) and blocks the picker.
@@ -794,7 +792,6 @@ internal static class RenderConfigWindow
generateLabel: false
);
- // === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
// Fix SetFramerate Render Timing (AdvancedConfig.FixCustomFrameRate): defers manual camera rendering to frame end
_fixCustomFrameRateToggle = CreateToggleField(
ctx, CreateFieldSlot(advRight),
@@ -810,7 +807,6 @@ internal static class RenderConfigWindow
},
generateLabel: false
);
- // === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
// 7-1. Planet Color Settings (Optional).
// For each planet: the toggle turns the override on/off (off stores null and blocks/collapses the picker);
@@ -1021,9 +1017,7 @@ internal static class RenderConfigWindow
_processAudioToggle?.Set(config.AdvancedConfig.ProcessAudio, false);
_nonTileToggle?.Set(config.AdvancedConfig.NonTile, false);
_highResBloomCorrectionToggle?.Set(config.AdvancedConfig.HighResBloomCorrection, false);
- // === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
_fixCustomFrameRateToggle?.Set(config.AdvancedConfig.FixCustomFrameRate, false);
- // === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
// Planet colors: toggle on when an override is stored; the picker shows the stored color or the default and is
// blocked without an override
@@ -1206,9 +1200,7 @@ internal static class RenderConfigWindow
if (_processAudioToggle != null) target.AdvancedConfig.ProcessAudio = _processAudioToggle.Value;
if (_nonTileToggle != null) target.AdvancedConfig.NonTile = _nonTileToggle.Value;
if (_highResBloomCorrectionToggle != null) target.AdvancedConfig.HighResBloomCorrection = _highResBloomCorrectionToggle.Value;
- // === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
if (_fixCustomFrameRateToggle != null) target.AdvancedConfig.FixCustomFrameRate = _fixCustomFrameRateToggle.Value;
- // === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
// Planet Colors
target.AdvancedConfig.firePlanetColor = (_firePlanetToggle?.Value == true && _firePlanetPicker != null)