Removed debug print statement
This commit is contained in:
parent
453f01b4c7
commit
e9bcedb7ba
2 changed files with 0 additions and 3 deletions
|
|
@ -382,7 +382,6 @@ void DrawingProgram::add_file_to_canvas_by_path_execute(const std::string& fileP
|
||||||
img->d.imageID = imageID;
|
img->d.imageID = imageID;
|
||||||
img->commit_update(*this);
|
img->commit_update(*this);
|
||||||
uint64_t placement = components.client_list().size();
|
uint64_t placement = components.client_list().size();
|
||||||
std::cout << "tiger place: " << placement << std::endl;
|
|
||||||
auto objAdd = components.client_insert(placement, img);
|
auto objAdd = components.client_insert(placement, img);
|
||||||
img->client_send_place(*this);
|
img->client_send_place(*this);
|
||||||
add_undo_place_component(objAdd);
|
add_undo_place_component(objAdd);
|
||||||
|
|
|
||||||
|
|
@ -362,9 +362,7 @@ void DrawingProgramCache::refresh_draw_cache(const std::shared_ptr<DrawingProgra
|
||||||
// .drawBounds = clipRectBoundAABBWorld,
|
// .drawBounds = clipRectBoundAABBWorld,
|
||||||
// .lastObjectPositionToDraw = drawCache.lastDrawnComponentPlacement
|
// .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);
|
// // drawCache.lastDrawnComponentPlacement = std::max(lastDrawnComponentPlacementNew, drawCache.lastDrawnComponentPlacement);
|
||||||
// std::cout << drawCache.lastDrawnComponentPlacement << std::endl;
|
|
||||||
// cacheCanvas->restore();
|
// cacheCanvas->restore();
|
||||||
// drawCache.invalidBounds = std::nullopt;
|
// drawCache.invalidBounds = std::nullopt;
|
||||||
//}
|
//}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue