Skip to content

Commit

Permalink
Restructure DB Export UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ndee85 committed Feb 11, 2019
1 parent 19c414f commit 07bdca3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1327,17 +1327,16 @@ def draw(self, context):
col.label(text="Atlas Settings:")
row = col.row()
row.prop(self.scene, "coa_atlas_mode", expand=True)
col.prop(self.scene, "coa_sprite_scale", slider=True)
if self.scene.coa_atlas_mode == "LIMIT_SIZE":
subcol = col.column(align=True)
subcol.label(text="Texture Atlas Size:")
subcol.prop(self.scene, "coa_atlas_resolution_x", text="X")
subcol.prop(self.scene, "coa_atlas_resolution_y", text="Y")
col.prop(self.scene, "coa_sprite_scale", slider=True)
col.prop(self.scene, "coa_atlas_island_margin")
col.label(text="Animation Settings:")
col.prop(self.scene, "coa_export_bake_anim")
subrow = col.row(align=True)
subrow.prop(self.scene, "coa_export_bake_anim")
if self.scene.coa_export_bake_anim:
col.prop(self.scene, "coa_export_bake_steps")
subrow.prop(self.scene, "coa_export_bake_steps")
col.prop(self.scene, "coa_minify_json")
op = col.operator("coa_tools.export_dragon_bones")

Expand Down
Binary file modified Sample Files/stip.blend
Binary file not shown.
Binary file added Sample Files/stip.blend1
Binary file not shown.

0 comments on commit 07bdca3

Please sign in to comment.