summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWilliam Weaver <paperwork.resident@gmail.com>2025-04-07 16:57:12 +0300
committerWilliam Weaver <paperwork.resident@gmail.com>2025-04-07 16:57:12 +0300
commitcfbcdd713baf1a1027281832f5f41ce5b99fafd7 (patch)
treef14a1654032fa9189a77f07f19e8370930c5f4f3 /scripts
parentbe2e7e9d185d82e1e4aa60f6a73bd7ba4abbfeb5 (diff)
Fix: Remove potentially redundant RenderAutoHideSurfaceAreaLimit setting registration
This commit removes a seemingly duplicated `connectRefreshCachedSettingsSafe` call in `LLPipeline::init()` for the `RenderAutoHideSurfaceAreaLimit` setting. A duplicated registration for this setting was identified during a review of `LLPipeline::init()`. Double registration can lead to unexpected behavior, including potential CPU overhead. The duplication *may* have been introduced with commit 440c7b2 (Added CollectFontVertexBuffers feature), though this requires further confirmation. Testing Performed: After removing the duplicate registration, the `RenderAutoHideSurfaceAreaLimit` functionality was validated by ensuring the following behavior (consistent with the existing code): * A value of 0 (zero) causes all objects to appear regardless of size. * Values slightly above zero result in only small objects appearing, with all others hidden. * Increasing the value causes objects of increasing size to appear, while smaller objects remain visible. This change merits careful review to ensure it has no unintended side effects, and to confirm the accuracy of these observations from other developers.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions