Bug fixes and improvements brought over from demo work.
* Generic Multi Function Call ability added to extensible nodes * Code gen improvements, including allowing for more manually codewritten extension of codegen facilities * CVAR to disable automatic update of deprecated node * Fixed variable sorting error that can apply to parser/runtime added variables * Made Edit/SerializeContext ClassBuilder public, as it was needlessly private * Fixed dangerous Datum::GetValueAddress(), it now checks for an empty storage AZSTd::any, as does Datum::Empty()
This commit is contained in:
@@ -91,7 +91,8 @@ AZ_POP_DISABLE_WARNING
|
||||
#include <ScriptCanvas/Variable/VariableBus.h>
|
||||
#include <ScriptCanvas/Libraries/UnitTesting/UnitTestingLibrary.h>
|
||||
|
||||
////
|
||||
AZ_CVAR(bool, g_disableDeprecatedNodeUpdates, false, {}, AZ::ConsoleFunctorFlags::Null,
|
||||
"Disables automatic update attempts of deprecated nodes, so that graphs that require and update can be viewed in their original form");
|
||||
|
||||
namespace EditorGraphCpp
|
||||
{
|
||||
@@ -3642,7 +3643,7 @@ namespace ScriptCanvasEditor
|
||||
|
||||
if (scriptCanvasNode)
|
||||
{
|
||||
if (scriptCanvasNode->IsDeprecated())
|
||||
if (scriptCanvasNode->IsDeprecated() && !g_disableDeprecatedNodeUpdates)
|
||||
{
|
||||
ScriptCanvas::NodeConfiguration nodeConfig = scriptCanvasNode->GetReplacementNodeConfiguration();
|
||||
if (nodeConfig.IsValid())
|
||||
|
||||
Reference in New Issue
Block a user