Skip to content

Commit

Permalink
Revert "feat: backport fly key settings"
Browse files Browse the repository at this point in the history
This reverts commit e7247a7.
  • Loading branch information
mint-dewit committed Nov 28, 2023
1 parent e7247a7 commit b796b5e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 70 deletions.
7 changes: 0 additions & 7 deletions src/defaults/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,6 @@ export function flyKeyframe(id: number): VideoState.USK.UpstreamKeyerFlyKeyframe
}
}

export const FlyKeyProperties: VideoState.USK.UpstreamKeyerFlySettings = {
isASet: false,
isBSet: false,
isAtKeyFrame: Enums.IsAtKeyFrame.None,
runToInfiniteIndex: Enums.FlyKeyDirection.CentreOfKey,
}

export const SuperSourceBox: VideoState.SuperSource.SuperSourceBox = {
enabled: false,
source: defaultInput,
Expand Down
55 changes: 0 additions & 55 deletions src/resolvers/upstreamKeyers/flyKey.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/resolvers/upstreamKeyers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { getAllKeysNumber, diffObject, fillDefaults } from '../../util'
import { ExtendedMixEffect } from '../../state'
import { PartialDeep } from 'type-fest'
import * as Defaults from '../../defaults'
import { resolveFlyKeyerFramesState, resolveFlyPropertiesState } from './flyKey'

export function resolveUpstreamKeyerState(
mixEffectId: number,
Expand All @@ -33,13 +32,6 @@ export function resolveUpstreamKeyerState(
commands.push(...resolveLumaKeyerState(mixEffectId, upstreamKeyerId, oldKeyer, newKeyer))
commands.push(...resolvePatternKeyerState(mixEffectId, upstreamKeyerId, oldKeyer, newKeyer))

commands.push(
...resolveFlyKeyerFramesState(mixEffectId, upstreamKeyerId, oldKeyer.flyKeyframes, newKeyer.flyKeyframes)
)
commands.push(
...resolveFlyPropertiesState(mixEffectId, upstreamKeyerId, oldKeyer.flyProperties, newKeyer.flyProperties)
)

if (oldKeyer.fillSource !== newKeyer.fillSource) {
commands.push(
new AtemCommands.MixEffectKeyFillSourceSetCommand(mixEffectId, upstreamKeyerId, newKeyer.fillSource)
Expand Down

0 comments on commit b796b5e

Please sign in to comment.