Fix crash issue at VisualBase (DoAction + AnimateTo) 32/277032/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 29 Jun 2022 08:16:06 +0000 (17:16 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 29 Jun 2022 09:37:08 +0000 (18:37 +0900)
commit65233ffeec86a52a2f0a06608d10d752c3ac2869
tree10a5b23efc3f0b82da5d5600cfd8f8ea58eead39
parentaa6d5ffc76e7c5ad6785a4a426b9b6ba2ef4d99b
Fix crash issue at VisualBase (DoAction + AnimateTo)

Case 1 :

When we try to change decorated properties by DoAction and UPDATE_PROPERTY,
It can be crashed due to the VisualRenderer is not DecoratedVisualRenderer.
This patch make we update properties only for valid visual types.

Case 2 :

When we try to animate with DevelVisual's animatable property, It become crashed.
This cause we miss some logic of found registered property.
Now, we can run arc-visual.example

Change-Id: Icee700608277a4133426bb39a4c30b92ab8acc8f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-Visual.cpp
dali-toolkit/internal/visuals/visual-base-impl.cpp