Closed herbyhack closed 4 months ago
I experience this as well, blender 4.2 win 10
The operators probably got renamed but replacing them from the operators.py
file should make them work again
bpy.ops.import_image.to_plane
to bpy.ops.image.import_as_mesh_planes
bpy.ops.object.load_reference_image
to bpy.ops.object.empty_image_add
Here's the add-on with the fix (Blender 4.2+) ImagePaste-1.8.2.zip
https://github.com/user-attachments/assets/d1aa1ef5-7108-4cfe-a7bb-8f57774de312
Thanks so much,
Add-on now seems to work as intended in 3D viewport (and Image Editor, and VSE, and Shader Editor).
Awesome!
Kind regards, Andrew
[image: image.png]
On Sat, 20 Jul 2024 at 15:04, MW @.***> wrote:
The operators probably got renamed but replacing them from the operators.py file should make them work again
bpy.ops.import_image.to_plane to bpy.ops.image.import_as_mesh_planes bpy.ops.object.load_reference_image to bpy.ops.object.empty_image_add
Here's the add-on with the fix (Blender 4.2+) ImagePaste-1.8.2.zip https://github.com/user-attachments/files/16318911/ImagePaste-1.8.2.zip
https://github.com/user-attachments/assets/d1aa1ef5-7108-4cfe-a7bb-8f57774de312
— Reply to this email directly, view it on GitHub https://github.com/b-init/ImagePaste/issues/56#issuecomment-2240921526, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7567Z5AY7O3NLDPSYYB53ZNHVWPAVCNFSM6AAAAABLDSZIJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBQHEZDCNJSGY . You are receiving this because you authored the thread.Message ID: @.***>
Image below of addon (1.8.2) working effectively in Blender 4.2.0
Sorry I haven't been available. Thanks a lot @williamchange for the fix and others for reporting and helping. This addon would have died long ago without you. I'll update the release and on other platforms.
Describe the bug
Add-on fails to paste image from clipboard into 3D viewport (either as reference image or plane). Blender 4.2.0 (Windows 10).
The addon seems to still be functioning fine in the Blender Image Editor. (Haven't tested further in Shader Editor or Video Editor)
Image below is for pasting image "...as Plane" (very similar error for "...as Reference" - please see log below)
Step to reproduce
Relevant log output
Expected behavior
Image should paste to 3D viewport as Plane or Reference.
Platform
Windows
Platform version
Windows 10 Pro (10.0.19045 Build 19045)
Blender version
Other
ImagePaste Version
1.8.1