Skip to content

Commit 046f526

Browse files
committed
0_8_0
1 parent c035f42 commit 046f526

3 files changed

Lines changed: 414 additions & 33 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Blender Unreal Engine Exporter.
1111
- Option to Copy Textures Folder
1212
- Option to override preferences (Useful for a per project setup, see "Overriding Preferences" below)
1313
- Option to create a "{fbx_file_name}.bjd" for the UE Plugin https://github.com/DigiKrafting/ue_plugin_blender (* ALPHA)
14-
- Preferences Panel for per blend file UE options in Properies->Output (See "Output Preferences Panel" screenshot below).
14+
- Preferences Panel for per blend file UE options in [Properies]->[Output]->[UE Options] (See "Output Preferences Panel" screenshot below).
1515

1616
# Roadmap
1717

@@ -46,7 +46,11 @@ Should work in any version that supports FBX import.
4646

4747
\* This negates the need for a tool panel with config options if your working on several projects and preserves my beloved "one click" preference for my addons.
4848

49-
Create a text file named blender_addon_ue.json in your source project folder, mesh folder or both for preferences for different model types, the addon will search recursively in reverse through the folder hierarchy back to the root folder of your drive for any "blender_addon_ue.json", so don't create it in "c:\blender_addon_ue.json" or "/blender_addon_ue.json".
49+
1. Set desired options in [Properties]->[Output]->[UE Options], select a folder and click [Create "blender_addon_ue.json"].
50+
51+
OR
52+
53+
2. Create a text file named blender_addon_ue.json in your source project folder, mesh folder or both for preferences for different model types, the addon will search recursively in reverse through the folder hierarchy back to the root folder of your drive for any "blender_addon_ue.json", so don't create it in "c:\blender_addon_ue.json" or "/blender_addon_ue.json".
5054

5155
### blender_addon_ue.json
5256

__init__.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"name": "DKS UE",
2121
"description": "Export to UE",
2222
"author": "DigiKrafting.Studio",
23-
"version": (0, 7, 0),
23+
"version": (0, 8, 0),
2424
"blender": (2, 80, 0),
2525
"location": "Info Toolbar, File -> Export",
2626
"wiki_url": "https://github.com/DigiKrafting/blender_addon_ue/wiki",
@@ -89,6 +89,14 @@ class dks_ue_addon_prefs(bpy.types.AddonPreferences):
8989
name="Create UE JSON",
9090
default=False,
9191
)
92+
option_ue_auto : bpy.props.BoolProperty(
93+
name="Auto UE Import",
94+
default=True,
95+
)
96+
option_json_search : bpy.props.BoolProperty(
97+
name='Search for "blender_addon_ue.json"',
98+
default=True,
99+
)
92100

93101
# UE JSON Options >
94102

@@ -200,24 +208,32 @@ def draw(self, context):
200208
box=layout.box()
201209
box.prop(self, 'option_display_type')
202210
box.prop(self, 'option_save_before_export')
211+
203212
box=layout.box()
204213
box.prop(self, 'option_ue_src')
205214
box.prop(self, 'option_ue_dst')
215+
206216
box=layout.box()
207217
box.prop(self, 'option_textures_folder')
208218
box.label(text='Sub folder relative to the saved .blend file. * Do NOT include any "\\".',icon='INFO')
219+
209220
box=layout.box()
221+
box.label(text='Icon',icon='RADIOBUT_ON')
210222
box.prop(self, 'option_create_icon')
211223
box.prop(self, 'option_icon_resolution_x')
212224
box.prop(self, 'option_icon_resolution_y')
213225
box.prop(self, 'option_override_camera')
214226
box.prop(self, 'option_camera_location')
215227
box.prop(self, 'option_camera_rotation')
228+
216229
box=layout.box()
230+
box.label(text='Textures',icon='RADIOBUT_ON')
217231
box.prop(self, 'option_copy_textures')
218232

219233
box=layout.box()
234+
box.label(text='FBX Import Options',icon='SETTINGS')
220235
box.prop(self, 'option_ue_json')
236+
box.prop(self, 'option_ue_auto')
221237

222238
box_sub=box.box()
223239
box_sub.prop(self, 'ue_ImportMesh')
@@ -261,7 +277,7 @@ def draw(self, context):
261277

262278
layout = self.layout
263279

264-
self.layout.operator('dks_ue.export',icon="EXPORT")
280+
layout.operator('dks_ue.export',icon="EXPORT")
265281

266282
def draw_dks_ue_menu(self, context):
267283

0 commit comments

Comments
 (0)