Cleanup: unused variables

This commit is contained in:
2021-03-06 18:16:39 +11:00
parent 753f1cf0ad
commit bd79691599
14 changed files with 17 additions and 33 deletions

View File

@@ -113,7 +113,6 @@ def object_data_add(context, obdata, operator=None, name=None):
:return: the newly created object in the scene.
:rtype: :class:`bpy.types.Object`
"""
scene = context.scene
layer = context.view_layer
layer_collection = context.layer_collection or layer.active_layer_collection
scene_collection = layer_collection.collection