实现同帧OSC写入、双面板刷新、LUT强度与蒙版形状保持,待验证
这个提交包含在:
1 父节点
4e0ccec6a9
当前提交
c0cddd2b65
21 个文件已更改
+171
-32
没有与搜索条件相匹配的文件
@@ -193,12 +193,7 @@
|
||||
[self drawStampReference];
|
||||
[self drawStampSource:NSMakePoint([source[0]doubleValue],[source[1]doubleValue])];
|
||||
BOOL tracking=[_mask[@"tracking"]boolValue];
|
||||
NSString *status=_mask[@"status"];
|
||||
if(status.length){
|
||||
NSRect box=NSMakeRect(NSMinX(_imageRect)+8*_uiScale,NSMinY(_imageRect)+10*_uiScale,MAX(1,MIN(NSWidth(_imageRect)-16*_uiScale,680*_uiScale)),64*_uiScale);
|
||||
DYDrawSoftControl(box,4,NO,NO,NO);NSMutableParagraphStyle *style=[[[NSMutableParagraphStyle alloc]init]autorelease];style.lineBreakMode=NSLineBreakByWordWrapping;
|
||||
[status drawInRect:NSInsetRect(box,7*_uiScale,5*_uiScale) withAttributes:@{NSForegroundColorAttributeName:[_mask[@"trackingStopped"]boolValue]?NSColor.systemOrangeColor:NSColor.whiteColor,NSFontAttributeName:[NSFont systemFontOfSize:11*_uiScale],NSParagraphStyleAttributeName:style}];
|
||||
}
|
||||
// Transient status is a native click-through HUD; paused OSC pixels never retain a banner.
|
||||
if(!tracking){NSArray *actions=@[[_mask[@"referenceDrawing"]boolValue]?@"取消参考选择":@"选择跟踪参考",@"手工关键帧",@"最后可信帧"];for(NSInteger i=0;i<3;i++){NSRect cell=[self stampActionRect:i];DYDrawSoftControl(cell,4,NO,NO,NO);[actions[i]drawInRect:NSInsetRect(cell,4,4) withAttributes:@{NSForegroundColorAttributeName:i==2&&![_mask[@"canReturn"]boolValue]?NSColor.grayColor:NSColor.whiteColor,NSFontAttributeName:[NSFont systemFontOfSize:MAX(8.,NSHeight(cell)*.45)]}];}}
|
||||
NSArray *titles=tracking?@[@"停止跟踪"]:[_mask[@"referenceDrawing"]boolValue]?@[]:@[@"向后跟踪",@"双向跟踪",@"向前跟踪"];
|
||||
for(NSUInteger i=0;i<titles.count;i++){
|
||||
|
||||
在新工单中引用
屏蔽一个用户