!B (Sandbox) (CE-21378) Introduced common code path for prefabs and groups AddMember...
commit492e5c46c7d45e816520c7c9aeb08bde3a711ce5
authorAlessandro Osima <alessandro@crytek.com>
Fri, 9 Aug 2019 06:40:02 +0000 (9 06:40 +0000)
committerAlessandro Osima <alessandro@crytek.com>
Fri, 9 Aug 2019 06:40:02 +0000 (9 06:40 +0000)
tree9b70a809a04d8020a59dfca989ca42e7d49bb71c
parentd60ffc802aabab28e20a5143d48e99579ffcac73
!B (Sandbox) (CE-21378) Introduced common code path for prefabs and groups AddMember, fixed grammar inconstistencies, moved hierarchy checks function to groups, added a function to filter out members that cannot be added to a group. Changed instance modify code to make sure direct children of a group have the parent attribute removed after serialization. Fixed a bug where members of a group were missing deletion because of iterator invalidation in the m_children vector #savemebatman

Copied from Perforce
 Change: 2013555
Code/Sandbox/EditorQt/Objects/EditorCommands_Group.cpp
Code/Sandbox/EditorQt/Objects/EditorCommands_PrefabObject.cpp
Code/Sandbox/EditorQt/Objects/Group.cpp
Code/Sandbox/EditorQt/Objects/Group.h
Code/Sandbox/EditorQt/Objects/PrefabObject.cpp
Code/Sandbox/EditorQt/Prefabs/PrefabItem.cpp
Code/Sandbox/EditorQt/Prefabs/PrefabItem.h