mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
always emit update even when no servers
This commit is contained in:
parent
906d913d71
commit
8b2f185937
1 changed files with 1 additions and 10 deletions
|
@ -208,11 +208,7 @@ void ScriptEngine::run() {
|
|||
break;
|
||||
}
|
||||
|
||||
bool willSendVisualDataCallBack = false;
|
||||
if (_voxelsScriptingInterface.getVoxelPacketSender()->serversExist()) {
|
||||
// allow the scripter's call back to setup visual data
|
||||
willSendVisualDataCallBack = true;
|
||||
|
||||
// release the queue of edit voxel messages.
|
||||
_voxelsScriptingInterface.getVoxelPacketSender()->releaseQueuedMessages();
|
||||
|
||||
|
@ -223,9 +219,6 @@ void ScriptEngine::run() {
|
|||
}
|
||||
|
||||
if (_particlesScriptingInterface.getParticlePacketSender()->serversExist()) {
|
||||
// allow the scripter's call back to setup visual data
|
||||
willSendVisualDataCallBack = true;
|
||||
|
||||
// release the queue of edit voxel messages.
|
||||
_particlesScriptingInterface.getParticlePacketSender()->releaseQueuedMessages();
|
||||
|
||||
|
@ -251,9 +244,7 @@ void ScriptEngine::run() {
|
|||
nodeList->broadcastToNodes(avatarPacket, NodeSet() << NodeType::AvatarMixer);
|
||||
}
|
||||
|
||||
if (willSendVisualDataCallBack) {
|
||||
emit willSendVisualDataCallback();
|
||||
}
|
||||
emit willSendVisualDataCallback();
|
||||
|
||||
if (_engine.hasUncaughtException()) {
|
||||
int line = _engine.uncaughtExceptionLineNumber();
|
||||
|
|
Loading…
Reference in a new issue