Remove unnecessary log in the npatch-loader 20/249820/1
authorseungho <sbsh.baek@samsung.com>
Thu, 17 Dec 2020 03:21:06 +0000 (12:21 +0900)
committerseungho <sbsh.baek@samsung.com>
Thu, 17 Dec 2020 03:21:06 +0000 (12:21 +0900)
 - GetNPatchData method is allowed that can be called before npatchData is created.(like GetNaturalSize)
 - And, to fail to find cache with the id is not an error too.
 - Therefore, this patch removes the error log from the GetCacheIndexFromId

Change-Id: If88dc611d8e5ad7431ae4485a5cbc8e2e08a4111
Signed-off-by: seungho <sbsh.baek@samsung.com>
dali-toolkit/internal/visuals/npatch-loader.cpp

index f5d92ab..f0b154a 100644 (file)
@@ -155,7 +155,6 @@ int32_t NPatchLoader::GetCacheIndexFromId( const NPatchData::NPatchDataId id )
     }
   }
 
-  DALI_LOG_ERROR("Wrong NPatchDataId is used\n");
   return INVALID_CACHE_INDEX;
 }