From fe88ae12b05b4676bda91811011826e7c1f70326 Mon Sep 17 00:00:00 2001 From: jackalbe <23512001+jackalbe@users.noreply.github.com> Date: Mon, 3 May 2021 10:02:04 -0500 Subject: [PATCH] {LYN-3365} GraphObjectProxy is now hidden from Script Canvas (#478) * GraphObjectProxy is now hidden from Script Canvas * the IGraphObject has been added to the BC Jira: https://jira.agscollab.com/browse/LYN-3365 Tests: manual testing the node type is not in the SC editor --- Code/Tools/SceneAPI/SceneCore/Containers/GraphObjectProxy.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Code/Tools/SceneAPI/SceneCore/Containers/GraphObjectProxy.cpp b/Code/Tools/SceneAPI/SceneCore/Containers/GraphObjectProxy.cpp index 4de42eb944..f2fda63ec4 100644 --- a/Code/Tools/SceneAPI/SceneCore/Containers/GraphObjectProxy.cpp +++ b/Code/Tools/SceneAPI/SceneCore/Containers/GraphObjectProxy.cpp @@ -25,9 +25,12 @@ namespace AZ AZ::BehaviorContext* behaviorContext = azrtti_cast(context); if (behaviorContext) { + behaviorContext->Class(); + behaviorContext->Class() ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common) ->Attribute(AZ::Script::Attributes::Module, "scene.graph") + ->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::All) ->Method("CastWithTypeName", &GraphObjectProxy::CastWithTypeName) ->Method("Invoke", &GraphObjectProxy::Invoke) ;