plus a coding standard fix
Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -2123,7 +2123,7 @@ void Application::sendNack() { · 2122 unmodified lines | |||
| 2123 | 2123 | ||
| 2124 | QUuid nodeUUID = node->getUUID(); | 2124 | QUuid nodeUUID = node->getUUID(); |
| 2125 | 2125 | ||
| 2126 | _octreeSceneStatsLock.lockForWrite(); | 2126 | _octreeSceneStatsLock.lockForRead(); |
| 2127 | 2127 | ||
| 2128 | // retreive octree scene stats of this node | 2128 | // retreive octree scene stats of this node |
| 2129 | if (_octreeServerSceneStats.find(nodeUUID) == _octreeServerSceneStats.end()) { | 2129 | if (_octreeServerSceneStats.find(nodeUUID) == _octreeServerSceneStats.end()) { |