[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46707] trunk/blender/release/scripts/ startup/bl_ui/properties_scene.py: KeyingSets UI - Improving button layout for legibility of buttons

Joshua Leung aligorith at gmail.com
Thu May 17 11:43:47 CEST 2012


Hi,

Actually, I was a a bit 50-50 on this. My main consideration here was
that the original names worked better in something like the datablocks
view and other abstract/auto views, where there is less supporting
context nearby and longer names make more sense. (Then again, I guess
hardly anyone really checks those, and those who do usually know what
they're looking for when they do this)

Anyways, it's a small change. Will fix soon.

Regards,
Joshua

On Thu, May 17, 2012 at 6:21 PM, Thomas Dinges <blender at dingto.org> wrote:
> Hi Joshua,
> I am not a fan of this, why not change the UI names in RNA directly?
>
> Such changes should not be done in the PY UI file. Thanks.
>
> Regards,
> Thomas
>
> Am 17.05.2012 04:49, schrieb Joshua Leung:
>> Revision: 46707
>>            http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46707
>> Author:   aligorith
>> Date:     2012-05-17 02:49:09 +0000 (Thu, 17 May 2012)
>> Log Message:
>> -----------
>> KeyingSets UI - Improving button layout for legibility of buttons
>>
>>
>> +def draw_keyingset_options(data, layout):
>> +    # NOTE: keep in sync with rna_def_common_keying_flags() in rna_animation.c
>> +    # These are defined out like this because the standard names are too long
>> +    layout.prop_enum(data, "bl_options", text="Only Needed", value='INSERTKEY_NEEDED')
>> +    layout.prop_enum(data, "bl_options", text="Visual Keying", value='INSERTKEY_VISUAL')
>> +    layout.prop_enum(data, "bl_options", text="XYZ=RGB Coloring", value='INSERTKEY_XYZ_TO_RGB')
>>
> --
> Thomas Dinges
> Blender Developer, Artist and Musician
>
> www.dingto.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list