From: joogab.yun Date: Fri, 9 Aug 2024 05:03:49 +0000 (+0900) Subject: The DEPTH value was being retrieved incorrectly. Fix this X-Git-Tag: accepted/tizen/unified/20240813.181656~4^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ef217dbb7406b15ed97366b5bb00c88476a60e3;p=platform%2Fcore%2Fuifw%2Fdali-core.git The DEPTH value was being retrieved incorrectly. Fix this Change-Id: Ie0c7556bdaaa661cdfbcf5b298166a94048151fa --- diff --git a/dali/internal/event/events/hit-test-algorithm-impl.cpp b/dali/internal/event/events/hit-test-algorithm-impl.cpp index 36e2de32c..ab5d59f9d 100644 --- a/dali/internal/event/events/hit-test-algorithm-impl.cpp +++ b/dali/internal/event/events/hit-test-algorithm-impl.cpp @@ -559,7 +559,7 @@ void GeoHitTestRenderTask(const RenderTaskList::ExclusivesContainer& exclusives, Dali::Layer sourceLayer(sourceActor->GetLayer()); if(sourceLayer) { - const uint32_t sourceActorDepth(sourceLayer.GetProperty(Dali::Layer::Property::DEPTH)); + const uint32_t sourceActorDepth(sourceLayer.GetProperty(Dali::Layer::Property::DEPTH)); CameraActor* cameraActor = renderTask.GetCameraActor(); bool pickingPossible = cameraActor->BuildPickingRay(screenCoordinates, viewport, @@ -676,7 +676,7 @@ bool HitTestRenderTask(const RenderTaskList::ExclusivesContainer& exclusives, Dali::Layer sourceLayer(sourceActor->GetLayer()); if(sourceLayer) { - const uint32_t sourceActorDepth(sourceLayer.GetProperty(Dali::Layer::Property::DEPTH)); + const uint32_t sourceActorDepth(sourceLayer.GetProperty(Dali::Layer::Property::DEPTH)); CameraActor* cameraActor = renderTask.GetCameraActor(); bool pickingPossible = cameraActor->BuildPickingRay(