Merge pull request #28380 from kiidmale/fix-cpuparticles

Make multimesh invisible initially in CPUParticles
This commit is contained in:
Rémi Verschelde 2019-04-25 09:00:46 +02:00 committed by GitHub
commit 778322161c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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