Fix OBB tree update issue in vtkCollisionDetectionFilter
Move all OBB trees setup intructions before the tree building instructions to avoid reconstruction on the next filter call because of modify time being greater than last build time.
This issue can be detected in the following scenario:
- The filter is setup and updated (obb trees are built)
- The filter transform at port 0/1 is modified
- The filter is updated and obb trees are re-built while they should not (no modification of the setup or datasets)
- If the filter is ran again, the behavior is as expected (obb trees are not re-built)
The issue is due to tolerance being assigned to trees after the building phase.
Edited by C. G.