浏览代码

Merge pull request #9257 from sebavan/master

Fix #9254
sebavan 4 年之前
父节点
当前提交
12e4fd0ce8
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/Particles/particleSystem.ts

+ 3 - 1
src/Particles/particleSystem.ts

@@ -2019,7 +2019,9 @@ export class ParticleSystem extends BaseParticleSystem implements IDisposable, I
         if (this.blendMode === ParticleSystem.BLENDMODE_MULTIPLYADD) {
             outparticles = this._render(ParticleSystem.BLENDMODE_MULTIPLY) + this._render(ParticleSystem.BLENDMODE_ADD);
         }
-        outparticles = this._render(this.blendMode);
+        else {
+            outparticles = this._render(this.blendMode);
+        }
 
         this._engine.unbindInstanceAttributes();
         this._engine.setAlphaMode(Constants.ALPHA_DISABLE);