Hit test algorithm fixed to traverse hit actor tree if stencil first 76/24076/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Wed, 11 Jun 2014 15:11:24 +0000 (16:11 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 13:15:21 +0000 (14:15 +0100)
commitb45c4b2bd224350c488d6f103eb786308f3c235b
tree7b115f96d31385314780bd31641505aadae2773b
parent22be55bfcda54c1a51d97b593a5fac1260ac534e
Hit test algorithm fixed to traverse hit actor tree if stencil first

[problem]      If stencil is added to layer before a tree of actors only the first actor in the tree will be returned, it's children will not be traversed.
[solution]     Only stop traversal if current actor is a stencil and that stencil was hit, else traverse children.

Change-Id: I19bf8b3a24b2ac5629079bec7131b266db460143
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
dali/internal/event/events/hit-test-algorithm-impl.cpp