X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-data-impl.cpp;h=90dcd3242d094c46a7991acd670d17f7aaec38cf;hb=d89ca5c663fa01a5b2e083f4141d90683e0a716a;hp=374ff68bc7bf15302c3ec61907f9e28998cc6cb6;hpb=ecf31ea6865a0ebd5b668166427def6499b3ddc1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/visual-base-data-impl.cpp b/dali-toolkit/internal/visuals/visual-base-data-impl.cpp index 374ff68..90dcd32 100644 --- a/dali-toolkit/internal/visuals/visual-base-data-impl.cpp +++ b/dali-toolkit/internal/visuals/visual-base-data-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -114,7 +114,7 @@ bool GetPolicyFromValue( const Property::Value& value, Vector2& policy ) } // unnamed namespace -Internal::Visual::Base::Impl::Impl() +Internal::Visual::Base::Impl::Impl(FittingMode fittingMode) : mCustomShader( NULL ), mBlendSlotDelegate( NULL ), mResourceObserver( NULL ), @@ -123,7 +123,7 @@ Internal::Visual::Base::Impl::Impl() mControlSize( Vector2::ZERO ), mDepthIndex( 0.0f ), mMixColorIndex( Property::INVALID_INDEX ), - mOpacityIndex( Property::INVALID_INDEX ), + mFittingMode( fittingMode ), mFlags( 0 ), mResourceStatus( Toolkit::Visual::ResourceStatus::PREPARING ) {