0026792: Visualization, Graphic3d - Z-fit support for transform persistence is missin...
authorapl <apl@opencascade.com>
Thu, 19 Nov 2015 08:16:14 +0000 (11:16 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 27 Nov 2015 07:18:12 +0000 (10:18 +0300)
commit97f937cc5598d455bd86ceb276f53b2ae347a803
treed092b393e1db1280da78dea8c3dd701028f99ec8
parentc8b5b3d89e5d71beaf312507e8043127c130e450
0026792: Visualization, Graphic3d - Z-fit support for transform persistence is missing after removing Visual3d_View

Add missing code for z-fit support for zoom, rotate persistent object.
Fixed wrong statement that should enable frustum culling optimization for zoom, rotate persistent object.
Fixed BVH_LinearBuilder.lxx to correctly control number of items in leaf node for a case of items with equal bounding boxes.
Added non-regression test case for z-clipping of transform persistent objects.
src/BVH/BVH_LinearBuilder.lxx
src/Graphic3d/Graphic3d_CView.cxx
src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.cxx
src/OpenGl/OpenGl_BVHTreeSelector.cxx
src/OpenGl/OpenGl_Layer.cxx
src/OpenGl/OpenGl_Structure.hxx
tests/bugs/vis/bug26792 [new file with mode: 0644]