Cleanup: unused Python variables & imports

This commit is contained in:
Campbell Barton
2022-03-04 11:03:36 +11:00
parent 6bca614fd8
commit 0a4fdcbb5f
13 changed files with 16 additions and 37 deletions

View File

@@ -216,7 +216,6 @@ enum_direct_light_sampling_type = (
)
def update_render_passes(self, context):
scene = context.scene
view_layer = context.view_layer
view_layer.update_render_passes()
@@ -1353,7 +1352,7 @@ class CyclesPreferences(bpy.types.AddonPreferences):
items=CyclesPreferences.get_device_types,
)
devices: bpy.props.CollectionProperty(type=CyclesDeviceSettings)
devices: CollectionProperty(type=CyclesDeviceSettings)
peer_memory: BoolProperty(
name="Distribute memory across devices",

View File

@@ -5,7 +5,6 @@
from __future__ import annotations
import bpy
import math
from bpy.app.handlers import persistent