Fix optional chaining in updateBoxBrushAllFaceUvsCommand.ts
This commit is contained in:
@@ -40,7 +40,7 @@ export function createUpdateBoxBrushAllFaceUvsCommand(
|
|||||||
previousUvStates = Object.fromEntries(
|
previousUvStates = Object.fromEntries(
|
||||||
getBrushFaceIds(currentBrush).map((faceId) => [
|
getBrushFaceIds(currentBrush).map((faceId) => [
|
||||||
faceId,
|
faceId,
|
||||||
cloneFaceUvState(currentBrush.faces[faceId]?.uv)
|
cloneFaceUvState(currentBrush.faces[faceId].uv)
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user