Unregist visual directly when IMAGE have empty map 61/268761/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 31 Dec 2021 08:04:38 +0000 (17:04 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 5 Jan 2022 07:28:21 +0000 (16:28 +0900)
commitce600f9ad5029388cd484f92203437e9c9117933
tree8585cdd2c1c8ff2e3ccc2a9e110a5b6ebca8e4da
parentf9b3bd2fc9a97770affb1c5de7cd6a15995d90e6
Unregist visual directly when IMAGE have empty map

Directly unregist visual when Property::IMAGE have empty map.
This code just follow up the action of control's Property::BACKGROUND doing.

When map is empty, the visual cannot be created. So it will always unregist visual before.
This patch just unregist the IMAGE's visual directly.
This will not print error message when NUI try to Unregist imagevisual

Change-Id: Ifdabbf3555a4471b0d3cf1da7b3f405a5e91553b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit-internal/utc-Dali-DebugRendering.cpp
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.cpp