Allow pasting State nodes in Anim Graph

#3596
This commit is contained in:
Wojtek Figat
2025-08-14 12:24:02 +02:00
parent d43c0c593f
commit 2f7d7a0f2a

View File

@@ -810,7 +810,7 @@ namespace FlaxEditor.Surface.Archetypes
Create = (id, context, arch, groupArch) => new StateMachineState(id, context, arch, groupArch), Create = (id, context, arch, groupArch) => new StateMachineState(id, context, arch, groupArch),
Title = "State", Title = "State",
Description = "The animation states machine state node", Description = "The animation states machine state node",
Flags = NodeFlags.AnimGraph | NodeFlags.NoSpawnViaGUI | NodeFlags.NoSpawnViaPaste, Flags = NodeFlags.AnimGraph | NodeFlags.NoSpawnViaGUI,
Size = new Float2(100, 0), Size = new Float2(100, 0),
DefaultValues = new object[] DefaultValues = new object[]
{ {