Allow special characters in AnimGraph node group names

Relying on the command system's string processing syntax prevents certain
names from being used. This converts the AnimGraphAdjustNodeGroup command
to be directly invokable, so that arguments can be passed directly, instead
of going through the CommandLine string parsing.

Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
Chris Burel
2021-07-16 08:52:55 -07:00
parent 9ee9730294
commit 8730d5657f
8 changed files with 260 additions and 177 deletions
+3 -3
View File
@@ -28,10 +28,10 @@ namespace MCore
// constructor
Command::Command(const char* commandName, Command* originalCommand)
Command::Command(AZStd::string commandName, Command* originalCommand)
: mOrgCommand(originalCommand)
, mCommandName(AZStd::move(commandName))
{
mCommandName = commandName;
mOrgCommand = originalCommand;
}