Skip to content

Commit 3ea00b5

Browse files
committed
Merge remote-tracking branch 'upstream/dev-2.0' into dev-2.0
2 parents f8bcb56 + 39aab83 commit 3ea00b5

File tree

20 files changed

+595
-342
lines changed

20 files changed

+595
-342
lines changed

package-lock.json

Lines changed: 2 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/webgl/3d_primitives.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3559,12 +3559,14 @@ function primitives3D(p5, fn){
35593559
v1 = (sy + sHeight) / img.height;
35603560
}
35613561

3562+
this._drawingImage = true;
35623563
this.beginShape();
35633564
this.vertex(dx, dy, 0, u0, v0);
35643565
this.vertex(dx + dWidth, dy, 0, u1, v0);
35653566
this.vertex(dx + dWidth, dy + dHeight, 0, u1, v1);
35663567
this.vertex(dx, dy + dHeight, 0, u0, v1);
35673568
this.endShape(constants.CLOSE);
3569+
this._drawingImage = false;
35683570

35693571
this._pInst.pop();
35703572

0 commit comments

Comments
 (0)