diff --git a/imagepaste/operators.py b/imagepaste/operators.py index 6b2e340..23fd6c9 100644 --- a/imagepaste/operators.py +++ b/imagepaste/operators.py @@ -185,7 +185,10 @@ def execute(self, _context): if clipboard.report.type != "INFO": return {"CANCELLED"} for image in clipboard.images: - bpy.ops.object.load_reference_image(filepath=image.filepath) + bpy.ops.object.empty_image_add(filepath=image.filepath) + obj = bpy.context.active_object + obj.use_empty_image_alpha = True + obj.empty_image_side = "FRONT" return {"FINISHED"} @classmethod