mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:29:03 +02:00
remove dead code
This commit is contained in:
parent
7b3a778fb4
commit
88c319a0da
2 changed files with 0 additions and 10 deletions
|
@ -24,8 +24,6 @@
|
||||||
Agent::Agent(const unsigned char* dataBuffer, int numBytes) :
|
Agent::Agent(const unsigned char* dataBuffer, int numBytes) :
|
||||||
ThreadedAssignment(dataBuffer, numBytes)
|
ThreadedAssignment(dataBuffer, numBytes)
|
||||||
{
|
{
|
||||||
//_particleScriptingInterface.init();
|
|
||||||
//_voxelScriptingInterface.init();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Agent::processDatagram(const QByteArray& dataByteArray, const HifiSockAddr& senderSockAddr) {
|
void Agent::processDatagram(const QByteArray& dataByteArray, const HifiSockAddr& senderSockAddr) {
|
||||||
|
@ -94,12 +92,6 @@ void Agent::run() {
|
||||||
connect(pingNodesTimer, SIGNAL(timeout()), nodeList, SLOT(pingInactiveNodes()));
|
connect(pingNodesTimer, SIGNAL(timeout()), nodeList, SLOT(pingInactiveNodes()));
|
||||||
pingNodesTimer->start(PING_INACTIVE_NODE_INTERVAL_USECS / 1000);
|
pingNodesTimer->start(PING_INACTIVE_NODE_INTERVAL_USECS / 1000);
|
||||||
|
|
||||||
//const unsigned int VISUAL_DATA_CALLBACK_USECS = (1.0 / 60.0) * 1000 * 1000;
|
|
||||||
// let the VoxelPacketSender know how frequently we plan to call it
|
|
||||||
//_voxelScriptingInterface.getVoxelPacketSender()->setProcessCallIntervalHint(VISUAL_DATA_CALLBACK_USECS);
|
|
||||||
//_particleScriptingInterface.getParticlePacketSender()->setProcessCallIntervalHint(VISUAL_DATA_CALLBACK_USECS);
|
|
||||||
|
|
||||||
_scriptEngine.setScriptContents(scriptContents);
|
_scriptEngine.setScriptContents(scriptContents);
|
||||||
|
|
||||||
_scriptEngine.run();
|
_scriptEngine.run();
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,8 +34,6 @@ signals:
|
||||||
void willSendAudioDataCallback();
|
void willSendAudioDataCallback();
|
||||||
void willSendVisualDataCallback();
|
void willSendVisualDataCallback();
|
||||||
private:
|
private:
|
||||||
//VoxelScriptingInterface _voxelScriptingInterface;
|
|
||||||
//ParticleScriptingInterface _particleScriptingInterface;
|
|
||||||
ScriptEngine _scriptEngine;
|
ScriptEngine _scriptEngine;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue