Skip to content

Commit 99e9263

Browse files
committed
update
1 parent a1fd764 commit 99e9263

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/lib/gfx3_mesh/gfx3_mesh_obj.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class Gfx3MeshOBJ extends Gfx3Mesh implements Poolable<Gfx3MeshOBJ> {
281281

282282
if (line.startsWith('d')) {
283283
const a = extract(line, 1);
284-
curMat.setBlend(1.0, 1.0, 1.0, parseFloat(a));
284+
curMat.setBlendColor(1.0, 1.0, 1.0, parseFloat(a));
285285
}
286286

287287
if (line.startsWith('Ke ')) {

src/utils/viewer/viewer_screen.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ class ViewerScreen extends Screen {
109109
}
110110
else if (e.key == '3') {
111111
this.mesh = await CREATE_CUBE();
112-
this.mesh.setSingleId(3, 15);
113112
}
114113
else if (e.key == '4') {
115114
this.mesh = await CREATE_CUBE_SPRITE();

0 commit comments

Comments
 (0)