Fixed path splitting making duplicates

This commit is contained in:
Yousef Khadadeh 2026-05-29 17:20:52 +03:00
parent 2c4a451195
commit d901597391
5 changed files with 15 additions and 54 deletions

View file

@ -20,8 +20,5 @@
#include "CanvasComponents/CanvasComponentContainer.hpp"
void DrawData::refresh_draw_optimizing_values() {
clampDrawBetween = true;
clampDrawMinimum = cam.c.inverseScale >> CanvasComponentContainer::COMP_MIN_SHIFT_BEFORE_DISAPPEAR;
mipMapLevelOne = cam.c.inverseScale >> CanvasComponentContainer::COMP_MIPMAP_LEVEL_ONE;
mipMapLevelTwo = cam.c.inverseScale >> CanvasComponentContainer::COMP_MIPMAP_LEVEL_TWO;
}