Skip to content

Commit 9ddf039

Browse files
committed
1_8_1
Removed ui_tab from export parameters.
1 parent bcb6860 commit 9ddf039

2 files changed

Lines changed: 62 additions & 58 deletions

File tree

__init__.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"name": "DKS Substance Painter",
2121
"description": "Substance Painter Pipeline",
2222
"author": "DigiKrafting.Studio",
23-
"version": (1, 8, 0),
23+
"version": (1, 8, 1),
2424
"blender": (2, 80, 0),
2525
"location": "Info Toolbar, File -> Import, File -> Export, Menu",
2626
"wiki_url": "https://github.com/DigiKrafting/blender_addon_substance_painter/wiki",
@@ -35,7 +35,7 @@
3535
class dks_sp_addon_prefs(bpy.types.AddonPreferences):
3636

3737
bl_idname = __package__
38-
38+
3939
option_sp_exe : bpy.props.StringProperty(
4040
name="Substance Executable",
4141
subtype='FILE_PATH',
@@ -44,15 +44,15 @@ class dks_sp_addon_prefs(bpy.types.AddonPreferences):
4444
option_export_folder : bpy.props.StringProperty(
4545
name="Export Folder Name",
4646
default="eXport",
47-
)
47+
)
4848
option_textures_folder : bpy.props.StringProperty(
4949
name="Textures Folder Name",
5050
default="Textures",
51-
)
51+
)
5252
option_save_before_export : bpy.props.BoolProperty(
5353
name="Save Before Export",
5454
default=True,
55-
)
55+
)
5656
option_display_type : bpy.props.EnumProperty(
5757
items=[('Buttons', "Buttons", "Use Buttons"),('Menu', "Menu", "Append a Menu to Main Menu"),('Hide', "Import/Export", "Use only Import/Export Menu's"),],
5858
name="Display Type",
@@ -62,7 +62,7 @@ class dks_sp_addon_prefs(bpy.types.AddonPreferences):
6262
items=[('obj', "obj", "obj"),('fbx', "fbx", "fbx"),],
6363
name="Export Type",
6464
default='fbx',
65-
)
65+
)
6666
option_import_ext : bpy.props.EnumProperty(
6767
items=[('png', "png", "png"),('jpeg', "jpeg", "jpeg"),('tiff', "tiff", "tiff"),],
6868
name="Import Extension",
@@ -80,17 +80,17 @@ class dks_sp_addon_prefs(bpy.types.AddonPreferences):
8080
name="Relative Paths",
8181
description="Use Relative Paths for images.",
8282
default=True
83-
)
83+
)
8484
option_no_new : bpy.props.BoolProperty(
8585
name="2018.0.1-2018.3.0 Project File Fix",
8686
description="Exclude from path for SP 2018.0.1-2018.3.0 to avoid it being added to the textures path.",
8787
default=False
88-
)
88+
)
8989
option_use_height_maps : bpy.props.BoolProperty(
9090
name="Use Height Maps",
9191
description="Combines Height and Normal maps using the Bump Node.",
9292
default=False,
93-
)
93+
)
9494
def draw(self, context):
9595

9696
layout = self.layout
@@ -147,7 +147,7 @@ def dks_sp_menu_func_import_sel(self, context):
147147
self.layout.operator(dks_sp.dks_sp_pbr_nodes.bl_idname, text='Substance Painter (Selected)').import_setting = 'selected'
148148

149149
def dks_sp_draw_btns(self, context):
150-
150+
151151
if context.region.alignment != 'RIGHT':
152152

153153
layout = self.layout
@@ -174,7 +174,7 @@ class dks_sp_toggle(bpy.types.Operator):
174174
bl_label = "SP"
175175
bl_space_type = 'PROPERTIES'
176176
bl_region_type = 'WINDOW'
177-
177+
178178
def execute(self, context):
179179

180180
if not bpy.context.preferences.addons[__package__].preferences.option_show_sp_toggle_state:
@@ -236,4 +236,4 @@ def unregister():
236236

237237
if __name__ == "__main__":
238238

239-
register()
239+
register()

0 commit comments

Comments
 (0)