Fix errors in goToFrame
This commit is contained in:
@@ -177,6 +177,7 @@ let tools = {
|
|||||||
get: () => {
|
get: () => {
|
||||||
if (context.selection.length != 1) return undefined;
|
if (context.selection.length != 1) return undefined;
|
||||||
const selectedObject = context.selection[0];
|
const selectedObject = context.selection[0];
|
||||||
|
if (! (selectedObject.idx in context.activeObject.currentFrame.keys)) return undefined;
|
||||||
return context.activeObject.currentFrame.keys[selectedObject.idx]
|
return context.activeObject.currentFrame.keys[selectedObject.idx]
|
||||||
.goToFrame;
|
.goToFrame;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user