(Properties) Fixes to Actor/ShaderEffect/ImageActor incorrectly setting properties.
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 25 Mar 2014 17:49:04 +0000 (17:49 +0000)
committerPaul Wisbey <p.wisbey@samsung.com>
Thu, 3 Apr 2014 16:04:42 +0000 (17:04 +0100)
commita58d1439bb7ddd1664692c3bf41be11ce11469c3
treed4149ba3b7c19ec3e179286584ad101a9df1afdb
parente324f0d5d9a4b79295501d98e0990a5203afc8bb
(Properties) Fixes to Actor/ShaderEffect/ImageActor incorrectly setting properties.

[Problem]  1) Actor world-scale type and name is out-of-sync.
           2) Cannot create a shader effect if geometry is not specified in script.
           3) ImageActor setting nine-patch property does not work.
[Cause]    1) Mistake in table initialisation. Table is clearer in a later patch.
           2) Only creating a shader-effect if geometry is specified.
           3) Not specifying that our values are in pixels.
[Solution] 1) Fix.
           2) Create with default geometry type.
           3) Specify that we have specified the 9-patch border in pixels.

Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
automated-tests/dali-test-suite/actors/utc-Dali-Actor.cpp
dali/internal/event/actors/actor-impl.cpp
dali/internal/event/actors/image-actor-impl.cpp
dali/internal/event/effects/shader-effect-impl.cpp