Exit draw region in penStamp less
This commit is contained in:
parent
590c2ca084
commit
750f40ddf2
@ -1409,8 +1409,6 @@ class RenderWebGL extends EventEmitter {
|
||||
* @param {int} stampID - the unique ID of the Drawable to use as the stamp.
|
||||
*/
|
||||
penStamp (penSkinID, stampID) {
|
||||
this._doExitDrawRegion();
|
||||
|
||||
const stampDrawable = this._allDrawables[stampID];
|
||||
if (!stampDrawable) {
|
||||
return;
|
||||
@ -1421,6 +1419,8 @@ class RenderWebGL extends EventEmitter {
|
||||
return;
|
||||
}
|
||||
|
||||
this._doExitDrawRegion();
|
||||
|
||||
const skin = /** @type {PenSkin} */ this._allSkins[penSkinID];
|
||||
|
||||
const gl = this._gl;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user