diff options
author | Daeil Kim <kiidmale@gmail.com> | 2019-04-24 16:52:49 +0900 |
---|---|---|
committer | Daeil Kim <kiidmale@gmail.com> | 2019-04-24 16:52:49 +0900 |
commit | 692205da33be658eb40112bac81ae51a931cea3f (patch) | |
tree | bdb25208bb42dd82f34d2ca315095b4d0ba2c283 /scene | |
parent | 6697fd9a05859914fc320b4b4321fd9fb6170f71 (diff) |
Make multimesh invisible initially in CPUParticles
Fixes #28252
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/cpu_particles.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/cpu_particles.cpp b/scene/3d/cpu_particles.cpp index 469a1e87db..d4e242dcb7 100644 --- a/scene/3d/cpu_particles.cpp +++ b/scene/3d/cpu_particles.cpp @@ -1394,6 +1394,7 @@ CPUParticles::CPUParticles() { redraw = false; multimesh = VisualServer::get_singleton()->multimesh_create(); + VisualServer::get_singleton()->multimesh_set_visible_instances(multimesh, 0); set_base(multimesh); set_emitting(true); |