Fixed selected object ordering
This commit is contained in:
parent
9d752af00c
commit
b688c39e68
6 changed files with 52 additions and 68 deletions
|
|
@ -348,9 +348,8 @@ void DrawingProgram::rebuild_cache() {
|
|||
EraserTool* eraserTool = static_cast<EraserTool*>(drawTool.get());
|
||||
drawCache.build(eraserTool->erasedComponents);
|
||||
}
|
||||
else if(is_selection_allowing_tool(drawTool->get_type())) {
|
||||
drawCache.build(selection.get_selected_set());
|
||||
}
|
||||
else if(is_selection_allowing_tool(drawTool->get_type()))
|
||||
drawCache.build(selection.get_selection_as_set());
|
||||
else
|
||||
drawCache.build({});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue