[Problem] Properties were being applied twice to each instance.
[Cause] If an Actor instance is created we apply the style, which applies the style properties
as well as the individual properties. After this the individual properties are applied
again.
[Solution] Only apply the individual properties if the style properties have not been applied.
Change-Id: I39b8ad543b5cbb341e19bada25fb539797a1e3df
}
}
- ApplyProperties( root, node, handle, replacements );
-
- if( actor)
+ if( actor )
{
// add children of all the styles
if( OptionalChild actors = IsChild( node, KEYNAME_ACTORS ) )
parent.Add( actor );
}
}
-
+ else
+ {
+ ApplyProperties( root, node, handle, replacements );
+ }
}
else
{