Make we use valid geometry if broken image was n-patch and reloaded 42/304842/7
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 24 Jan 2024 07:30:56 +0000 (16:30 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 25 Jan 2024 07:47:12 +0000 (16:47 +0900)
commitbcd234fc96035a85ab1a116c4ef8dc68ce3885cf
tree189987fdf3e1362321b2c58e727289467b4885da
parent0970f95a962eae46a61118f1a4c914cabe1396c2
Make we use valid geometry if broken image was n-patch and reloaded

It is possible that we use broken image not matched with given visual,
and then Reload API call it, and successed.

For this case, we need to change to use valid geometry again.

Change-Id: I2df7fb8b6123361b515b8f9ac9c1fafc77f665b6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/resources/overwritable-image.jpg [new file with mode: 0644]
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/image/image-visual.h