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

Implement editing point values directly in Curve editor #5579

Open
timothyqiu opened this issue Oct 13, 2022 · 1 comment
Open

Implement editing point values directly in Curve editor #5579

timothyqiu opened this issue Oct 13, 2022 · 1 comment

Comments

@timothyqiu
Copy link
Member

Describe the project you are working on

A project that uses a Curve resource to define projectile curve.

Describe the problem or limitation you are having in your project

The Curve editor lists point values in the Points array, so it is currently possible to edit the exact value for points.

But it becomes harder and harder as the number of points increases, you have to count the point index in order to find it in the array.

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

Add a new entry in the point context menu to set the time/value pair directly.

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

Replace Add Point with a Edit Point entry in the point context menu. (Or add a new one, but I think Add Point on an existing point does not make much sense.)

ksnip_20221013-152643

Selecting this menu item pops up a Vector2 editor in place. Press enter to submit the new value, or dismiss the popup to cancel.

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

No. The Curve editor is a built-in editor plugin.

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

Same as above.

@Calinou Calinou changed the title Edit point value directly in Curve editor Implement editing point values directly in Curve editors Oct 13, 2022
@Calinou Calinou changed the title Implement editing point values directly in Curve editors Implement editing point values directly in Curve editor Oct 13, 2022
@anvilfolk
Copy link

Currently digging into curves and their editor, wanted to let you know this is on my radar and hopefully means it'll get in at some point! :)

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

3 participants