Page MenuHome

Value Ladders
Needs ReviewPublic

Authored by Julian Eisel (Severin) on Aug 22 2014, 11:40 PM.

Details

Summary

Value Ladders

This patch implements value ladders for number and number-slider buttons.

About Value Ladders
Now, what are value ladders and how will they work?
Value ladders are small pop-ups from which you can edit the individual digits of a button's value by clicking and dragging the according “step” of the ladder.

Current Design (UI + UX)
A ladder can be created, by 'alt+LMB' (click+release). You can then manipulate the values/steps by 'LMB' (click+drag+release). Holding down shift while doing this, makes the value change slower than before, providing more control.


You can repeat that on as many steps as wanted.
With a click on 'LMB' or 'Enter' the changes are confirmed and the value ladder gets closed. It is always possible to cancel the process and reset the original value by pressing 'ESC' or 'RMB'.

Support for Multi-Number Button Editing
The new value ladders do also support multi-number button editing (D270). You simply need to 'alt+LMB' (click) and drag over the wanted buttons, to edit them all at once.

Further Design
Please do not request design changes here, as this is mainly for code review. A design task for this will follow, soon.

Note: Patch depends on D759. Make sure to patch it, or this will fail.

Diff Detail

Event Timeline

Patch isn't applying on master:

Applying patch source/blender/editors/interface/interface_handlers.c with 1 reject...
Applying patch source/blender/editors/interface/interface_intern.h with 1 reject...

Patch isn't applying on master:

Applying patch source/blender/editors/interface/interface_handlers.c with 1 reject...
Applying patch source/blender/editors/interface/interface_intern.h with 1 reject...

Did you see: "Note: Patch depends on D759. Make sure to patch it, or this will fail."

Julian Eisel (Severin) updated this revision to Diff 2914.EditedNov 21 2014, 12:59 AM
Julian Eisel (Severin) edited edge metadata.

Rebased on latest master

Rebased patch on latest master, making it ready for further development, so we can review and get it into master soon.

Note: Current version of the patch isn't really usable, as there are a few issues producing crashes. Will check them soon.

Hi.

Houdini has one of the best ladders. Possibly this video will be useful as a reference http://youtu.be/0lMKPhnc66E

note, (maybe am a bit biased) - but would like to see editing selected objects values handled before this patch.

See: P185

I've talked to @Julian Eisel (Severin) about this and he's interested to finish the patch off.

Editing all values of the was a 2.5x planned feature but was never implemented.
This patch touches similar parts of the code and theres a chance the functionality conflicts,

Damn, forgot to press the submit button again :P

@Campbell Barton (campbellbarton), agree, let's get Multi-Object Editing (as I call it) done first, and build value ladders around it to avoid conflicts.