diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-01-12 09:23:04 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-01-12 09:41:08 +0300 |
commit | ef941a6500676ffd0fd6176c6e0d73993f07768d (patch) | |
tree | c914562aa04966d06696b617c2fc05a5be304594 /scene | |
parent | 8e514bbf6ab3d2cff4daeb64e842bd8846c07046 (diff) |
Renamed `emit_particle` to `emit_subparticle` shader function
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/particles_material.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/particles_material.cpp b/scene/resources/particles_material.cpp index 73b7a5cfe9..3aa9f9b3bc 100644 --- a/scene/resources/particles_material.cpp +++ b/scene/resources/particles_material.cpp @@ -646,7 +646,7 @@ void ParticlesMaterial::_update_shader() { code += " for(int i=0;i<emit_count;i++) {\n"; code += " uint flags = FLAG_EMIT_POSITION|FLAG_EMIT_ROT_SCALE;\n"; code += " if (sub_emitter_keep_velocity) flags|=FLAG_EMIT_VELOCITY;\n"; - code += " emit_particle(TRANSFORM,VELOCITY,vec4(0.0),vec4(0.0),flags);\n"; + code += " emit_subparticle(TRANSFORM,VELOCITY,vec4(0.0),vec4(0.0),flags);\n"; code += " }"; } |