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 b64b8bd2fe - Show all commits

View File

@ -806,7 +806,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
layout = self.layout
box = layout.box()
box.label(text="Import Options:", icon='IMPORT')
box.label(text="Import Options", icon='IMPORT')
row = box.row()
row.active = bpy.data.is_saved
row.prop(self, "relative")
@ -821,14 +821,14 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
layout.use_property_decorate = False
box = layout.box()
box.label(text="Compositing Nodes:", icon='RENDERLAYERS')
box.label(text="Compositing Nodes", icon='RENDERLAYERS')
row = box.row(align=True)
row.use_property_split = False
row.prop(self, "compositing_nodes")
layout = self.layout
box = layout.box()
box.label(text="Material Settings:", icon='MATERIAL')
box.label(text="Material Settings", icon='MATERIAL')
row = box.row()
row.prop(self, 'shader', expand=False)
@ -854,7 +854,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
box.prop(self, "overwrite_material")
layout = self.layout
box = layout.box()
box.label(text="Texture Settings:", icon='TEXTURE')
box.label(text="Texture Settings", icon='TEXTURE')
row = box.row()
row.prop(self, 'interpolation', expand=False)
row = box.row()
@ -872,7 +872,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
layout = self.layout
box = layout.box()
box.label(text="Transform:", icon='SNAP_GRID')
box.label(text="Transform", icon='SNAP_GRID')
row = box.row()
row.prop(self, "size_mode", expand=False)