minor pep8 edits
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
from cmake_consistency_check_config import IGNORE, UTF8_CHECK, SOURCE_DIR
|
||||
|
||||
import os
|
||||
from os.path import join, dirname, normpath, abspath, splitext
|
||||
from os.path import join, dirname, normpath, splitext
|
||||
|
||||
print("Scanning:", SOURCE_DIR)
|
||||
|
||||
@@ -183,7 +183,6 @@ def is_ignore(f):
|
||||
|
||||
# First do stupid check, do these files exist?
|
||||
print("\nChecking for missing references:")
|
||||
import sys
|
||||
is_err = False
|
||||
errs = []
|
||||
for f in (global_h | global_c):
|
||||
|
||||
@@ -65,4 +65,4 @@ def _main():
|
||||
|
||||
_main()
|
||||
|
||||
del _main
|
||||
del _main
|
||||
|
||||
@@ -878,7 +878,7 @@ class PARTICLE_PT_render(ParticleButtonsPanel, bpy.types.Panel):
|
||||
col.prop(part, "billboard_tilt_random", text="Random", slider=True)
|
||||
col = row.column()
|
||||
col.prop(part, "billboard_offset")
|
||||
|
||||
|
||||
row = layout.row()
|
||||
col = row.column()
|
||||
col.prop(part, "billboard_size", text="Scale")
|
||||
|
||||
@@ -883,7 +883,7 @@ class USERPREF_PT_addons(bpy.types.Panel):
|
||||
if user_script_path is not None:
|
||||
user_addon_paths.append(os.path.join(user_script_path(), "addons"))
|
||||
user_addon_paths.append(os.path.join(bpy.utils.resource_path('USER'), "scripts", "addons"))
|
||||
|
||||
|
||||
for path in user_addon_paths:
|
||||
if bpy.path.is_subdir(mod.__file__, path):
|
||||
return True
|
||||
@@ -1001,8 +1001,7 @@ class USERPREF_PT_addons(bpy.types.Panel):
|
||||
|
||||
for i in range(4 - tot_row):
|
||||
split.separator()
|
||||
|
||||
|
||||
|
||||
|
||||
# Append missing scripts
|
||||
# First collect scripts that are used but have no script file.
|
||||
|
||||
Reference in New Issue
Block a user