X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fcommon%2Fscene-graph-property-notification.cpp;h=82464fc55c5e94587af588da7eccd4e8b8888546;hb=61260bb3612098fca7124f400637237cb3f181d6;hp=ed33b3c246c1fa89b1b7b11972f8b744eb997cc5;hpb=93484c418fa65dc60cddb0e0d74ca04fed972154;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/common/scene-graph-property-notification.cpp b/dali/internal/update/common/scene-graph-property-notification.cpp index ed33b3c..82464fc 100644 --- a/dali/internal/update/common/scene-graph-property-notification.cpp +++ b/dali/internal/update/common/scene-graph-property-notification.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -60,7 +60,8 @@ PropertyNotification::PropertyNotification(Object& object, mConditionType(condition), mArguments(arguments), mValid(false), - mNotifyMode( Dali::PropertyNotification::Disabled ) + mNotifyMode( Dali::PropertyNotification::Disabled ), + mConditionFunction(NULL) { SetNotifyMode(notifyMode); @@ -134,8 +135,8 @@ bool PropertyNotification::Check( BufferIndex bufferIndex ) if ( Property::INVALID_COMPONENT_INDEX != mComponentIndex ) { // Evaluate Condition - const PropertyInputComponentAccessor component( mProperty, mComponentIndex ); - const PropertyInputIndexer< PropertyInputComponentAccessor > input( bufferIndex, &component ); + const PropertyInputAccessor component( mProperty, mComponentIndex ); + const PropertyInputIndexer< PropertyInputAccessor > input( bufferIndex, &component ); currentValid = mConditionFunction(input, mArguments); } else