From d7bf001ffe616788caa01caaf4eb748fcc5ac087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 15 Apr 2016 15:07:32 +0200 Subject: [PATCH] Show cut-out frame nr as read-only property. --- blender_cloud/attract/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/blender_cloud/attract/__init__.py b/blender_cloud/attract/__init__.py index 68e2547..ca52657 100644 --- a/blender_cloud/attract/__init__.py +++ b/blender_cloud/attract/__init__.py @@ -89,8 +89,12 @@ class ToolsPanel(Panel): layout.prop(strip, 'atc_description', text='Description') layout.prop(strip, 'atc_notes', text='Notes') layout.prop(strip, 'atc_status', text='Status') - layout.prop(strip, 'atc_cut_in', text='Cut in') - # layout.prop(strip, 'atc_cut_out', text='Cut out') + layout.prop(strip, 'atc_cut_in') + + # Create a special sub-layout for read-only properties. + ro_sub = layout.column(align=True) + ro_sub.enabled = False + ro_sub.prop(strip, 'atc_cut_out') if strip.atc_is_synced: layout.operator('attract.shot_submit_update')