Fix optional chaining in updateBoxBrushAllFaceUvsCommand.ts

This commit is contained in:
2026-04-15 07:56:03 +02:00
parent e8469ce7f9
commit d576bfe1e3

View File

@@ -40,7 +40,7 @@ export function createUpdateBoxBrushAllFaceUvsCommand(
previousUvStates = Object.fromEntries(
getBrushFaceIds(currentBrush).map((faceId) => [
faceId,
cloneFaceUvState(currentBrush.faces[faceId]?.uv)
cloneFaceUvState(currentBrush.faces[faceId].uv)
])
);
}