Make multimesh invisible initially in CPUParticles

Fixes #28252
This commit is contained in:
Daeil Kim 2019-04-24 16:52:49 +09:00
parent 6697fd9a05
commit 692205da33

View file

@ -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);