Skip to content

Commit

Permalink
Merge branch 'Dev' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier150 committed Nov 14, 2024
2 parents c8fc460 + 25658f3 commit 79aa6c1
Show file tree
Hide file tree
Showing 216 changed files with 11,963 additions and 5,277 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Blender-For-UnrealEngine-Addons
# Docs exported files
ExportedFbx/

# BleuRaven Blender Addons
/generated_builds
**.zip
**.blend[1-9]*
**.blend[1-32]*
.git/
.vscode/
.vs/
ExportedFbx/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
6 changes: 6 additions & 0 deletions ReleaseLogs/Version_4.3.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Unreal Engine Assets Exporter - Release Log
Release Logs: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Release-Logs

### Version 4.3.2

- New: Addon renamed from "Blender For Unreal Engine" To "Unreal Engine Assets Exporter". This was needed to follow [Blender Extensions Terms of Service](https://extensions.blender.org/terms-of-service/) (Branding)
7 changes: 7 additions & 0 deletions ReleaseLogs/Version_4.3.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Unreal Engine Assets Exporter - Release Log
Release Logs: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Release-Logs

### Version 4.3.3

- Update import scripts to avoid sys.path manipulations durring BFU module imports.
- Fixed: If export folder is relative empty "//" addons export assets at the disc root.
9 changes: 9 additions & 0 deletions ReleaseLogs/Version_4.3.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Unreal Engine Assets Exporter - Release Log
Release Logs: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Release-Logs

### Version 4.3.4

- Update import scripts to avoid sys.argv manipulations durring BFU module imports.
- Removed useless fbxio folders depending Blender Version.
- Fixed: If export folder is relative empty "//" addons export import scripts at the disc root.

7 changes: 7 additions & 0 deletions ReleaseLogs/Version_4.3.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Unreal Engine Assets Exporter - Release Log
Release Logs: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Release-Logs

### Version 4.3.5

- Fix copyright.
- Fix import script fail. (import 'importlib.util' and sys.modules manipulation)
6 changes: 6 additions & 0 deletions ReleaseLogs/Version_4.3.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Unreal Engine Assets Exporter - Release Log
Release Logs: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Release-Logs

### Version 4.3.6

- Fixed: Names in data_path are not escaped.
14 changes: 14 additions & 0 deletions ReleaseLogs/Version_4.3.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Unreal Engine Assets Exporter - Release Log
Release Logs: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Release-Logs

### Version 4.3.7

- New: Support for Unreal Engine 5.5.
- New: Correct Extrem UV Scale: Added the "Use Positive Pos" option to keep UV islands in positive positions.
- New: Correct Extrem UV Scale: Added the "Step Scale" option for export.
- New: Correct Extrem UV Scale: Added the "Use Positive Pos" option for export.
- Changes: The addon now uses the new Interchange Assets pipeline for importing assets into Unreal Engine 5.5.
- Fixed: Correct Extrem UV Scale: UV changes are now applied to the entire asset.
- Fixed: Animations were not exported to subfolders on disk.
- Fixed: NLA lost animated_influence FCurve after export.
- Cleanup: Removed debug logs.
12 changes: 12 additions & 0 deletions ReleaseLogs/Version_4.3.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Unreal Engine Assets Exporter - Release Log
Release Logs: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Release-Logs

### Version 4.3.8

- Full addon refactoring for better properties and UI management and organization.
- Fixed: Custom Skeletal Mesh Ref not well used.
- Fixed: Skeleton search use only loaded assets.
- Fixed: Export curve as static mesh do export fail.
- Fixed: Script fail at import for Unreal Engine 4.27
- Fixed: Script fail at import in Unreal Engine when python plugins is disabled.
- Fixed: Import mesh with multiple lods may create new material slots.
96 changes: 80 additions & 16 deletions blender-for-unrealengine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,22 @@

import bpy
import importlib
from . import bps
from . import bpl
from . import bbpl
from . import bfu_assets_manager
from . import bfu_propertys
from . import bfu_base_object
from . import bfu_adv_object
from . import bfu_base_collection
from . import bfu_static_mesh
from . import bfu_skeletal_mesh
from . import bfu_modular_skeletal_mesh
from . import bfu_alembic_animation
from . import bfu_anim_base
from . import bfu_anim_action
from . import bfu_anim_action_adv
from . import bfu_anim_nla
from . import bfu_anim_nla_adv
from . import bfu_groom
from . import bfu_camera
from . import bfu_spline
Expand All @@ -47,8 +56,14 @@
from . import bfu_material
from . import bfu_vertex_color
from . import bfu_lod
from . import bfu_uv_map
from . import bfu_light_map
from . import bfu_assets_references
from . import bfu_custom_property
from . import bfu_addon_parts
from . import bfu_export_nomenclature
from . import bfu_export_filter
from . import bfu_export_process
from . import bfu_export_procedure
from . import bfu_addon_pref
from . import bfu_export_logs
Expand All @@ -68,20 +83,39 @@
from . import bfu_cached_asset_list


if "bps" in locals():
importlib.reload(bps)

if "bpl" in locals():
importlib.reload(bpl)
if "bbpl" in locals():
importlib.reload(bbpl)
if "bfu_assets_manager" in locals():
importlib.reload(bfu_assets_manager)
if "bfu_propertys" in locals():
importlib.reload(bfu_propertys)
if "bfu_base_object" in locals():
importlib.reload(bfu_base_object)
if "bfu_adv_object" in locals():
importlib.reload(bfu_adv_object)
if "bfu_base_collection" in locals():
importlib.reload(bfu_base_collection)
if "bfu_static_mesh" in locals():
importlib.reload(bfu_static_mesh)
if "bfu_skeletal_mesh" in locals():
importlib.reload(bfu_skeletal_mesh)
if "bfu_modular_skeletal_mesh" in locals():
importlib.reload(bfu_modular_skeletal_mesh)
if "bfu_alembic_animation" in locals():
importlib.reload(bfu_alembic_animation)
if "bfu_anim_base" in locals():
importlib.reload(bfu_anim_base)
if "bfu_anim_action" in locals():
importlib.reload(bfu_anim_action)
if "bfu_anim_action_adv" in locals():
importlib.reload(bfu_anim_action_adv)
if "bfu_anim_nla" in locals():
importlib.reload(bfu_anim_nla)
if "bfu_anim_nla_adv" in locals():
importlib.reload(bfu_anim_nla_adv)
if "bfu_groom" in locals():
importlib.reload(bfu_groom)
if "bfu_camera" in locals():
Expand All @@ -98,10 +132,22 @@
importlib.reload(bfu_vertex_color)
if "bfu_lod" in locals():
importlib.reload(bfu_lod)
if "bfu_uv_map" in locals():
importlib.reload(bfu_uv_map)
if "bfu_light_map" in locals():
importlib.reload(bfu_light_map)
if "bfu_assets_references" in locals():
importlib.reload(bfu_assets_references)
if "bfu_custom_property" in locals():
importlib.reload(bfu_custom_property)
if "bfu_addon_parts" in locals():
importlib.reload(bfu_addon_parts)
if "bfu_export_nomenclature" in locals():
importlib.reload(bfu_export_nomenclature)
if "bfu_export_filter" in locals():
importlib.reload(bfu_export_filter)
if "bfu_export_process" in locals():
importlib.reload(bfu_export_process)
if "bfu_export_procedure" in locals():
importlib.reload(bfu_export_procedure)
if "bfu_addon_pref" in locals():
Expand Down Expand Up @@ -137,19 +183,7 @@
if "bfu_cached_asset_list" in locals():
importlib.reload(bfu_cached_asset_list)

bl_info = {
'name': 'Blender for UnrealEngine',
'author': 'Loux Xavier (BleuRaven)',
'version': (4, 3, 1),
'blender': (2, 80, 0),
'location': 'View3D > UI > Unreal Engine',
'description': "This add-ons allows to easily export several objects at the same time and import in Unreal Engine.",
'warning': '',
"wiki_url": "https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki",
'tracker_url': 'https://github.com/xavier150/Blender-For-UnrealEngine-Addons/issues',
'support': 'COMMUNITY',
'category': 'Import-Export'}

bl_info = {}

class BFUCachedAction(bpy.types.PropertyGroup):
"""
Expand All @@ -168,9 +202,18 @@ def register():
bbpl.register()
bfu_assets_manager.register()
bfu_propertys.register()
bfu_base_object.register()
bfu_adv_object.register()
bfu_base_collection.register()
bfu_static_mesh.register()
bfu_skeletal_mesh.register()
bfu_modular_skeletal_mesh.register()
bfu_alembic_animation.register()
bfu_anim_base.register()
bfu_anim_action.register()
bfu_anim_action_adv.register()
bfu_anim_nla.register()
bfu_anim_nla_adv.register()
bfu_groom.register()
bfu_camera.register()
bfu_spline.register()
Expand All @@ -179,8 +222,14 @@ def register():
bfu_material.register()
bfu_vertex_color.register()
bfu_lod.register()
bfu_uv_map.register()
bfu_light_map.register()
bfu_assets_references.register()
bfu_custom_property.register()
bfu_addon_parts.register()
bfu_export_nomenclature.register()
bfu_export_filter.register()
bfu_export_process.register()
bfu_export_procedure.register()
bfu_addon_pref.register()
bfu_export_logs.register()
Expand All @@ -200,19 +249,34 @@ def unregister():
bfu_export_logs.unregister()
bfu_addon_pref.unregister()
bfu_export_procedure.unregister()
bfu_export_process.unregister()
bfu_export_filter.unregister()
bfu_export_nomenclature.unregister()
bfu_addon_parts.unregister()
bfu_custom_property.unregister()
bfu_assets_references.unregister()
bfu_light_map.unregister()
bfu_uv_map.unregister()
bfu_lod.unregister()
bfu_vertex_color.unregister()
bfu_material.unregister()
bfu_socket.unregister()
bfu_collision.unregister()
bfu_spline.unregister()
bfu_camera.unregister()
bfu_anim_nla_adv.unregister()
bfu_anim_nla.unregister()
bfu_anim_action_adv.unregister()
bfu_anim_action.unregister()
bfu_anim_base.unregister()
bfu_alembic_animation.unregister()
bfu_groom.unregister()
bfu_modular_skeletal_mesh.unregister()
bfu_skeletal_mesh.unregister()
bfu_static_mesh.unregister()
bfu_base_collection.unregister()
bfu_adv_object.unregister()
bfu_base_object.unregister()
bfu_propertys.unregister()
bfu_assets_manager.unregister()
bbpl.unregister()
89 changes: 89 additions & 0 deletions blender-for-unrealengine/addon_generate_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"schema_version": [1,0,0],
"blender_manifest": {
"id": "unrealengine_assets_exporter",
"version": [4,3,8],
"name": "Unreal Engine Assets Exporter",
"tagline": "Allows to batch export and import in Unreal Engine",
"maintainer": "Loux Xavier (BleuRaven) [email protected]",

"website_url": "https://github.com/xavier150/Blender-For-UnrealEngine-Addons/",
"report_issue_url": "https://github.com/xavier150/Blender-For-UnrealEngine-Addons/issues",
"support": "COMMUNITY",

"type": "add-on",
"tags": ["Import-Export"],
"category": "Import-Export",
"license": ["SPDX:GPL-3.0-or-later"],

"copyright": [
"2024 Xavier Loux",
"2013 Blender Foundation",
"2006-2012 assimp team",
"2013 Campbell Barton",
"2014 Bastien Montagne"
],

"permissions": {
"files": "Import/export FBX from/to disk",
"clipboard": "Copy generated script paths"
}
},

"builds": {
"unrealengine_assets_exporter_4.3": {
"generate_method": "EXTENTION_COMMAND",
"auto_install_range": [[4,3,0], [4,3,0]],
"naming": "{Name}_{Version}-blender_4.3.zip",
"module": "blender-for-unrealengine",
"pkg_id": "unrealengine_assets_exporter",
"exclude_paths": [
"fbxio/"
],
"include_paths": [
"fbxio/__init__.py/",
"fbxio/io_scene_fbx_4_3/"
],
"blender_version_min": [4,3,0]
},
"unrealengine_assets_exporter_4.2": {
"generate_method": "EXTENTION_COMMAND",
"auto_install_range": [[4,2,0], [4,2,3]],
"naming": "{Name}_{Version}-blender_4.2.zip",
"module": "blender-for-unrealengine",
"pkg_id": "unrealengine_assets_exporter",
"exclude_paths": [
"fbxio/"
],
"include_paths": [
"fbxio/__init__.py/",
"fbxio/io_scene_fbx_4_2/"
],
"blender_version_min": [4,2,0]
},
"unrealengine_assets_exporter_2.8": {
"generate_method": "SIMPLE_ZIP",
"auto_install_range": [[2,80,0], [4,1,0]],
"naming": "{Name}_{Version}-blender_2.8-4.1.zip",
"module": "blender-for-unrealengine",
"pkg_id": "unrealengine_assets_exporter",
"exclude_paths": [
"fbxio/"
],
"include_paths": [
"fbxio/__init__.py/",
"fbxio/io_scene_fbx_4_1/",
"fbxio/io_scene_fbx_4_0/",
"fbxio/io_scene_fbx_3_6/",
"fbxio/io_scene_fbx_3_5/",
"fbxio/io_scene_fbx_3_4/",
"fbxio/io_scene_fbx_3_3/",
"fbxio/io_scene_fbx_3_2/",
"fbxio/io_scene_fbx_3_1/",
"fbxio/io_scene_fbx_2_93/",
"fbxio/io_scene_fbx_2_83/"
],
"blender_version_min": [2,80,0]
}
}
}
Loading

0 comments on commit 79aa6c1

Please sign in to comment.