Skip to content

Commit 615ce6b

Browse files
authored
Merge branch 'develop' into develop
2 parents 56af76a + 273b8f8 commit 615ce6b

4 files changed

Lines changed: 30 additions & 4 deletions

File tree

CHANGELOG.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,35 @@
1+
Version v0.0.15
2+
===============
3+
4+
5+
Version v0.0.14
6+
===============
7+
8+
- #512 Two small Collision fixes
9+
- Fix for importing an empty (convex) collision shape
10+
- Closes #499 by moving it to a setting rather than using the collision physics property.
11+
- Closes #511 Blender 3.1 python errors importing and exporting collisions
12+
- #497 Slight fix for triangle assignment to bodypart on partition import
13+
- Added warning for too many bones per partition (since some games will crash with that
14+
- Closes #496 "Some polygons of Parthurnax not assigned to any body part." error on unmodified model
15+
- #505 Import animation by default
16+
17+
118
Version v0.0.13
219
==============
320

421
- #75 Separate Normal data from Material code
522
- #76 Separate UV import/export from Material code
623
- #26 Refactor Material System : Texture/Geometry
24+
- #492 Several small fixes
25+
- Addition of vertex normals/tangents/bitangents now depends on whether the 'model space normals' flag is enabled, rather than the shader type.
26+
- Changed the limit for "Max Partition Bones" on export to the ushort limit (63 before), since Skyrim LE apparently has unlimited bones.
27+
- Added single use of `math.mathutils_to_nifformat_matrix` to replace existing equivalent code.
28+
- Corrected the backup links for the auto updater to use underscores instead of dashes (would result in 'page not found'.
29+
- Changed shader node socket linking that used strings to use integers, for 2.8 compatibility.
30+
- Fixed unweighted vertex selection for issue #490 and #491.
31+
- Closes #490 - Export: Unweighted vertices cannot be selected without being in vertex selection mode
32+
- Closes #491 - Export: Unweighted vertices in a secondary mesh under the parent skeleton cannot be selected
733

834
Version v0.0.12
935
==============

io_scene_niftools/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.0.13.dev
1+
v0.0.15.dev

io_scene_niftools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"description": "Import and export files in the NetImmerse/Gamebryo formats (.nif, .kf, .egm)",
5050
"author": "Niftools team",
5151
"blender": (2, 82, 0),
52-
"version": (0, 0, 13), # can't read from VERSION, blender wants it hardcoded
52+
"version": (0, 0, 15), # can't read from VERSION, blender wants it hardcoded
5353
"api": 39257,
5454
"location": "File > Import-Export",
5555
"warning": "Generally stable port of the Niftool's Blender NifScripts, many improvements, still work in progress",

io_scene_niftools/modules/nif_export/collision/havok.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,14 +522,14 @@ def export_collision_packed(self, b_obj, n_col_body, layer, n_havok_mat):
522522
transform = math.get_object_bind(b_obj)
523523
rotation = transform.decompose()[1]
524524

525-
vertices = [vert.co * transform for vert in b_mesh.vertices]
525+
vertices = [vert.co @ transform for vert in b_mesh.vertices]
526526
triangles = []
527527
normals = []
528528
for face in b_mesh.polygons:
529529
if len(face.vertices) < 3:
530530
continue # ignore degenerate polygons
531531
triangles.append([face.vertices[i] for i in (0, 1, 2)])
532-
normals.append(rotation * face.normal)
532+
normals.append(rotation @ face.normal)
533533
if len(face.vertices) == 4:
534534
triangles.append([face.vertices[i] for i in (0, 2, 3)])
535535
normals.append(rotation * face.normal)

0 commit comments

Comments
 (0)