mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
move call to get VoxelPositionSize inside debug that uses it
This commit is contained in:
parent
615218c77d
commit
d3c6d8b3cc
1 changed files with 3 additions and 3 deletions
|
@ -3605,9 +3605,6 @@ int Application::processOctreeStats(NLPacket& packet, SharedNodePointer sendingN
|
||||||
|
|
||||||
_octreeSceneStatsLock.unlock();
|
_octreeSceneStatsLock.unlock();
|
||||||
|
|
||||||
VoxelPositionSize rootDetails;
|
|
||||||
voxelDetailsForCode(octreeStats.getJurisdictionRoot(), rootDetails);
|
|
||||||
|
|
||||||
// see if this is the first we've heard of this node...
|
// see if this is the first we've heard of this node...
|
||||||
NodeToJurisdictionMap* jurisdiction = NULL;
|
NodeToJurisdictionMap* jurisdiction = NULL;
|
||||||
QString serverType;
|
QString serverType;
|
||||||
|
@ -3619,6 +3616,9 @@ int Application::processOctreeStats(NLPacket& packet, SharedNodePointer sendingN
|
||||||
jurisdiction->lockForRead();
|
jurisdiction->lockForRead();
|
||||||
if (jurisdiction->find(nodeUUID) == jurisdiction->end()) {
|
if (jurisdiction->find(nodeUUID) == jurisdiction->end()) {
|
||||||
jurisdiction->unlock();
|
jurisdiction->unlock();
|
||||||
|
|
||||||
|
VoxelPositionSize rootDetails;
|
||||||
|
voxelDetailsForCode(octreeStats.getJurisdictionRoot(), rootDetails);
|
||||||
|
|
||||||
qCDebug(interfaceapp, "stats from new %s server... [%f, %f, %f, %f]",
|
qCDebug(interfaceapp, "stats from new %s server... [%f, %f, %f, %f]",
|
||||||
qPrintable(serverType),
|
qPrintable(serverType),
|
||||||
|
|
Loading…
Reference in a new issue