Images as Planes: Improve option panels #104936

Closed
Sun Kim wants to merge 9 commits from persun/blender-addons:iap_options_ui into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 14e15ff967 - Show all commits

View File

@ -836,16 +836,16 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
box.prop(self, "emit_strength") box.prop(self, "emit_strength")
row = box.row() row = box.row()
row.prop(self, 'blend_method', expand=False) row.prop(self, "use_backface_culling")
if self.blend_method == 'BLEND':
row = box.row() row = box.row()
row.prop(self, "show_transparent_back") row.prop(self, 'blend_method', expand=False)
row = box.row() row = box.row()
row.prop(self, 'shadow_method', expand=False) row.prop(self, 'shadow_method', expand=False)
if self.blend_method == 'BLEND':
row = box.row() row = box.row()
row.prop(self, "use_backface_culling") row.prop(self, "show_transparent_back")
engine = context.scene.render.engine engine = context.scene.render.engine
if engine not in ('CYCLES', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'): if engine not in ('CYCLES', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'):