[NUI] Fixed the svace issues of Visuals
authorzhouleonlei <zhouleon.lei@samsung.com>
Tue, 10 Nov 2020 06:53:33 +0000 (14:53 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 11 Nov 2020 02:33:04 +0000 (11:33 +0900)
src/Tizen.NUI/src/public/Visuals/PrimitiveVisual.cs
src/Tizen.NUI/src/public/Visuals/VisualAnimator.cs

index d153f93..959545d 100755 (executable)
@@ -325,10 +325,7 @@ namespace Tizen.NUI
             if (_bevelPercentage != null) { _outputVisualMap.Add(PrimitiveVisualProperty.BevelPercentage, new PropertyValue((float)_bevelPercentage)); }
             if (_bevelSmoothness != null) { _outputVisualMap.Add(PrimitiveVisualProperty.BevelSmoothness, new PropertyValue((float)_bevelSmoothness)); }
             if (_lightPosition != null) { _outputVisualMap.Add(PrimitiveVisualProperty.LightPosition, new PropertyValue(_lightPosition)); }
-            if (_shader != null) { _outputVisualMap.Add(Visual.Property.Shader, new PropertyValue(_shader)); }
-            if (_premultipliedAlpha != null) { _outputVisualMap.Add(Visual.Property.PremultipliedAlpha, new PropertyValue((bool)_premultipliedAlpha)); }
-            if (_opacity != null) { _outputVisualMap.Add(Visual.Property.Opacity, new PropertyValue((float)_opacity)); }
-            if (_visualFittingMode != null) { _outputVisualMap.Add(Visual.Property.VisualFittingMode, new PropertyValue((int)_visualFittingMode)); }
+            base.ComposingPropertyMap();
         }
     }
 }
index 851f4e0..99e7834 100755 (executable)
@@ -163,6 +163,7 @@ namespace Tizen.NUI
             _transition.Add("animator", new PropertyValue(_animator));
 
             _outputVisualMap = _transition;
+            base.ComposingPropertyMap();
         }
     }
     //temporary fix for TCT