Cleanup: pep8
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
|
||||
# <pep8-80 compliant>
|
||||
|
||||
def url_prefill_from_blender(addon_info = None):
|
||||
|
||||
def url_prefill_from_blender(addon_info=None):
|
||||
import bpy
|
||||
import bgl
|
||||
import struct
|
||||
|
||||
@@ -655,7 +655,7 @@ class Gizmo(StructRNA):
|
||||
return (batch, shader)
|
||||
|
||||
|
||||
# Dummy class to keep the reference in `bpy_types_dict` and avoid
|
||||
# Dummy class to keep the reference in `bpy_types_dict` and avoid
|
||||
# erros like: "TypeError: expected GizmoGroup subclass of class ..."
|
||||
class GizmoGroup(StructRNA):
|
||||
__slots__ = ()
|
||||
|
||||
@@ -280,7 +280,7 @@ class PropertyPanel:
|
||||
"""
|
||||
bl_label = "Custom Properties"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
bl_order = 1000 # Order panel after all others
|
||||
bl_order = 1000 # Order panel after all others
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
||||
@@ -1152,6 +1152,7 @@ class CLIP_PT_tools_mask_transforms(MASK_PT_transforms, Panel):
|
||||
bl_region_type = 'TOOLS'
|
||||
bl_category = "Mask"
|
||||
|
||||
|
||||
class CLIP_PT_tools_mask_tools(MASK_PT_tools, Panel):
|
||||
bl_space_type = 'CLIP_EDITOR'
|
||||
bl_region_type = 'TOOLS'
|
||||
@@ -1426,6 +1427,7 @@ class CLIP_MT_select_grouped(Menu):
|
||||
|
||||
layout.operator_enum("clip.select_grouped", "group")
|
||||
|
||||
|
||||
class CLIP_MT_mask_handle_type_menu(Menu):
|
||||
bl_label = "Set Handle Type"
|
||||
|
||||
@@ -1434,6 +1436,7 @@ class CLIP_MT_mask_handle_type_menu(Menu):
|
||||
|
||||
layout.operator_enum("mask.handle_type_set", "type")
|
||||
|
||||
|
||||
class CLIP_MT_tracking_context_menu(Menu):
|
||||
bl_label = "Context Menu"
|
||||
|
||||
@@ -1512,6 +1515,7 @@ class CLIP_MT_tracking_context_menu(Menu):
|
||||
|
||||
layout.operator("mask.delete")
|
||||
|
||||
|
||||
class CLIP_PT_camera_presets(PresetPanel, Panel):
|
||||
"""Predefined tracking camera intrinsics"""
|
||||
bl_label = "Camera Presets"
|
||||
|
||||
@@ -173,9 +173,9 @@ class NODE_HT_header(Header):
|
||||
|
||||
# Backdrop
|
||||
if is_compositor:
|
||||
row=layout.row(align=True)
|
||||
row = layout.row(align=True)
|
||||
row.prop(snode, "show_backdrop", toggle=True)
|
||||
sub=row.row(align=True)
|
||||
sub = row.row(align=True)
|
||||
sub.active = snode.show_backdrop
|
||||
sub.prop(snode, "backdrop_channels", icon_only=True, text="", expand=True)
|
||||
|
||||
|
||||
@@ -1348,7 +1348,6 @@ class SEQUENCER_PT_time(SequencerButtonsPanel, Panel):
|
||||
frame_offset_start = strip.frame_offset_start
|
||||
frame_offset_end = strip.frame_offset_end
|
||||
|
||||
|
||||
length_list = (
|
||||
str(frame_start),
|
||||
str(frame_final_end),
|
||||
|
||||
Reference in New Issue
Block a user