Reliable channel used to finalize component updates
This commit is contained in:
parent
14c6e7ceac
commit
278792a0ff
11 changed files with 36 additions and 28 deletions
|
|
@ -59,13 +59,13 @@ void RectDrawEditTool::commit_edit_updates(const std::shared_ptr<DrawComponent>&
|
|||
drawP.world.undo.push(UndoManager::UndoRedoPair{
|
||||
[&, a, pData]() {
|
||||
a->d = pData;
|
||||
a->client_send_update(drawP);
|
||||
a->client_send_update(drawP, true);
|
||||
a->commit_update(drawP);
|
||||
return true;
|
||||
},
|
||||
[&, a, cData]() {
|
||||
a->d = cData;
|
||||
a->client_send_update(drawP);
|
||||
a->client_send_update(drawP, true);
|
||||
a->commit_update(drawP);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue