[dali_2.3.18] Merge branch 'devel/master' 82/309182/1
authorDavid Steele <david.steele@samsung.com>
Fri, 5 Apr 2024 09:58:15 +0000 (10:58 +0100)
committerDavid Steele <david.steele@samsung.com>
Fri, 5 Apr 2024 09:58:15 +0000 (10:58 +0100)
Change-Id: Iae2f5e81b7a1a2b5ee43c43bd342d08aa15d735c

dali-scene3d/internal/controls/scene-view/scene-view-impl.cpp
dali-scene3d/internal/controls/scene-view/scene-view-impl.h
dali-scene3d/internal/event/collider-mesh-processor-impl.cpp
dali-toolkit/public-api/controls/control-impl.cpp
dali-toolkit/public-api/controls/control-impl.h
dali-toolkit/public-api/dali-toolkit-version.cpp
packaging/dali-toolkit.spec

index 38e5611..8c9b9b3 100644 (file)
@@ -904,6 +904,11 @@ bool SceneView::IsEnabledCropToMask()
   return mCropToMask;
 }
 
+Dali::RenderTask SceneView::GetRenderTask()
+{
+  return mRenderTask;
+}
+
 void SceneView::SetProperty(BaseObject* object, Property::Index index, const Property::Value& value)
 {
   Scene3D::SceneView sceneView = Scene3D::SceneView::DownCast(Dali::BaseHandle(object));
index 1ddfd27..3d8c639 100644 (file)
@@ -288,6 +288,11 @@ public:
    */
   bool IsEnabledCropToMask();
 
+  /**
+   * @brief Gets current RenderTask
+   */
+  Dali::RenderTask GetRenderTask();
+
   // Properties
 
   /**
index c205433..2ec0fed 100644 (file)
@@ -94,11 +94,9 @@ public:
       Vector3     direction;
       cameraActor.ScreenToLocal(x, y, result.x, result.y);
 
-      auto                  list      = Stage::GetCurrent().GetRenderTaskList();
-      [[maybe_unused]] auto taskCount = list.GetTaskCount();
-      renderTask                      = list.GetTask(list.GetTaskCount() - 1);
+      auto sceneViewRenderTask = GetImpl(sceneView).GetRenderTask();
 
-      if(HitTestAlgorithm::BuildPickingRay(renderTask, result, origin, direction))
+      if(sceneViewRenderTask && HitTestAlgorithm::BuildPickingRay(sceneViewRenderTask, result, origin, direction))
       {
         for(auto& mesh : meshData)
         {
index 9af21f6..67b5ab0 100644 (file)
@@ -308,12 +308,6 @@ bool Control::IsKeyboardFocusGroup()
   return Toolkit::KeyboardFocusManager::Get().IsFocusGroup(Self());
 }
 
-void Control::AccessibilityActivate()
-{
-  // Inform deriving classes
-  OnAccessibilityActivated();
-}
-
 void Control::KeyboardEnter()
 {
   // Inform deriving classes
index 9c156d4..9e2915e 100644 (file)
@@ -264,12 +264,6 @@ public:
 
   /// @cond internal
   /**
-   * @brief Called by the AccessibilityManager to activate the Control.
-   * @SINCE_1_0.0
-   */
-  DALI_INTERNAL void AccessibilityActivate();
-
-  /**
    * @brief Called by the KeyboardFocusManager.
    * @SINCE_1_0.0
    */
index 3e961d9..81dc48e 100644 (file)
@@ -29,7 +29,7 @@ namespace Toolkit
 {
 const unsigned int TOOLKIT_MAJOR_VERSION = 2;
 const unsigned int TOOLKIT_MINOR_VERSION = 3;
-const unsigned int TOOLKIT_MICRO_VERSION = 17;
+const unsigned int TOOLKIT_MICRO_VERSION = 18;
 const char* const  TOOLKIT_BUILD_DATE    = __DATE__ " " __TIME__;
 
 #ifdef DEBUG_ENABLED
index 1f81a97..6c83b22 100644 (file)
@@ -1,6 +1,6 @@
 Name:       dali2-toolkit
 Summary:    Dali 3D engine Toolkit
-Version:    2.3.17
+Version:    2.3.18
 Release:    1
 Group:      System/Libraries
 License:    Apache-2.0 and BSD-3-Clause and MIT