File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/dev/core/src/Materials/Textures Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1103,13 +1103,12 @@ export class RenderTargetTexture extends Texture implements IRenderTargetTexture
11031103 const particleSystem = scene . particleSystems [ particleIndex ] ;
11041104
11051105 const emitter : any = particleSystem . emitter ;
1106- if ( ! particleSystem . isStarted ( ) || ! emitter || ! emitter . position || ! emitter . isEnabled ( ) ) {
1106+
1107+ if ( ! particleSystem . isStarted ( ) || ! emitter || ( emitter . position && ! emitter . isEnabled ( ) ) ) {
11071108 continue ;
11081109 }
11091110
1110- if ( currentRenderList . indexOf ( emitter ) >= 0 ) {
1111- this . _renderingManager . dispatchParticles ( particleSystem ) ;
1112- }
1111+ this . _renderingManager . dispatchParticles ( particleSystem ) ;
11131112 }
11141113 }
11151114
You can’t perform that action at this time.
0 commit comments