[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

Thomas Dinges blender at dingto.org
Thu May 17 08:21:10 CEST 2012


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



More information about the Bf-committers mailing list