Added multi command block
This commit is contained in:
parent
6889eeff60
commit
279a9317a4
14 changed files with 173 additions and 106 deletions
|
|
@ -59,10 +59,10 @@ void LineDrawTool::commit_data(bool final) {
|
|||
}
|
||||
containerPtr->commit_update(drawP);
|
||||
if(final) {
|
||||
drawP.world.netObjMan.send_multi_update_messsage([&]() {
|
||||
drawP.world.send_reliable_multi_command_to_all([&]() {
|
||||
drawP.send_transforms_for({objInfoBeingEdited});
|
||||
containerPtr->send_comp_update(drawP, final);
|
||||
}, NetworkingObjects::NetObjManager::SendUpdateType::SEND_TO_ALL, nullptr);
|
||||
});
|
||||
}
|
||||
else
|
||||
containerPtr->send_comp_update(drawP, final);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue