UI: disable decorators for color management and motion path panels.
This commit is contained in:
@@ -38,6 +38,7 @@ class MotionPathButtonsPanel:
|
||||
|
||||
# Display Range
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
layout.prop(mps, "type")
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user