Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add track filter preset for AnimationTree #6808

Open
Daylily-Zeleen opened this issue May 4, 2023 · 0 comments
Open

Add track filter preset for AnimationTree #6808

Daylily-Zeleen opened this issue May 4, 2023 · 0 comments

Comments

@Daylily-Zeleen
Copy link

Describe the project you are working on

N/ A

Describe the problem or limitation you are having in your project

Currently, we should edit filter option for each AnimationNode, it is very easy to make mistake if the AnimationTree is complicated.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

We can save a filter setting as preset and load it when we need, instead of checking tracks many times.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

  1. Create a resource class TrackFilterPreset to hold a HashMap<StringName, Vector<NodePath>> property, name it as presets.
  2. Add track_preset as a property of AnimationTree.
  3. Modify filter edit dialog to support function of create, modify, and load track preset.

If this enhancement will not be used often, can it be worked around with a few lines of script?

We can create a TrackFilterPreset resource without working with AnimationTree, and create a new AnimationTree Editor to support this feature. But obviously, to create an AnimationTree Editor is a heavy work.

Is there a reason why this should be core and not an add-on in the asset library?

Refer to above.

@Calinou Calinou changed the title Add track filter preset for AnimationTree. Add track filter preset for AnimationTree May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants