diff --git a/src/component/Canvas/CanvasEditor/commands/RedGreenCommands.js b/src/component/Canvas/CanvasEditor/commands/RedGreenCommands.js index 0309755d..c4d60491 100644 --- a/src/component/Canvas/CanvasEditor/commands/RedGreenCommands.js +++ b/src/component/Canvas/CanvasEditor/commands/RedGreenCommands.js @@ -134,7 +134,8 @@ export class BatchInitializeRedGreenModeCommand extends Command { this._setupNormalLayerOpacity(normalLayers); // 这里不需要在这里设置透明度 由图层统一处理 // 9. 创建新的空白图层并设置为活动图层 - this.newEmptyLayerId = await this._createAndActivateEmptyLayer(); + // this.newEmptyLayerId = await this._createAndActivateEmptyLayer(); + this.newEmptyLayerId = normalLayers[0]?.id || null; // 设置普通图层的裁剪对象为衣服底图 if (backgroundObject) {