MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / deselect_all

Method deselect_all

src/DrawingProgram/DrawingProgramSelection.cpp:698–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696}
697
698void DrawingProgramSelection::deselect_all() {
699 check_add_stroke_color_change_undo();
700
701 if(is_something_selected()) {
702 commit_transform_selection();
703 for(auto& obj : selectedSet)
704 drawP.drawCache.add_component(obj);
705 reset_all();
706 }
707}
708
709void DrawingProgramSelection::push_selection_to_front() {
710 check_add_stroke_color_change_undo();

Callers 10

on_tab_outMethod · 0.45
scale_upMethod · 0.45
selection_action_menuMethod · 0.45
switch_toolMethod · 0.45
switch_toolMethod · 0.45
switch_toolMethod · 0.45

Calls 1

add_componentMethod · 0.80

Tested by

no test coverage detected