Decrease details in brush strokes when zooming out
This commit is contained in:
parent
5dd7311c20
commit
d4b70a2386
7 changed files with 96 additions and 31 deletions
|
|
@ -173,9 +173,11 @@ void BrushTool::gui_toolbox() {
|
|||
|
||||
void BrushTool::commit_stroke() {
|
||||
if(controls.intermediateItem) {
|
||||
controls.intermediateItem->client_send_update_final(drawP, controls.intermediateID);
|
||||
controls.intermediateItem->final_update(drawP);
|
||||
controls.intermediateItem = nullptr;
|
||||
if(!controls.intermediateItem->d.points.empty()) {
|
||||
controls.intermediateItem->client_send_update_final(drawP, controls.intermediateID);
|
||||
controls.intermediateItem->final_update(drawP);
|
||||
controls.intermediateItem = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue