[Bf-committers] Attribute locking - UI feature

Campbell Barton ideasman42 at gmail.com
Wed Jan 29 12:41:48 CET 2014


Heres an update to the patch developed with Alex with some
improvements and changes:

https://developer.blender.org/D270

On Tue, Jan 28, 2014 at 1:28 PM, Jonathan Williamson
<jonathan at cgcookie.com> wrote:
> This is a feature I've wanted for a long time. I think it should be
> directly supported by specific fields, via a toggle. Such as dimensions,
> transform, scale, resolution, etc.
>
> Then for more arbitrary fields a driver is fine.
>
> On Monday, January 27, 2014, Daniel Salazar - patazstudio.com <
> zanqdo at gmail.com> wrote:
>
>> This could be solved by easy Drag and Drop or RMB From/TO driver
>> creation. IE: RMB on X > "Drive this attribute" , RMB on Y > "With
>> this attribute"
>> Daniel Salazar
>> patazstudio.com
>>
>>
>> On Mon, Jan 27, 2014 at 8:07 PM, Alex Fraser <alex at phatcore.com<javascript:;>>
>> wrote:
>> > On 28 January 2014 12:49, Antony Riakiotakis <kalast at gmail.com<javascript:;>>
>> 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)
>> > _______________________________________________
>> > Bf-committers mailing list
>> > Bf-committers at blender.org <javascript:;>
>> > http://lists.blender.org/mailman/listinfo/bf-committers
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org <javascript:;>
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
> --
> Jonathan Williamson
> http://cgcookie.com
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list