Showing the changes to interface/src/VoxelSystem.cpp (1 of 7 files). Show all
Unified · Split
| @@ -1211,8 +1211,8 @@ bool VoxelSystem::falseColorizeOccludedOperation(VoxelNode* node, void* extraDat · 1210 unmodified lines | |||
| 1211 | return true; | 1211 | return true; |
| 1212 | } | 1212 | } |
| 1213 | 1213 | ||
| 1214 | CoverageMap::StorageResult result = args->map->checkMap(voxelPolygon, false); | 1214 | CoverageMapStorageResult result = args->map->checkMap(voxelPolygon, false); |
| 1215 | if (result == CoverageMap::OCCLUDED) { | 1215 | if (result == OCCLUDED) { |
| 1216 | args->nonLeavesOccluded++; | 1216 | args->nonLeavesOccluded++; |
| 1217 | delete voxelPolygon; | 1217 | delete voxelPolygon; |
| 1218 | 1218 | ||
| @@ -1248,14 +1248,14 @@ bool VoxelSystem::falseColorizeOccludedOperation(VoxelNode* node, void* extraDat · 29 unmodified lines | |||
| 1248 | return true; | 1248 | return true; |
| 1249 | } | 1249 | } |
| 1250 | 1250 | ||
| 1251 | CoverageMap::StorageResult result = args->map->checkMap(voxelPolygon, true); | 1251 | CoverageMapStorageResult result = args->map->checkMap(voxelPolygon, true); |
| 1252 | if (result == CoverageMap::OCCLUDED) { | 1252 | if (result == OCCLUDED) { |
| 1253 | node->setFalseColor(255, 0, 0); | 1253 | node->setFalseColor(255, 0, 0); |
| 1254 | args->occludedVoxels++; | 1254 | args->occludedVoxels++; |
| 1255 | } else if (result == CoverageMap::STORED) { | 1255 | } else if (result == STORED) { |
| 1256 | args->notOccludedVoxels++; | 1256 | args->notOccludedVoxels++; |
| 1257 | //printLog("***** falseColorizeOccludedOperation() NODE is STORED *****\n"); | 1257 | //printLog("***** falseColorizeOccludedOperation() NODE is STORED *****\n"); |
| 1258 | } else if (result == CoverageMap::DOESNT_FIT) { | 1258 | } else if (result == DOESNT_FIT) { |
| 1259 | //printLog("***** falseColorizeOccludedOperation() NODE DOESNT_FIT???? *****\n"); | 1259 | //printLog("***** falseColorizeOccludedOperation() NODE DOESNT_FIT???? *****\n"); |
| 1260 | } | 1260 | } |
| 1261 | } | 1261 | } |