[Bf-blender-cvs] [1272035] master: Freestyle: removed the context switch button from the Freestyle panel in the Render properties window.

Tamito Kajiyama noreply at git.blender.org
Tue Jul 22 09:40:05 CEST 2014


Commit: 12720352a0e60eefcb690980c1278cf81e5942e8
Author: Tamito Kajiyama
Date:   Tue Jul 22 16:39:29 2014 +0900
Branches: master
https://developer.blender.org/rB12720352a0e60eefcb690980c1278cf81e5942e8

Freestyle: removed the context switch button from the Freestyle panel in the Render properties window.

The button was intended to guide new users of Freestyle, but actually that is a matter
of documentation.  The button is unlikely to be frequently used once users get familiar
with Freestyle panels in other contexts.  Now that Freestyle has been part of Blender
since a while, it seems time to clean the UI.

===================================================================

M	release/scripts/startup/bl_ui/properties_freestyle.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py
index c5716df..4392a0d 100644
--- a/release/scripts/startup/bl_ui/properties_freestyle.py
+++ b/release/scripts/startup/bl_ui/properties_freestyle.py
@@ -59,10 +59,6 @@ class RENDER_PT_freestyle(RenderFreestyleButtonsPanel, Panel):
         if (rd.line_thickness_mode == 'ABSOLUTE'):
             layout.prop(rd, "line_thickness")
 
-        row = layout.row()
-        row.label(text="Line style settings are in the Render Layers tab")
-        row.operator("wm.properties_context_change", text="", icon='RENDERLAYERS').context = 'RENDER_LAYER'
-
 
 # Render layer properties




More information about the Bf-blender-cvs mailing list