File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 105
105
- [x] Figure out how cameras will work.
106
106
- [x] See how much swapping to a static list of UUIDs for selecting bones effects performance.
107
107
- [x] Split up animation storage data command to avoid command length limit.
108
- - [ ] Check for references to non-existant functions in merged function tags, and remove them.
108
+ - [x ] Check for references to non-existant functions in merged function tags, and remove them.
109
109
- [ ] When applying variants, remove / replace any bones that have / had no elements with textured faces.
110
110
111
111
# Resource Pack
Original file line number Diff line number Diff line change @@ -117,10 +117,14 @@ export function getAnimationNodes(
117
117
keyframeCache = new Map ( )
118
118
for ( const [ uuid , node ] of Object . entries ( nodeMap ) ) {
119
119
const animator = animation . getBoneAnimator ( node . node )
120
- const keyframeMap = new Map ( animator . keyframes . map ( kf => [ kf . time , kf ] ) )
120
+ const keyframeMap = animator . keyframes
121
+ ? new Map ( animator . keyframes . map ( kf => [ kf . time , kf ] ) )
122
+ : new Map < number , _Keyframe > ( )
121
123
keyframeCache . set ( uuid , keyframeMap )
122
124
}
123
- excludedNodesCache = new Set ( animation . excluded_nodes . map ( b => b . value ) )
125
+ excludedNodesCache = new Set (
126
+ animation . excluded_nodes ? animation . excluded_nodes . map ( b => b . value ) : [ ]
127
+ )
124
128
}
125
129
const nodes : IAnimationNode [ ] = [ ]
126
130
Original file line number Diff line number Diff line change 11
11
"show_bounding_box": false,
12
12
"auto_bounding_box": true,
13
13
"bounding_box": [95, 32],
14
- "enable_plugin_mode": true ,
14
+ "enable_plugin_mode": false ,
15
15
"resource_pack_export_mode": "raw",
16
16
"data_pack_export_mode": "raw",
17
17
"display_item": "minecraft:white_dye",
You can’t perform that action at this time.
0 commit comments