Showing the changes to interface/src/VoxelSystem.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1882,7 +1882,7 @@ void VoxelSystem::hideOutOfView(bool forceFullFrustum) { · 1881 unmodified lines | |||
| 1882 | _inhideOutOfView = true; | 1882 | _inhideOutOfView = true; |
| 1883 | 1883 | ||
| 1884 | bool showDebugDetails = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings); | 1884 | bool showDebugDetails = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings); |
| 1885 | PerformanceWarning warn(showDebugDetails, "hideOutOfView()", showDebugDetails); | 1885 | PerformanceWarning warn(showDebugDetails, "hideOutOfView()"); |
| 1886 | bool widenFrustum = true; | 1886 | bool widenFrustum = true; |
| 1887 | 1887 | ||
| 1888 | // When using "delta" view frustums and only hide/show items that are in the difference | 1888 | // When using "delta" view frustums and only hide/show items that are in the difference |
| @@ -1927,7 +1927,8 @@ void VoxelSystem::hideOutOfView(bool forceFullFrustum) { · 38 unmodified lines | |||
| 1927 | setupNewVoxelsForDrawingSingleNode(DONT_BAIL_EARLY); | 1927 | setupNewVoxelsForDrawingSingleNode(DONT_BAIL_EARLY); |
| 1928 | } | 1928 | } |
| 1929 | 1929 | ||
| 1930 | if (showDebugDetails) { | 1930 | bool extraDebugDetails = Menu::getInstance()->isOptionChecked(MenuOption::ExtraDebugging); |
| 1931 | if (extraDebugDetails) { | ||
| 1931 | qDebug("hideOutOfView() scanned=%ld removed=%ld inside=%ld intersect=%ld outside=%ld\n", | 1932 | qDebug("hideOutOfView() scanned=%ld removed=%ld inside=%ld intersect=%ld outside=%ld\n", |
| 1932 | args.nodesScanned, args.nodesRemoved, args.nodesInside, | 1933 | args.nodesScanned, args.nodesRemoved, args.nodesInside, |
| 1933 | args.nodesIntersect, args.nodesOutside | 1934 | args.nodesIntersect, args.nodesOutside |