Merge pull request #5900 from aws-lumberyard-dev/fix_ghi5848_and_InstanceDataHierarchyEnumContainerTest
Fix for GHI5848 and InstanceDataHierarchyEnumContainerTest
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
#include <AzToolsFramework/API/ComponentEntityObjectBus.h>
|
||||
#include <AzToolsFramework/API/EditorCameraBus.h>
|
||||
#include <AzToolsFramework/API/ViewPaneOptions.h>
|
||||
#include <AzToolsFramework/API/ViewportEditorModeTrackerNotificationBus.h>
|
||||
#include <AzToolsFramework/Entity/EditorEntitySearchComponent.h>
|
||||
#include <AzToolsFramework/Entity/EditorEntitySortComponent.h>
|
||||
#include <AzToolsFramework/Entity/EditorEntityModelComponent.h>
|
||||
@@ -385,6 +386,7 @@ namespace AzToolsFramework
|
||||
ComponentModeFramework::ComponentModeDelegate::Reflect(context);
|
||||
|
||||
ViewportInteraction::ViewportInteractionReflect(context);
|
||||
ViewportEditorModeNotifications::Reflect(context);
|
||||
|
||||
Camera::EditorCameraRequests::Reflect(context);
|
||||
AzToolsFramework::EditorTransformComponentSelectionRequests::Reflect(context);
|
||||
|
||||
@@ -710,7 +710,7 @@ namespace UnitTest
|
||||
|
||||
auto getEnumData = [&ec](const AzToolsFramework::InstanceDataNode& node) -> Uuid
|
||||
{
|
||||
Uuid id;
|
||||
Uuid id = Uuid::CreateNull();
|
||||
auto attribute = node.GetElementMetadata()->FindAttribute(AZ_CRC("EnumType"));
|
||||
auto attributeData = azrtti_cast<AttributeData<AZ::TypeId>*>(attribute);
|
||||
if (attributeData)
|
||||
|
||||
Reference in New Issue
Block a user