X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Fanimation%2Fconstrainer-api.cpp;h=8f55d2795636d7cb56412a939122a921f46d5bc4;hb=c21f89ce2860e287d964cf11c5267f9d240660f4;hp=701f4d41ec6604962fd6da5304f52e7bf08df395;hpb=5b6fb7aeb709bac7797bbc6400b0c76996faebf2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-script-v8/src/animation/constrainer-api.cpp b/plugins/dali-script-v8/src/animation/constrainer-api.cpp index 701f4d4..8f55d27 100644 --- a/plugins/dali-script-v8/src/animation/constrainer-api.cpp +++ b/plugins/dali-script-v8/src/animation/constrainer-api.cpp @@ -116,8 +116,7 @@ bool GetApplyParameters( const v8::FunctionCallbackInfo< v8::Value >& args, Acto targetPropertyIndex = targetActor.GetPropertyIndex( propertyName ); if( targetPropertyIndex == Property::INVALID_INDEX ) { - std::string convertedName = V8Utils::JavaScriptNameToPropertyName( propertyName ); - targetPropertyIndex = targetActor.GetPropertyIndex( convertedName ); + targetPropertyIndex = targetActor.GetPropertyIndex( propertyName ); if( targetPropertyIndex == Property::INVALID_INDEX ) { @@ -140,8 +139,7 @@ bool GetApplyParameters( const v8::FunctionCallbackInfo< v8::Value >& args, Acto sourcePropertyIndex = targetActor.GetPropertyIndex( propertyName ); if( sourcePropertyIndex == Property::INVALID_INDEX ) { - std::string convertedName = V8Utils::JavaScriptNameToPropertyName( propertyName ); - sourcePropertyIndex = targetActor.GetPropertyIndex( convertedName ); + sourcePropertyIndex = targetActor.GetPropertyIndex( propertyName ); if( sourcePropertyIndex == Property::INVALID_INDEX ) { @@ -210,7 +208,7 @@ bool GetApplyParameters( const v8::FunctionCallbackInfo< v8::Value >& args, Acto * var constraintPosition = { "target":targetActor, * "targetProperty":"position", * "source":sourceActor, - * "sourceProperty":"color-alpha", + * "sourceProperty":"colorAlpha", * "range":range * "wrap":wrap * };