Small bugfix
This commit is contained in:
parent
6ccfeea068
commit
7bf22a5f9b
1 changed files with 3 additions and 3 deletions
|
@ -147,8 +147,8 @@ export function useEditingToolsForPrimitiveProp<
|
|||
].sequence.tracksByObject[obj.address.objectKey].trackData[
|
||||
sequenceTrcackId
|
||||
],
|
||||
)!
|
||||
if (track.keyframes.length === 0) return {}
|
||||
)
|
||||
if (!track || track.keyframes.length === 0) return {}
|
||||
|
||||
const pos = val(obj.sheet.getSequence().positionDerivation)
|
||||
|
||||
|
@ -176,7 +176,7 @@ export function useEditingToolsForPrimitiveProp<
|
|||
}
|
||||
}
|
||||
},
|
||||
[],
|
||||
[sequenceTrcackId],
|
||||
)
|
||||
|
||||
let shade: Shade
|
||||
|
|
Loading…
Reference in a new issue