Disabled partial cache refresh for now due to many issues related to it, and also static images dont constantly require updating

This commit is contained in:
Yousef Khadadeh 2025-08-07 22:27:54 +03:00
parent 0b72dd4ea9
commit 453f01b4c7
4 changed files with 54 additions and 47 deletions

View file

@ -382,6 +382,7 @@ void DrawingProgram::add_file_to_canvas_by_path_execute(const std::string& fileP
img->d.imageID = imageID;
img->commit_update(*this);
uint64_t placement = components.client_list().size();
std::cout << "tiger place: " << placement << std::endl;
auto objAdd = components.client_insert(placement, img);
img->client_send_place(*this);
add_undo_place_component(objAdd);