style cleanup: pep8
This commit is contained in:
@@ -121,12 +121,14 @@ class SaveDirty(Operator):
|
||||
if image.packed_file:
|
||||
if image.library:
|
||||
self.report({'WARNING'},
|
||||
"Packed library image: %r from library %r can't be re-packed" %
|
||||
"Packed library image: %r from library %r"
|
||||
" can't be re-packed" %
|
||||
(image.name, image.library.filepath))
|
||||
else:
|
||||
image.pack(as_png=True)
|
||||
else:
|
||||
filepath = bpy.path.abspath(image.filepath, library=image.library)
|
||||
filepath = bpy.path.abspath(image.filepath,
|
||||
library=image.library)
|
||||
if "\\" not in filepath and "/" not in filepath:
|
||||
self.report({'WARNING'}, "Invalid path: " + filepath)
|
||||
elif filepath in unique_paths:
|
||||
|
@@ -129,9 +129,6 @@ class AddPresetBase():
|
||||
value = eval(rna_path)
|
||||
rna_recursive_attr_expand(value, rna_path, 1)
|
||||
|
||||
|
||||
|
||||
|
||||
file_preset.close()
|
||||
|
||||
preset_menu_class.bl_label = bpy.path.display_name(filename)
|
||||
|
@@ -73,7 +73,6 @@ class MotionPathButtonsPanel():
|
||||
col.label(text="Not available yet...", icon='ERROR')
|
||||
col.label(text="Calculate Paths first", icon='INFO')
|
||||
|
||||
|
||||
# Display Settings
|
||||
split = layout.split()
|
||||
|
||||
|
@@ -101,6 +101,7 @@ class CLIP_PT_clip_view_panel:
|
||||
|
||||
return clip and sc.view == 'CLIP'
|
||||
|
||||
|
||||
class CLIP_PT_tracking_panel:
|
||||
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user