Revert "[Tizen] Fix SVACE issue"
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Nov 2018 08:20:11 +0000 (17:20 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Nov 2018 08:20:11 +0000 (17:20 +0900)
This reverts commit 904622ff2041870d9167235ccdafc4a991e2abe6.

dali-toolkit/internal/controls/image-view/image-view-impl.cpp

index 859ef08..f332cf6 100755 (executable)
@@ -410,23 +410,19 @@ void ImageView::SetProperty( BaseObject* object, Property::Index index, const Pr
             // the property map contains only the custom shader
             else if( ( map->Count() == 1u )&&( shaderValue ) )
             {
             // the property map contains only the custom shader
             else if( ( map->Count() == 1u )&&( shaderValue ) )
             {
-              Property::Map* shaderMap = shaderValue->GetMap();
-              if( shaderMap )
+              impl.mShaderMap = *( shaderValue->GetMap() );
+
+              if( !impl.mUrl.empty() )
+              {
+                impl.SetImage( impl.mUrl, impl.mImageSize );
+              }
+              else if( impl.mImage )
+              {
+                impl.SetImage( impl.mImage );
+              }
+              else if( !impl.mPropertyMap.Empty() )
               {
               {
-                impl.mShaderMap = *shaderMap;
-
-                if( !impl.mUrl.empty() )
-                {
-                  impl.SetImage( impl.mUrl, impl.mImageSize );
-                }
-                else if( impl.mImage )
-                {
-                  impl.SetImage( impl.mImage );
-                }
-                else if( !impl.mPropertyMap.Empty() )
-                {
-                  impl.SetImage( impl.mPropertyMap );
-                }
+                impl.SetImage( impl.mPropertyMap );
               }
             }
           }
               }
             }
           }