]> OCCT Git - occt-copy.git/commit
Added proper cleaning of LOD groups:
authorvpa <vpa@opencascade.com>
Fri, 1 Apr 2016 16:26:57 +0000 (19:26 +0300)
committervpa <vpa@opencascade.com>
Fri, 8 Apr 2016 17:20:03 +0000 (20:20 +0300)
commit5efc1678e34d3403acc6113fd4a0d7caa9b2c3f4
tree67ddce35e40ed305a3ee31f5d593d3d91f90dd9d
parent3d7e35768f0b1f559225103097b5175a58bb05a8
Added proper cleaning of LOD groups:
- Graphic3d_Structure's Remove and GraphicClear now take into account LOD structures;
- LOD graphic resources are cleaned up properly in OpenGl_Structure;
Correction of warnings.

TODO:
There are a lot of places in OpenGl_Structure where the structure tries to iterate through its own graphic groups.
In case of objects represented as LODs, such loops are useless and likely will affect the performance.
src/Graphic3d/Graphic3d_LOD.cxx
src/Graphic3d/Graphic3d_LOD.hxx
src/Graphic3d/Graphic3d_LODManager.cxx
src/Graphic3d/Graphic3d_LODManager.hxx
src/Graphic3d/Graphic3d_Structure.cxx
src/MeshVS/MeshVS_Mesh.cxx
src/OpenGl/OpenGl_LOD.cxx
src/OpenGl/OpenGl_LOD.hxx
src/OpenGl/OpenGl_Structure.cxx