[Bf-committers] Attribute locking - UI feature

Alex Fraser alex at phatcore.com
Tue Jan 28 03:07:43 CET 2014


On 28 January 2014 12:49, Antony Riakiotakis <kalast at gmail.com> wrote:
> Sometimes it can be desirable to lock two or more attributes together so
> that changing one changes the other too.
>
> Some examples on that are image dimensions (so aspect ratio remains the
> same) and object scale (so changing one attribute changes the scale of the
> whole object).

Campbell and I started a patch for a similar feature: if you click in
a field and drag up or down, it selects other fields that will be
updated at the same time. It supports dragging left/right to change
numerical values, and text entry with the keyboard for numbers and
strings. The current behaviour is to apply the same value to all
selected fields. This could be changed to maintain ratios for
numerical fields.

http://www.pasteall.org/49101/diff

This method finds fields by panel layout, so there are no required
changes to RNA.

Any thoughts?

Cheers,
Alex (z0r)


More information about the Bf-committers mailing list