Skip to content

Commit b7c34ef

Browse files
authored
Merge pull request #58 from MrClock8163/dev
v2.3.1
2 parents 95a2dc8 + cce7609 commit b7c34ef

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Arma3ObjectBuilder/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [v2.3.1](https://github.com/MrClock8163/Arma3ObjectBuilder/releases/tag/v2.3.1) (Blender 2.90 -> 4.1)
4+
5+
### Fixed
6+
7+
- Sort Sections P3D export option was operating on the wrong object, and wasn't actually affecting the output model
8+
39
## [v2.3.0](https://github.com/MrClock8163/Arma3ObjectBuilder/releases/tag/v2.3.0) (Blender 2.90 -> 4.1)
410

511
### Added

Arma3ObjectBuilder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Arma 3 Object Builder",
33
"description": "Collection of tools for editing Arma 3 content",
44
"author": "MrClock (present add-on), Hans-Joerg \"Alwarren\" Frieden (original ArmaToolbox add-on)",
5-
"version": (2, 3, 0),
5+
"version": (2, 3, 1),
66
"blender": (2, 90, 0),
77
"location": "Object Builder panels",
88
"warning": "Development",

Arma3ObjectBuilder/io/export_p3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def get_lod_data(operator, context, validator, temp_collection):
371371
# community wiki: https://community.bistudio.com/wiki/Section_Count.
372372
# Some corrections: https://mrcmodding.gitbook.io/home/documents/sections.
373373
if operator.sort_sections:
374-
sort_sections(obj)
374+
sort_sections(main_obj)
375375

376376
for copy, is_valid_copy in zip(main_obj.a3ob_properties_object.copies, is_valid_copies):
377377
main_obj_copy = duplicate_object(main_obj, temp_collection)

0 commit comments

Comments
 (0)