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:
chcurran
2021-06-03 13:13:22 -07:00
parent bf0df4b369
commit 0a9d6f5f0f
21 changed files with 4416 additions and 5246 deletions
@@ -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())