Cleanup: unused vars, imports
This commit is contained in:
@@ -141,7 +141,7 @@ def reset_blend():
|
||||
|
||||
if USE_RANDOM_SCREEN:
|
||||
import random
|
||||
for i in range(random.randint(0, len(bpy.data.screens))):
|
||||
for _ in range(random.randint(0, len(bpy.data.screens))):
|
||||
bpy.ops.screen.delete()
|
||||
print("Scree IS", bpy.context.screen)
|
||||
|
||||
@@ -237,7 +237,7 @@ if USE_ATTRSET:
|
||||
seq = getattr(bpy.data, attr)
|
||||
if seq.__class__.__name__ == 'bpy_prop_collection':
|
||||
for id_data in seq:
|
||||
for val, prop, tp in id_walk(id_data, bpy.data):
|
||||
for val, prop, _tp in id_walk(id_data, bpy.data):
|
||||
# print(id_data)
|
||||
for val_rnd in _random_values:
|
||||
try:
|
||||
|
Reference in New Issue
Block a user