🆙 Small fix

This fix is to only activate the filter when the background is actually non-black, matching the same guard used in shouldSuppressBackgroundMatteLayer
This commit is contained in:
duckietm
2026-02-18 17:16:17 +01:00
parent a6f1d1c45e
commit 2fd00c24ba
@@ -335,7 +335,7 @@ export class FurnitureVisualization extends RoomObjectSpriteVisualization
sprite.posture = this.getPostureForAsset(scale, assetData.source);
sprite.clickHandling = this._clickHandling;
if(sprite.blendMode === 'add')
if(sprite.blendMode === 'add' && !this.isBackgroundColorBlack())
{
if(!FurnitureVisualization._blackToAlphaFilter) FurnitureVisualization._blackToAlphaFilter = new BlackToAlphaFilter();