FBX IO: Speed up animation simplification using NumPy #104904
@ -1400,7 +1400,7 @@ class AnimationCurveNodeWrapper:
|
|||||||
# are not animated, but are children of animated ones, so added an option to systematically force writing
|
# are not animated, but are children of animated ones, so added an option to systematically force writing
|
||||||
# one key in this case.
|
# one key in this case.
|
||||||
# See T41719, T41605, T41254...
|
# See T41719, T41605, T41254...
|
||||||
if self.force_keying or (force_keep and not np.any(self._frame_write_mask_array)):
|
if self.force_keying or (force_keep and not self):
|
||||||
are_keyed = [True] * len(self._frame_write_mask_array)
|
are_keyed = [True] * len(self._frame_write_mask_array)
|
||||||
else:
|
else:
|
||||||
are_keyed = np.any(self._frame_write_mask_array, axis=1)
|
are_keyed = np.any(self._frame_write_mask_array, axis=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user