Current implementation crashed when null parent is passed to Node.reparent method.
This patch fixes to avoid crash on that case, and node is simply removed from the tree.
Also getCombinedBoundsRect is enhanced in order to be able to specify the template parameter same as getCombinedBounds.
Current implementation crashed when null parent is passed to Node.reparent method. This patch fixes to avoid crash on that case, and node is simply removed from the tree. Also getCombinedBoundsRect is enhanced in order to be able to specify the template parameter same as getCombinedBounds.