@@ -4,7 +4,6 @@ import { events } from '../util/events'
4
4
import { ContextProperty , createBlockbenchMod } from '../util/moddingTools'
5
5
import {
6
6
EASING_DEFAULT ,
7
- EASING_OPTIONS ,
8
7
EasingKey ,
9
8
easingFunctions ,
10
9
getEasingArgDefault ,
@@ -138,7 +137,6 @@ createBlockbenchMod(
138
137
`${ PACKAGE . name } :keyframeEasingMod` ,
139
138
{
140
139
originalGetLerp : Blockbench . Keyframe . prototype . getLerp ,
141
- originalGetArray : Blockbench . Keyframe . prototype . getArray ,
142
140
easingProperty : undefined as ContextProperty < 'string' > ,
143
141
easingArgsProperty : undefined as ContextProperty < 'array' > ,
144
142
} ,
@@ -181,23 +179,11 @@ createBlockbenchMod(
181
179
return result
182
180
}
183
181
184
- Blockbench . Keyframe . prototype . getArray = function ( this : _Keyframe , dataPoint ) {
185
- // const { easing, easingArgs } = this
186
- let result = context . originalGetArray . call ( this , dataPoint )
187
- if ( isCurrentFormat ( ) ) {
188
- // result = { vector: result, easing }
189
- // if (hasArgs(easing)) result.easingArgs = easingArgs
190
- }
191
-
192
- return result
193
- }
194
-
195
182
return context
196
183
} ,
197
184
context => {
198
185
context . easingProperty ?. delete ( )
199
186
context . easingArgsProperty ?. delete ( )
200
187
Blockbench . Keyframe . prototype . getLerp = context . originalGetLerp
201
- Blockbench . Keyframe . prototype . getArray = context . originalGetArray
202
188
}
203
189
)
0 commit comments