mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
adding back inlines
This commit is contained in:
parent
0290ea4bdc
commit
28c3afca9d
2 changed files with 6 additions and 20 deletions
interface/src/octree
|
@ -16,7 +16,6 @@
|
|||
#include "Application.h"
|
||||
#include "Menu.h"
|
||||
#include "SceneScriptingInterface.h"
|
||||
#include "SafeLanding.h"
|
||||
|
||||
OctreePacketProcessor::OctreePacketProcessor():
|
||||
_safeLanding(new SafeLanding())
|
||||
|
@ -132,16 +131,4 @@ void OctreePacketProcessor::processPacket(QSharedPointer<ReceivedMessage> messag
|
|||
|
||||
void OctreePacketProcessor::startEntitySequence() {
|
||||
_safeLanding->startEntitySequence(qApp->getEntities());
|
||||
}
|
||||
|
||||
bool OctreePacketProcessor::isLoadSequenceComplete() const {
|
||||
return _safeLanding->isLoadSequenceComplete();
|
||||
}
|
||||
|
||||
bool OctreePacketProcessor::isEntitiesRenderReady() const {
|
||||
return _safeLanding->entitiesRenderReady();
|
||||
}
|
||||
|
||||
float OctreePacketProcessor::domainLoadingProgress() {
|
||||
return _safeLanding->loadingProgressPercentage();
|
||||
}
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
#include <ReceivedPacketProcessor.h>
|
||||
#include <ReceivedMessage.h>
|
||||
|
||||
class SafeLanding;
|
||||
#include "SafeLanding.h"
|
||||
|
||||
/// Handles processing of incoming voxel packets for the interface application. As with other ReceivedPacketProcessor classes
|
||||
/// the user is responsible for reading inbound packets and adding them to the processing queue by calling queueReceivedPacket()
|
||||
|
@ -26,10 +26,9 @@ public:
|
|||
~OctreePacketProcessor();
|
||||
|
||||
void startEntitySequence();
|
||||
bool isLoadSequenceComplete() const;
|
||||
bool isEntitiesRenderReady() const;
|
||||
float domainLoadingProgress();
|
||||
|
||||
bool isLoadSequenceComplete() const { return _safeLanding->isLoadSequenceComplete(); }
|
||||
bool isEntitiesRenderReady() const { return _safeLanding->entitiesRenderReady(); }
|
||||
float domainLoadingProgress() { return _safeLanding->loadingProgressPercentage(); }
|
||||
signals:
|
||||
void packetVersionMismatch();
|
||||
|
||||
|
@ -42,4 +41,4 @@ private slots:
|
|||
private:
|
||||
std::unique_ptr<SafeLanding> _safeLanding;
|
||||
};
|
||||
#endif // hifi_OctreePacketProcessor_h
|
||||
#endif // hifi_OctreePacketProcessor_h
|
||||
|
|
Loading…
Reference in a new issue