[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55940] trunk/blender/release/scripts/ startup/bl_ui/properties_freestyle.py: Added to the Freestyle panel in the Render buttons a button to switch to the Render Layers context .

Thomas Dinges blender at dingto.org
Wed Apr 10 22:32:56 CEST 2013


Hi Tamito,
I am not so happy with this solution.

The only place where we use this, is the modifier stack at the moment.
One could argue, that such a button or notice could be added to a lot 
more places. Imho, we should just document where the settings are, that 
should be fine.

I understand that for long time Freestyle users this might be a bit 
confusing atm, but on the other hand we should really avoid adding such 
special cases in the UI to jump from one place to another, just because 
all settings are not in 1 place.

Best regards,
Thomas

Am 10.04.2013 22:20, schrieb Tamito Kajiyama:
> Revision: 55940
>            http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55940
> Author:   kjym3
> Date:     2013-04-10 20:20:20 +0000 (Wed, 10 Apr 2013)
> Log Message:
> -----------
> Added to the Freestyle panel in the Render buttons a button to switch to the Render Layers context.
>
> Modified Paths:
> --------------
>      trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py
>
> Modified: trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py
> ===================================================================
> --- trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py	2013-04-10 20:05:11 UTC (rev 55939)
> +++ trunk/blender/release/scripts/startup/bl_ui/properties_freestyle.py	2013-04-10 20:20:20 UTC (rev 55940)
> @@ -60,7 +60,9 @@
>           row.active = (rd.line_thickness_mode == 'ABSOLUTE')
>           row.prop(rd, "line_thickness")
>   
> -        layout.label(text="Line style settings are found in the Render Layers context")
> +        row = layout.row()
> +        row.label(text="Line style settings are found in the Render Layers context")
> +        row.operator("wm.properties_context_change", text="", icon='BUTS').context = 'RENDER_LAYER'
>   
>   
>   # Render layer properties
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs


-- 
Thomas Dinges
Blender Developer, Artist and Musician

www.dingto.org



More information about the Bf-committers mailing list