将最后可信帧跳转移到参数动作结束后并覆盖宿主拒绝回归
这个提交包含在:
1 父节点
9b097e04a2
当前提交
19db05b364
10 个文件已更改
+106
-30
没有与搜索条件相匹配的文件
@@ -173,11 +173,14 @@
|
||||
if(CMTIME_IS_NUMERIC(last))[[self->_apiManager apiForProtocol:@protocol(FxTimingAPI_v4)]timelineTime:&timeline fromInputTime:last];
|
||||
id commands=[self->_apiManager apiForProtocol:@protocol(FxCommandAPI_v2)];
|
||||
if(!commands)commands=[self->_apiManager apiForProtocol:@protocol(FxCommandAPI)];
|
||||
NSError *error=nil;
|
||||
BOOL supported=[commands respondsToSelector:@selector(movePlayheadToTime:error:)];
|
||||
BOOL moved=CMTIME_IS_NUMERIC(timeline)&&supported&&[commands movePlayheadToTime:timeline error:&error];
|
||||
os_log(OS_LOG_DEFAULT,"dayu_clone_return input=%{public}.6f timeline=%{public}.6f supported=%{public}d moved=%{public}d error=%{public}@",CMTimeGetSeconds(last),CMTimeGetSeconds(timeline),supported,moved,error.localizedDescription?:@"");
|
||||
if(!moved)[self toolStatus:[NSString stringWithFormat:@"最后可信位置 %.3fs · %@",CMTimeGetSeconds(last),error.localizedDescription?:@"宿主暂时无法跳转,请手动定位。"]];return;
|
||||
// Finish the parameter read before asking the host to leave this frame.
|
||||
dispatch_async(dispatch_get_main_queue(),^{
|
||||
NSError *error=nil;
|
||||
BOOL supported=[commands respondsToSelector:@selector(movePlayheadToTime:error:)];
|
||||
BOOL moved=CMTIME_IS_NUMERIC(timeline)&&supported&&[commands movePlayheadToTime:timeline error:&error];
|
||||
os_log(OS_LOG_DEFAULT,"dayu_clone_return input=%{public}.6f timeline=%{public}.6f supported=%{public}d moved=%{public}d error=%{public}@",CMTimeGetSeconds(last),CMTimeGetSeconds(timeline),supported,moved,error.localizedDescription?:@"");
|
||||
if(!moved)[self toolStatus:[NSString stringWithFormat:@"最后可信位置 %.3fs · %@",CMTimeGetSeconds(last),error.localizedDescription?:@"宿主暂时无法跳转,请手动定位。"]];
|
||||
});return;
|
||||
}
|
||||
BOOL cancelReference=[command isEqual:@"reference"]&&self->_toolDrawingStampReference;
|
||||
[self discardToolCanvasDraft];
|
||||
|
||||
在新工单中引用
屏蔽一个用户