Fix PropertyNotification issue 83/262683/1
authorHeeyong Song <heeyong.song@samsung.com>
Wed, 18 Aug 2021 01:21:12 +0000 (10:21 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Wed, 18 Aug 2021 01:21:16 +0000 (10:21 +0900)
Compare each component value for Vector3

Change-Id: I82ea7661a5bbaee24b0d5cfaf7d306e5d9d04d04

dali/internal/event/common/property-notification-impl.cpp

index afbd921..648bf97 100644 (file)
@@ -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)