X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fanimation%2Flinear-constrainer-impl.cpp;h=41f624887486f2624a8c83060c68c5cbcc5972fb;hb=ae9aa6c8f6feaa85138ef7ca5a13b280923989a2;hp=11ef59e0e35e8b10350a27b77c52d7fd52956289;hpb=3f42d1facfea951dcfd3e267bcd9c061979d93d1;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/animation/linear-constrainer-impl.cpp b/dali/internal/event/animation/linear-constrainer-impl.cpp index 11ef59e..41f6248 100644 --- a/dali/internal/event/animation/linear-constrainer-impl.cpp +++ b/dali/internal/event/animation/linear-constrainer-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -135,7 +135,7 @@ Property::Value LinearConstrainer::GetDefaultProperty( Property::Index index ) c { Property::Value value( Property::ARRAY ); Property::Array* array = value.GetArray(); - size_t count( mValue.Size() ); + size_t count( mProgress.Size() ); if( array ) { @@ -151,6 +151,11 @@ Property::Value LinearConstrainer::GetDefaultProperty( Property::Index index ) c return Property::Value(); } +Property::Value LinearConstrainer::GetDefaultPropertyCurrentValue( Property::Index index ) const +{ + return GetDefaultProperty( index ); // Event-side only properties +} + void LinearConstrainer::SetDefaultProperty( Property::Index index, const Property::Value& propertyValue ) { const Property::Array* array = propertyValue.GetArray();