RiveAnimationView: set renderer when actor is connected to scene 91/269291/3
authorTaehyub Kim <taehyub.kim@samsung.com>
Wed, 12 Jan 2022 11:03:20 +0000 (20:03 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Fri, 14 Jan 2022 02:35:58 +0000 (11:35 +0900)
There is no action to set the renderer to an actor when the scene is connected.
so fix this bug.

Change-Id: Ibc08dbee406fdc6fa7d93b9b0de1c9f6098ff5ee

dali-extension/internal/rive-animation-view/rive-animation-view-impl.cpp

index 83e7a3e..c86f053 100644 (file)
@@ -155,6 +155,7 @@ void RiveAnimationView::OnSceneConnection(int depth)
   }
   else
   {
+    mRiveAnimationTask->SetRenderer(mRenderer);
     Actor actor = Self();
 
     // Add property notification for scaling & size