X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fbuilder%2Fbuilder-set-property.cpp;h=7cd45b6a80132308c1f2eb159d697b7a60323a6b;hp=c78e19c1a884ea953e409333487c41f754cabe6d;hb=f3da11c2818c6d17706fbb2417f21b602b3190f5;hpb=2047844bb3b4a84231905c8c540d34d4c468e5ad diff --git a/dali-toolkit/internal/builder/builder-set-property.cpp b/dali-toolkit/internal/builder/builder-set-property.cpp index c78e19c..7cd45b6 100644 --- a/dali-toolkit/internal/builder/builder-set-property.cpp +++ b/dali-toolkit/internal/builder/builder-set-property.cpp @@ -102,7 +102,7 @@ Vector4 HexStringToVector4( const char* s ) /** * A property value type can be forced when its unknown by a disambiguation convention in the json * ie "myarray": [1,2,3,4] ; would be a vector but - * "myarray": {'type-cast':'array', 'value':[1,2,3,4]} would be an array + * "myarray": {"typeCast":"array", "value":[1,2,3,4]} would be an array * @param child The node whos string to search for a disambiguated type * @param value The value to set * @param overrideMap The user overriding constant map @@ -113,7 +113,7 @@ bool Disambiguated(const TreeNode& child, // ConstantLut& constantLut, Dali::Property::Value& value, const Replacement& replacement ) { - OptionalString childType = IsString( IsChild(child, "type-cast") ); + OptionalString childType = IsString( IsChild(child, "typeCast") ); OptionalChild childValue = IsChild(child, "value"); if( childType && childValue && (2 == child.Size()) )