Skip to content
Snippets Groups Projects
Commit dfdc4587 authored by alja's avatar alja Committed by Sergey Linev
Browse files

Simplify sending of BeginCahnges/EndChanges message

parent 244e8dd8
No related branches found
No related tags found
No related merge requests found
......@@ -243,16 +243,14 @@ void REveManager::DoRedraw3D()
nlohmann::json jobj = {};
jobj["content"] = "BeginChanges";
for (auto i = fConnList.begin(); i != fConnList.end(); ++i)
fWebWindow->Send(i->fId, jobj.dump());
fWebWindow->Send(0, jobj.dump());
// Process changes in scenes.
fWorld ->ProcessChanges();
fScenes->ProcessSceneChanges();
jobj["content"] = "EndChanges";
for (auto i = fConnList.begin(); i != fConnList.end(); ++i)
fWebWindow->Send(i->fId, jobj.dump());
fWebWindow->Send(0, jobj.dump());
fResetCameras = kFALSE;
fDropLogicals = kFALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment