occt: master 26b004e9

Author Committer Branch Timestamp Parent
abv abv master 2018-05-08 14:55:09 master b2300241
Affected Issues  0029743: Samples - Inspector tool - crash by selecting TNaming_UsedShapes tree item
Changeset 0029743: Samples - Inspector tool - crash by selecting TNaming_UsedShapes tree item

- TNaming_UsedShapes is corrected to do not call methods of empty TopoDS_Shape
- TNaming_NamedShape is corrected to have not NULL TNaming_RefShape even if TopoDS_Shape is NULL(TNaming_Builder::Delete).
- DFBrowserPane presentation tree item for this is corrected in the same way and obsolete methods of processing SortedReferences are removed.
mod - src/TNaming/TNaming_NamedShape.cxx Diff File
mod - src/TNaming/TNaming_UsedShapes.cxx Diff File
add - tests/tools/dfbrowser/A7 Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TNamingUsedShapes.cxx Diff File
mod - tools/DFBrowserPane/DFBrowserPane_TNamingUsedShapes.hxx Diff File