Ensured that style array is cleared when Builder parse tree is reloaded 39/153539/1
authorDavid Steele <david.steele@samsung.com>
Thu, 28 Sep 2017 19:22:43 +0000 (20:22 +0100)
committerDavid Steele <david.steele@samsung.com>
Thu, 28 Sep 2017 19:22:43 +0000 (20:22 +0100)
commitced87ad561e5fd73b23c8abaa397b206448a2b4b
tree27a6c628815d9c46cd596c86e0e381791f6cd3ef
parent18b2fbead069731d9deb5a634cf98c433d172bbe
Ensured that style array is cleared when Builder parse tree is reloaded

If another JSON file is merged into an existing builder instance, it doesn't clear
down the styles array, which means that changes to existing styles aren't picked
up if they have already been parsed.

(In normal use, style sheet is merged before controls are read; or a new application
style sheet clears the existing builder instance).

Change-Id: If5320925e3ca6d7b1587e0c359c05e915ca47390
Signed-off-by: David Steele <david.steele@samsung.com>
dali-toolkit/internal/builder/builder-impl.cpp