diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index 4632c2272850fff20ca74a118bdd5d8fb01d3f10..1fd98b28dd459b930fa3084a9d03ee28dfb27cb1 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -354,7 +354,6 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ UVFace = Active.data.uv_textures[0].data[0] UVFace.image = Img - UVFace.use_image = True Tex.image = Img @@ -377,7 +376,6 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset,\ UVFace = Active.data.uv_textures[0].data[0] UVFace.image = Img - UVFace.use_image = True Tex.image = Img diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 06304dea51baea318234651a3e694cbe0df2b9f5..1f7ab9b789dba4f5e2c8824290ba527fd4e1663d 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -619,9 +619,8 @@ def create_mesh(new_objects, image, has_data = unique_material_images[context_material] if image: # Can be none if the material dosnt have an image. blender_tface.image = image - blender_tface.use_image = True if has_data and image.depth == 32: - blender_tface.blend_type = 'ALPHA' + blender_tface.alpha_blend = 'ALPHA' # BUG - Evil eekadoodle problem where faces that have vert index 0 location at 3 or 4 are shuffled. if len(face_vert_loc_indices) == 4: