summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-15 19:31:00 -0300
committerGitHub <noreply@github.com>2017-08-15 19:31:00 -0300
commitf0b19137f926be5844bc368f5be3e701663f30d8 (patch)
tree6a961beada7c3d450cbd23af6f59b233f3363a76 /scene/3d
parentcf2fdcb63e9b7be6b2aab2e9e0989cbd9aca704b (diff)
parent394007ebe59fb24d5ebedb2ce48e66922d995edc (diff)
Merge pull request #10170 from ISylvox/trail-divisor__editor-glitch
Trail Divisor: Fixed Editor Glitch
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/particles.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/3d/particles.cpp b/scene/3d/particles.cpp
index d83469da62..e46c941daa 100644
--- a/scene/3d/particles.cpp
+++ b/scene/3d/particles.cpp
@@ -1266,9 +1266,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 {