[Bf-blender-cvs] [446a6465510] blender2.8: UI: hide decorators in panels w/o animated buttons

Campbell Barton noreply at git.blender.org
Sun Jun 17 12:39:54 CEST 2018


Commit: 446a646551014f31b3dc769ae85689ea9a4b3bce
Author: Campbell Barton
Date:   Sun Jun 17 12:38:28 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB446a646551014f31b3dc769ae85689ea9a4b3bce

UI: hide decorators in panels w/o animated buttons

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 3af16910c5b..1943ca55db8 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -130,6 +130,7 @@ class RENDER_PT_dimensions(RenderButtonsPanel, Panel):
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False  # No animation.
 
         scene = context.scene
         rd = scene.render
@@ -169,6 +170,7 @@ class RENDER_PT_frame_remapping(RenderButtonsPanel, Panel):
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False  # No animation.
 
         rd = context.scene.render
 
@@ -684,6 +686,7 @@ class RENDER_PT_eevee_sampling(RenderButtonsPanel, Panel):
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False  # No animation.
 
         scene = context.scene
         props = scene.eevee



More information about the Bf-blender-cvs mailing list