Can now display SVGs, also fixed bad function call bug when taking screenshot

This commit is contained in:
Yousef Khadadeh 2025-08-07 12:44:31 +03:00
parent 6d8d532952
commit 91603e1fc1
9 changed files with 70 additions and 28 deletions

View file

@ -327,7 +327,6 @@ void DrawingProgramCache::refresh_draw_cache(const std::shared_ptr<DrawingProgra
DrawData cacheDrawData = drawData;
cacheDrawData.cam.c = bvhNode->coords;
cacheDrawData.cam.changed = nullptr;
cacheDrawData.cam.set_viewing_area(bvhNode->resolution.cast<float>());
cacheDrawData.refresh_draw_optimizing_values();