0031323: OCAF, TObj - TObj_OcafObjectIterator does not go recursively to children...
authormpv <mpv@opencascade.com>
Mon, 14 Sep 2020 13:49:38 +0000 (16:49 +0300)
committerbugmaster <bugmaster@opencascade.com>
Sun, 27 Sep 2020 09:00:06 +0000 (12:00 +0300)
commit689dc3b1c955e3f618b6ba405456f3e11a3fa815
treedcd1f02fb2cee31cb0f794434d69d068f52426e7
parent0b55d29b6acc7a0418d02159ff50c3ffc16fc8de
0031323: OCAF, TObj - TObj_OcafObjectIterator does not go recursively to children if type argument is used

Added theAllSubChildren flag to the TObj_OcafObjectIterator to iterate all sub-children.
By default it still iterates only the first level of children.
src/TObj/TObj_OcafObjectIterator.cxx
src/TObj/TObj_OcafObjectIterator.hxx
src/TObjDRAW/TObjDRAW.cxx
tests/bugs/caf/bug31323 [new file with mode: 0644]