Fix portential of error when we load facial file 06/312606/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 12 Jun 2024 06:51:39 +0000 (15:51 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Wed, 19 Jun 2024 04:12:22 +0000 (04:12 +0000)
Change-Id: I2668960dec5910cb7d2333b113e4ed5fa4977de1
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-scene3d/public-api/loader/facial-animation-loader.cpp

index 81b42fd..1f83007 100644 (file)
@@ -38,7 +38,7 @@ const float MILLISECONDS_TO_SECONDS = 0.001f;
 \r
 struct BlendShape\r
 {\r
-  std::vector<std::vector<float>> mKeys{{}};\r
+  std::vector<std::vector<float>> mKeys{};\r
   std::string_view                mNodeName{};\r
   uint32_t                        mNumberOfMorphTarget{0u};\r
   std::string_view                mVersion{};\r
@@ -49,7 +49,7 @@ struct BlendShape
 struct FacialAnimation\r
 {\r
   std::string_view        mName{};\r
-  std::vector<BlendShape> mBlendShapes{{}};\r
+  std::vector<BlendShape> mBlendShapes{};\r
   std::string_view        mVersion{};\r
   uint32_t                mNumberOfShapes{0u};\r
   std::vector<uint32_t>   mTime{};\r