Fix minor bug where Python warnings showed up when delete operations were called

This commit is contained in:
Dion Moult
2021-10-18 14:12:07 +11:00
parent 699ccddda3
commit c78e7b3ba8
@@ -436,6 +436,8 @@ class CopyRepresentation(bpy.types.Operator, Operator):
class OverrideDelete(bpy.types.Operator):
bl_idname = "object.delete"
bl_label = "Delete"
use_global: bpy.props.BoolProperty(default=False)
confirm: bpy.props.BoolProperty(default=True)
@classmethod
def poll(cls, context):