Skip to content

Commit 07afce6

Browse files
committed
1_7_2
screenshot added and fixed fbx export save before export option
1 parent 7bb913c commit 07afce6

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ Installing an Addon in Blender
5454

5555
# Screenshots
5656

57-
![alt](/screenshots/sp_prefs.png)
57+
![alt](/screenshots/sp_2_8_0_rc_1.png.png)
5858

59-
![alt](/screenshots/sp.png)
59+
![alt](/screenshots/sp_unreal.png)
6060

6161
![alt](/screenshots/sp_emissive.png)
6262

63-
![alt](/screenshots/sp_unreal.png)
63+
![alt](/screenshots/sp.png)
64+
65+
![alt](/screenshots/sp_prefs.png)
66+
67+

__init__.py

Lines changed: 1 addition & 1 deletion
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, 7, 1),
23+
"version": (1, 7, 2),
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",

dks_sp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def dks_sp_fbx_export_sel(self, context):
352352
_export_path = dks_sp_get_export_path()
353353
_export_file = _export_path + _export_name + '.fbx'
354354

355-
if not bpy.context.preferences.addons[__package__].preferences.option_save_before_export:
355+
if bpy.context.preferences.addons[__package__].preferences.option_save_before_export:
356356
bpy.ops.wm.save_mainfile()
357357

358358
bpy.ops.export_scene.fbx(filepath=_export_file, use_selection=True, check_existing=False, axis_forward='-Z', axis_up='Y', filter_glob="*.fbx", ui_tab='MAIN', global_scale=1.0, apply_unit_scale=True, bake_space_transform=False, object_types={'ARMATURE', 'MESH'}, use_mesh_modifiers=True, mesh_smooth_type='OFF', use_mesh_edges=False, use_tspace=False, use_custom_props=False, add_leaf_bones=False, primary_bone_axis='Y', secondary_bone_axis='X', use_armature_deform_only=False, bake_anim=True, bake_anim_use_all_bones=True, bake_anim_use_nla_strips=True, bake_anim_use_all_actions=True, bake_anim_force_startend_keying=True, bake_anim_step=1.0, bake_anim_simplify_factor=1.0, path_mode='AUTO', embed_textures=False, batch_mode='OFF', use_batch_own_dir=True, use_metadata=True)
@@ -376,7 +376,7 @@ def dks_sp_fbx_export_scene(self, context):
376376
_export_path = dks_sp_get_export_path()
377377
_export_file = _export_path + _export_name + '.fbx'
378378

379-
if not bpy.context.preferences.addons[__package__].preferences.option_save_before_export:
379+
if bpy.context.preferences.addons[__package__].preferences.option_save_before_export:
380380
bpy.ops.wm.save_mainfile()
381381

382382
bpy.ops.export_scene.fbx(filepath=_export_file, use_selection=False, check_existing=False, axis_forward='-Z', axis_up='Y', filter_glob="*.fbx", ui_tab='MAIN', global_scale=1.0, apply_unit_scale=True, bake_space_transform=False, object_types={'ARMATURE', 'MESH'}, use_mesh_modifiers=True, mesh_smooth_type='OFF', use_mesh_edges=False, use_tspace=False, use_custom_props=False, add_leaf_bones=False, primary_bone_axis='Y', secondary_bone_axis='X', use_armature_deform_only=False, bake_anim=True, bake_anim_use_all_bones=True, bake_anim_use_nla_strips=True, bake_anim_use_all_actions=True, bake_anim_force_startend_keying=True, bake_anim_step=1.0, bake_anim_simplify_factor=1.0, path_mode='AUTO', embed_textures=False, batch_mode='OFF', use_batch_own_dir=True, use_metadata=True)

screenshots/sp_2_8_0_rc_1.png

1.03 MB
Loading

0 commit comments

Comments
 (0)