We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddbbc8d commit abfab95Copy full SHA for abfab95
js/src/controls/Picker.js
@@ -133,7 +133,7 @@ function getinfo(o) {
133
faceNormal: [o.face.normal.x, o.face.normal.y, o.face.normal.z],
134
faceIndex: o.faceIndex !== undefined && o.faceIndex !== null ? o.faceIndex : null,
135
object: o.object.ipymodel,
136
- uv: [o.uv.x, o.uv.y] || [0, 0],
+ uv: o.uv ? [o.uv.x, o.uv.y] : [0, 0],
137
};
138
}
139
return {
0 commit comments