|
20 | 20 | "name": "DKS UE", |
21 | 21 | "description": "Export to UE", |
22 | 22 | "author": "DigiKrafting.Studio", |
23 | | - "version": (0, 7, 0), |
| 23 | + "version": (0, 8, 0), |
24 | 24 | "blender": (2, 80, 0), |
25 | 25 | "location": "Info Toolbar, File -> Export", |
26 | 26 | "wiki_url": "https://github.com/DigiKrafting/blender_addon_ue/wiki", |
@@ -89,6 +89,14 @@ class dks_ue_addon_prefs(bpy.types.AddonPreferences): |
89 | 89 | name="Create UE JSON", |
90 | 90 | default=False, |
91 | 91 | ) |
| 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 | + ) |
92 | 100 |
|
93 | 101 | # UE JSON Options > |
94 | 102 |
|
@@ -200,24 +208,32 @@ def draw(self, context): |
200 | 208 | box=layout.box() |
201 | 209 | box.prop(self, 'option_display_type') |
202 | 210 | box.prop(self, 'option_save_before_export') |
| 211 | + |
203 | 212 | box=layout.box() |
204 | 213 | box.prop(self, 'option_ue_src') |
205 | 214 | box.prop(self, 'option_ue_dst') |
| 215 | + |
206 | 216 | box=layout.box() |
207 | 217 | box.prop(self, 'option_textures_folder') |
208 | 218 | box.label(text='Sub folder relative to the saved .blend file. * Do NOT include any "\\".',icon='INFO') |
| 219 | + |
209 | 220 | box=layout.box() |
| 221 | + box.label(text='Icon',icon='RADIOBUT_ON') |
210 | 222 | box.prop(self, 'option_create_icon') |
211 | 223 | box.prop(self, 'option_icon_resolution_x') |
212 | 224 | box.prop(self, 'option_icon_resolution_y') |
213 | 225 | box.prop(self, 'option_override_camera') |
214 | 226 | box.prop(self, 'option_camera_location') |
215 | 227 | box.prop(self, 'option_camera_rotation') |
| 228 | + |
216 | 229 | box=layout.box() |
| 230 | + box.label(text='Textures',icon='RADIOBUT_ON') |
217 | 231 | box.prop(self, 'option_copy_textures') |
218 | 232 |
|
219 | 233 | box=layout.box() |
| 234 | + box.label(text='FBX Import Options',icon='SETTINGS') |
220 | 235 | box.prop(self, 'option_ue_json') |
| 236 | + box.prop(self, 'option_ue_auto') |
221 | 237 |
|
222 | 238 | box_sub=box.box() |
223 | 239 | box_sub.prop(self, 'ue_ImportMesh') |
@@ -261,7 +277,7 @@ def draw(self, context): |
261 | 277 |
|
262 | 278 | layout = self.layout |
263 | 279 |
|
264 | | - self.layout.operator('dks_ue.export',icon="EXPORT") |
| 280 | + layout.operator('dks_ue.export',icon="EXPORT") |
265 | 281 |
|
266 | 282 | def draw_dks_ue_menu(self, context): |
267 | 283 |
|
|
0 commit comments