mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 02:52:57 +02:00
sendPingPackets method need not be static
This commit is contained in:
parent
ddbcfbd02f
commit
a5b0675f24
2 changed files with 5 additions and 5 deletions
|
@ -1413,10 +1413,10 @@ void Application::wheelEvent(QWheelEvent* event) {
|
||||||
|
|
||||||
void Application::sendPingPackets() {
|
void Application::sendPingPackets() {
|
||||||
QByteArray pingPacket = NodeList::getInstance()->constructPingPacket();
|
QByteArray pingPacket = NodeList::getInstance()->constructPingPacket();
|
||||||
getInstance()->controlledBroadcastToNodes(pingPacket, NodeSet() << NodeType::VoxelServer
|
controlledBroadcastToNodes(pingPacket, NodeSet() << NodeType::VoxelServer
|
||||||
<< NodeType::ParticleServer
|
<< NodeType::ParticleServer
|
||||||
<< NodeType::AudioMixer << NodeType::AvatarMixer
|
<< NodeType::AudioMixer << NodeType::AvatarMixer
|
||||||
<< NodeType::MetavoxelServer);
|
<< NodeType::MetavoxelServer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Every second, check the frame rates and other stuff
|
// Every second, check the frame rates and other stuff
|
||||||
|
|
|
@ -264,7 +264,7 @@ private:
|
||||||
void updateProjectionMatrix(Camera& camera, bool updateViewFrustum = true);
|
void updateProjectionMatrix(Camera& camera, bool updateViewFrustum = true);
|
||||||
|
|
||||||
static bool sendVoxelsOperation(OctreeElement* node, void* extraData);
|
static bool sendVoxelsOperation(OctreeElement* node, void* extraData);
|
||||||
static void sendPingPackets();
|
void sendPingPackets();
|
||||||
|
|
||||||
void initDisplay();
|
void initDisplay();
|
||||||
void init();
|
void init();
|
||||||
|
|
Loading…
Reference in a new issue