fix: keep scale guide source-first
This commit is contained in:
parent
c0f376c4cf
commit
c3d8c5d56c
@ -3188,18 +3188,6 @@ async function buildScaleAdjustVisualLayoutGuideBuffer(params: {
|
||||
if (structureLockAppliedRef) {
|
||||
structureLockAppliedRef.value = true;
|
||||
}
|
||||
if (structureLockedComposite.method === "rect-crop-guide" && sourceRaw) {
|
||||
sourceFootprintBoxes.push({
|
||||
...placement.sourceFootprintBox,
|
||||
background: estimateScaleAdjustBoxBackground({
|
||||
box: placement.sourceFootprintBox,
|
||||
raw: sourceRaw,
|
||||
width: sourceWidth,
|
||||
}),
|
||||
innerOpacity: 0.7,
|
||||
opacity: 0.88,
|
||||
});
|
||||
}
|
||||
subjectWashComposites.push(structureLockedComposite.wash);
|
||||
if (structureLockedComposite.compositeClip) {
|
||||
compositeClipComposites.push(structureLockedComposite.compositeClip);
|
||||
@ -5041,7 +5029,7 @@ export async function POST(request: NextRequest) {
|
||||
scaleAdjustPromptStrategy: isScaleAdjustOperation
|
||||
? scaleAdjustPatchReference
|
||||
? useScaleAdjustFullFrameStructurePatch
|
||||
? "full-frame-source-locked-target-guide-v9-erased-old-footprint-one-shot"
|
||||
? "full-frame-source-locked-target-guide-v8-one-shot"
|
||||
: scaleAdjustPatchReference.structureLockedDraft
|
||||
? "ai-patch-workspace-structure-locked-draft-v87-subject-alpha-clipped-one-shot"
|
||||
: "ai-patch-workspace-draft-v75-soft-wipe-erase-ghost-one-shot"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user