diff options
author | mifth <paulgeraskin@gmail.com> | 2014-08-20 00:45:27 +0400 |
---|---|---|
committer | mifth <paulgeraskin@gmail.com> | 2014-08-20 00:45:27 +0400 |
commit | 585b05930b8f67bbd76d7f8c62da559cccfd1ff7 (patch) | |
tree | 59dc9fbf644119ad4e96a6cbdb85855099a7cd3e | |
parent | 456a9b6f69c13f817c317529fe69a41e18d59cce (diff) |
[TextureAtlas] some gui tweaks.
-rw-r--r-- | uv_texture_atlas.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/uv_texture_atlas.py b/uv_texture_atlas.py index 07406cda..c71f0dac 100644 --- a/uv_texture_atlas.py +++ b/uv_texture_atlas.py @@ -101,10 +101,10 @@ class TexAtl_Main(Panel): # Resolution and Unwrap types (only if Lightmap group is added) if context.scene.ms_lightmap_groups: group = scene.ms_lightmap_groups[scene.ms_lightmap_groups_index] - row.prop(group, 'resolutionX', text='X') - row.prop(group, 'resolutionY', text='Y') + row.label(text="Resolutiom:") + row.prop(group, 'resolutionX', text='') + row.prop(group, 'resolutionY', text='') row = self.layout.row() - row.prop(group, 'unwrap_type', text='Lightmap', expand=True) #self.layout.separator() row = self.layout.row() @@ -120,13 +120,15 @@ class TexAtl_Main(Panel): row.operator("scene.ms_select_group", text="SelectGroup", icon="GROUP") - self.layout.separator() + #self.layout.separator() + self.layout.label(text="Autounwrap:") + self.layout.prop(group, 'unwrap_type', text='Lightmap', expand=True) row = self.layout.row() row.operator( "object.ms_auto", text="Auto Unwrap", icon="LAMP_SPOT") row.prop(group, 'autoUnwrapPrecision', text='') - self.layout.separator() + self.layout.label(text="Autounwrap:") row = self.layout.row() row.operator( "object.ms_run", text="StartManualUnwrap", icon="LAMP_SPOT") |