Images as Planes: Improve option panels #104936
@ -806,7 +806,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
|
|||||||
layout = self.layout
|
layout = self.layout
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
|
|
||||||
box.label(text="Import Options:", icon='IMPORT')
|
box.label(text="Import Options", icon='IMPORT')
|
||||||
row = box.row()
|
row = box.row()
|
||||||
row.active = bpy.data.is_saved
|
row.active = bpy.data.is_saved
|
||||||
row.prop(self, "relative")
|
row.prop(self, "relative")
|
||||||
@ -821,14 +821,14 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
|
|||||||
layout.use_property_decorate = False
|
layout.use_property_decorate = False
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
|
|
||||||
box.label(text="Compositing Nodes:", icon='RENDERLAYERS')
|
box.label(text="Compositing Nodes", icon='RENDERLAYERS')
|
||||||
row = box.row(align=True)
|
row = box.row(align=True)
|
||||||
row.use_property_split = False
|
row.use_property_split = False
|
||||||
row.prop(self, "compositing_nodes")
|
row.prop(self, "compositing_nodes")
|
||||||
|
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
box.label(text="Material Settings:", icon='MATERIAL')
|
box.label(text="Material Settings", icon='MATERIAL')
|
||||||
|
|
||||||
row = box.row()
|
row = box.row()
|
||||||
row.prop(self, 'shader', expand=False)
|
row.prop(self, 'shader', expand=False)
|
||||||
@ -854,7 +854,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
|
|||||||
box.prop(self, "overwrite_material")
|
box.prop(self, "overwrite_material")
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
box.label(text="Texture Settings:", icon='TEXTURE')
|
box.label(text="Texture Settings", icon='TEXTURE')
|
||||||
row = box.row()
|
row = box.row()
|
||||||
row.prop(self, 'interpolation', expand=False)
|
row.prop(self, 'interpolation', expand=False)
|
||||||
row = box.row()
|
row = box.row()
|
||||||
@ -872,7 +872,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper):
|
|||||||
layout = self.layout
|
layout = self.layout
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
|
|
||||||
box.label(text="Transform:", icon='SNAP_GRID')
|
box.label(text="Transform", icon='SNAP_GRID')
|
||||||
|
|
||||||
row = box.row()
|
row = box.row()
|
||||||
row.prop(self, "size_mode", expand=False)
|
row.prop(self, "size_mode", expand=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user