Add check for whether the Renderer has been created. 87/178587/2
authorthothamon <jason.perry@partner.samsung.com>
Thu, 10 May 2018 14:05:36 +0000 (15:05 +0100)
committerthothamon <jason.perry@partner.samsung.com>
Thu, 10 May 2018 16:46:57 +0000 (17:46 +0100)
commit35ee945a45d0f0d2db4a3db2e66074bf2926b1ab
treeb45dfc0d2141d60adc951206f722b9f54e0e19f4
parentca61494ed55277059890404871548bfdfdd0260f
Add check for whether the Renderer has been created.

 - the Renderer is not created until after an actor has been added to
the Stage
  - add test case 'UtcDaliImageVisualAnimateOpacity02' which checks
whether the Renderer is resident before the actor is staged but after a
transition has been created.

Change-Id: Ib9d450d98d8c482ff3396ddaea7b2e720d385d4e
automated-tests/src/dali-toolkit/utc-Dali-ImageVisual.cpp
dali-toolkit/internal/controls/control/control-data-impl.cpp
dali-toolkit/internal/visuals/visual-base-impl.cpp
dali-toolkit/internal/visuals/visual-base-impl.h