[Bf-extensions-cvs] [5fa52066] master: Fix T103359: Images as Planes: texture extension not applying

Sibo Van Gool noreply at git.blender.org
Fri Dec 23 15:51:35 CET 2022


Commit: 5fa52066d1a08b8dd55b866e91783cafbe816732
Author: Sibo Van Gool
Date:   Fri Dec 23 11:48:47 2022 -0300
Branches: master
https://developer.blender.org/rBA5fa52066d1a08b8dd55b866e91783cafbe816732

Fix T103359: Images as Planes: texture extension not applying

Don't default the imported image's texture extension to CLIP.

Reviewed By: mano-wii

Maniphest Tasks: T103359

Differential Revision: https://developer.blender.org/D16836

===================================================================

M	io_import_images_as_planes.py

===================================================================

diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 37812331..8a5590eb 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -1008,8 +1008,6 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
         if img_spec.image.source == 'SEQUENCE':
             image_user.use_auto_refresh = True
 
-        texture.extension = 'CLIP'  # Default of "Repeat" can cause artifacts
-
     def apply_material_options(self, material, slot):
         shader = self.shader



More information about the Bf-extensions-cvs mailing list