Skip to content

Commit 7c203f4

Browse files
committed
Version 11.3.0 - added a lossy postprocessing optimization that can be applied to animations during export.
1 parent 1919881 commit 7c203f4

File tree

4 files changed

+38
-4
lines changed

4 files changed

+38
-4
lines changed

mcblend/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"author": "Artur",
117117
"description": "An addon that allows to design and animate Minecraft Bedrock Edition models",
118118
"blender": (4, 2, 0),
119-
"version": (11, 2, 0), # Remember to update the version in the "docs/conf.py"
119+
"version": (11, 3, 0), # Remember to update the version in the "docs/conf.py"
120120
"location": "",
121121
"warning": "",
122122
"category": "Object"
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"format_version": "1.8.0",
3+
"animations": {
4+
"animation.optimized_animation": {
5+
"animation_length": 1.96,
6+
"bones": {
7+
"root": {
8+
"position": {
9+
"0": [0, 0, 0],
10+
"0.36": [80, 80, 80],
11+
"1.56": [80, 80, 80],
12+
"1.96": [0, 0, 0]
13+
},
14+
"rotation": {
15+
"0": [0, 0, 0],
16+
"0.76": [0, 0, 0],
17+
"1.16": [45, 0, 0],
18+
"1.56": [0, 0, 0],
19+
"1.96": [0, 0, 0]
20+
},
21+
"scale": {
22+
"0": [1, 1, 1],
23+
"0.36": [1, 1, 1],
24+
"0.76": [2, 2, 2],
25+
"1.56": [2, 2, 2],
26+
"1.96": [1, 1, 1]
27+
}
28+
}
29+
},
30+
"loop": true
31+
}
32+
}
33+
}

tests/data/tests_project.blend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:a8da625fd8cacc8f415d3fa8b3c8572d678ee2118b80b3691c72691618aafb20
3-
size 2372437
2+
oid sha256:b9180f3a069702de81403b875010339ee9a9118a5ab180ec6cf993f59101e496
3+
size 2466513

tests/test_animation_export.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def make_comparison_files(scene: str) -> tp.Tuple[tp.Dict, str]:
5252
# ARMATURE origin mode (so result should be the same).
5353
'ArmatureAnimation_ArmatureOrigin',
5454

55-
'animation_interpolation'
55+
'animation_interpolation',
56+
'animation_optimization'
5657
]
5758

5859
def setup_module(module):

0 commit comments

Comments
 (0)