UI: disable decorators for color management and motion path panels.

This commit is contained in:
2018-11-02 15:31:17 +01:00
parent c7d20949fb
commit 00ef0a4d8e
2 changed files with 4 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ class MotionPathButtonsPanel:
# Display Range
layout.use_property_split = True
layout.use_property_decorate = False
layout.prop(mps, "type")

View File

@@ -69,6 +69,7 @@ class RENDER_PT_color_management(RenderButtonsPanel, Panel):
def draw(self, context):
layout = self.layout
layout.use_property_split = True
layout.use_property_decorate = False # No animation.
scene = context.scene
view = scene.view_settings
@@ -112,6 +113,8 @@ class RENDER_PT_color_management_curves(RenderButtonsPanel, Panel):
view = scene.view_settings
layout.use_property_split = False
layout.use_property_decorate = False # No animation.
layout.enabled = view.use_curve_mapping
layout.template_curve_mapping(view, "curve_mapping", levels=True)