From ddb907ae5fd7e83e6e8773595cd4416f173553d8 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Mon, 11 May 2015 12:15:52 -0700 Subject: [PATCH] inline setMaxQueryPacketsPerSecond --- libraries/octree/src/OctreeQuery.cpp | 5 ----- libraries/octree/src/OctreeQuery.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/libraries/octree/src/OctreeQuery.cpp b/libraries/octree/src/OctreeQuery.cpp index cac063213c..08197a587e 100644 --- a/libraries/octree/src/OctreeQuery.cpp +++ b/libraries/octree/src/OctreeQuery.cpp @@ -20,11 +20,6 @@ OctreeQuery::OctreeQuery() { _maxQueryPPS = DEFAULT_MAX_OCTREE_PPS; } -void OctreeQuery::setMaxQueryPacketsPerSecond(int maxQueryPPS) { - _maxQueryPPS = maxQueryPPS; -} - - int OctreeQuery::getBroadcastData(unsigned char* destinationBuffer) { unsigned char* bufferStart = destinationBuffer; diff --git a/libraries/octree/src/OctreeQuery.h b/libraries/octree/src/OctreeQuery.h index c3f0971a85..3c204ff938 100644 --- a/libraries/octree/src/OctreeQuery.h +++ b/libraries/octree/src/OctreeQuery.h @@ -86,7 +86,7 @@ public slots: void setWantDelta(bool wantDelta) { _wantDelta = wantDelta; } void setWantOcclusionCulling(bool wantOcclusionCulling) { _wantOcclusionCulling = wantOcclusionCulling; } void setWantCompression(bool wantCompression) { _wantCompression = wantCompression; } - void setMaxQueryPacketsPerSecond(int maxQueryPPS); + void setMaxQueryPacketsPerSecond(int maxQueryPPS) { _maxQueryPPS = maxQueryPPS; } void setOctreeSizeScale(float octreeSizeScale) { _octreeElementSizeScale = octreeSizeScale; } void setBoundaryLevelAdjust(int boundaryLevelAdjust) { _boundaryLevelAdjust = boundaryLevelAdjust; }