diff options
author | Indah Sylvia <ISylvox@yahoo.com> | 2017-08-08 22:10:18 +0700 |
---|---|---|
committer | Indah Sylvia <ISylvox@yahoo.com> | 2017-08-08 22:16:26 +0700 |
commit | 394007ebe59fb24d5ebedb2ce48e66922d995edc (patch) | |
tree | 3fa2cf5e8adb30bf4435a644bd5d84deee43e0db /scene/3d | |
parent | 95f10c620d475245e62bed81cb981aa47c926d0b (diff) |
trail divisor is now works properly
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/particles.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/3d/particles.cpp b/scene/3d/particles.cpp index bab23d013b..c0db07e309 100644 --- a/scene/3d/particles.cpp +++ b/scene/3d/particles.cpp @@ -1264,9 +1264,8 @@ int ParticlesMaterial::get_emission_point_count() const { void ParticlesMaterial::set_trail_divisor(int p_divisor) { - VisualServer::get_singleton()->material_set_param(_get_material(), shader_names->trail_divisor, p_divisor); trail_divisor = p_divisor; - _change_notify(); + VisualServer::get_singleton()->material_set_param(_get_material(), shader_names->trail_divisor, p_divisor); } int ParticlesMaterial::get_trail_divisor() const { |