[Tizen] Do not name check to add node 96/285396/1
authorseungho baek <sbsh.baek@samsung.com>
Mon, 12 Dec 2022 05:26:05 +0000 (14:26 +0900)
committerseungho baek <sbsh.baek@samsung.com>
Mon, 12 Dec 2022 06:07:35 +0000 (15:07 +0900)
 - We don't need to make crash when multiple nodes had same name.
 - DALi actor also allows duplicated name.

Change-Id: Ibcb3e21640cf2a8124bb450b73159eeaf1cdf4f3
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
dali-scene3d/public-api/loader/scene-definition.cpp

index 1e2cf61..e5102f5 100644 (file)
@@ -526,11 +526,6 @@ void SceneDefinition::GetCustomizationOptions(const Customization::Choices& choi
 
 NodeDefinition* SceneDefinition::AddNode(std::unique_ptr<NodeDefinition>&& nodeDef)
 {
-  if(!nodeDef->mName.empty() && FindNode(nodeDef->mName))
-  {
-    return nullptr;
-  }
-
   // add next index (to which we're about to push) as a child to the designated parent, if any.
   if(nodeDef->mParentIdx != INVALID_INDEX)
   {