Removed debug print statement

This commit is contained in:
Yousef Khadadeh 2025-08-07 22:29:12 +03:00
parent 453f01b4c7
commit e9bcedb7ba
2 changed files with 0 additions and 3 deletions

View file

@ -382,7 +382,6 @@ 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);

View file

@ -362,9 +362,7 @@ void DrawingProgramCache::refresh_draw_cache(const std::shared_ptr<DrawingProgra
// .drawBounds = clipRectBoundAABBWorld,
// .lastObjectPositionToDraw = drawCache.lastDrawnComponentPlacement
// });
// // NOTE: We make sure that the last object position drawn remains the same, so we dont have to set it to a different value after we're done here
// // drawCache.lastDrawnComponentPlacement = std::max(lastDrawnComponentPlacementNew, drawCache.lastDrawnComponentPlacement);
// std::cout << drawCache.lastDrawnComponentPlacement << std::endl;
// cacheCanvas->restore();
// drawCache.invalidBounds = std::nullopt;
//}