@@ -4,7 +4,6 @@ import { events } from '../util/events'
44import { ContextProperty , createBlockbenchMod } from '../util/moddingTools'
55import {
66 EASING_DEFAULT ,
7- EASING_OPTIONS ,
87 EasingKey ,
98 easingFunctions ,
109 getEasingArgDefault ,
@@ -138,7 +137,6 @@ createBlockbenchMod(
138137 `${ PACKAGE . name } :keyframeEasingMod` ,
139138 {
140139 originalGetLerp : Blockbench . Keyframe . prototype . getLerp ,
141- originalGetArray : Blockbench . Keyframe . prototype . getArray ,
142140 easingProperty : undefined as ContextProperty < 'string' > ,
143141 easingArgsProperty : undefined as ContextProperty < 'array' > ,
144142 } ,
@@ -181,23 +179,11 @@ createBlockbenchMod(
181179 return result
182180 }
183181
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-
195182 return context
196183 } ,
197184 context => {
198185 context . easingProperty ?. delete ( )
199186 context . easingArgsProperty ?. delete ( )
200187 Blockbench . Keyframe . prototype . getLerp = context . originalGetLerp
201- Blockbench . Keyframe . prototype . getArray = context . originalGetArray
202188 }
203189)
0 commit comments