diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-10 17:36:05 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-10 17:36:05 +0300 |
commit | 577322dfba67ada23b99b975909776de6d88320a (patch) | |
tree | 7fef7aee0441d47f945e9dd96331761d6ffa4f9f | |
parent | 9c5c696becbb62eabb8eb652691e1d899c4ed9d5 (diff) |
Fix import_images_as_planes: remove use_fields option.
This has been removed from Blender's Image data...
-rw-r--r-- | io_import_images_as_planes.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index 3e8b816a..a162f998 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -759,9 +759,6 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper): name=t.name, items=alpha_mode_items, default=t.default, description=t.description) - t = bpy.types.Image.bl_rna.properties["use_fields"] - use_fields = BoolProperty(name=t.name, default=False, description=t.description) - t = bpy.types.ImageUser.bl_rna.properties["use_auto_refresh"] use_auto_refresh = BoolProperty(name=t.name, default=True, description=t.description) @@ -809,7 +806,6 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper): sub = row.row() sub.active = self.use_transparency sub.prop(self, "alpha_mode", text="") - box.prop(self, "use_fields") box.prop(self, "use_auto_refresh") def draw_spatial_config(self, context): @@ -945,7 +941,6 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper): def apply_image_options(self, image): image.use_alpha = self.use_transparency image.alpha_mode = self.alpha_mode - image.use_fields = self.use_fields if self.relative: try: # can't always find the relative path (between drive letters on windows) |