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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user