From 70d820e7d3e807bc6eed209d267815065bfb617e Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Wed, 18 Aug 2021 10:21:12 +0900 Subject: [PATCH] Fix PropertyNotification issue Compare each component value for Vector3 Change-Id: I82ea7661a5bbaee24b0d5cfaf7d306e5d9d04d04 --- dali/internal/event/common/property-notification-impl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dali/internal/event/common/property-notification-impl.cpp b/dali/internal/event/common/property-notification-impl.cpp index afbd921..648bf97 100644 --- a/dali/internal/event/common/property-notification-impl.cpp +++ b/dali/internal/event/common/property-notification-impl.cpp @@ -99,9 +99,8 @@ PropertyNotification::PropertyNotification(UpdateManager& update } } - // In Size Property case, swapping components occurs sometimes. // To cover swapping components, previous and current components should be compared. - if(mObjectPropertyIndex == Dali::Actor::Property::SIZE && mObject->GetPropertyType(mObjectPropertyIndex) == Property::VECTOR3) + if(mObject->GetPropertyType(mObjectPropertyIndex) == Property::VECTOR3) { mCompare = true; for(int i = 0; i < 3; ++i) -- 2.7.4