Changeset 1733 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
- Timestamp:
- 11/09/06 13:57:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r1732 r1733 267 267 splitQueue.Pop(); 268 268 269 // split was not reevaluated before => do it now 270 if (splitCandidate->IsDirty()) 271 splitCandidate->EvalCandidate(); 272 269 273 return splitCandidate; 270 274 } … … 471 475 { 472 476 // decide upon next split type 473 if (viewSpaceQueue.Top()->IsDirty())474 viewSpaceQueue.Top()->EvalCandidate();475 476 if (objectSpaceQueue.Top()->IsDirty())477 objectSpaceQueue.Top()->EvalCandidate();478 479 477 const float vspPriority = viewSpaceQueue.Top() ? viewSpaceQueue.Top()->GetPriority() : -1e20f; 480 478 const float ospPriority = objectSpaceQueue.Top() ? objectSpaceQueue.Top()->GetPriority() : -1e20f; … … 976 974 while (!splitQueue.Empty()) 977 975 { 978 // reevaluate current candidate979 if (splitQueue.Top()->IsDirty())980 splitQueue.Top()->EvalCandidate();981 982 976 const float priority = splitQueue.Top()->GetPriority(); 983 977 const float threshold = oldCandidate ? oldCandidate->GetPriority() : 1e20f;
Note: See TracChangeset
for help on using the changeset viewer.