Merge pull request #10170 from ISylvox/trail-divisor__editor-glitch

Trail Divisor: Fixed Editor Glitch
This commit is contained in:
Juan Linietsky 2017-08-15 19:31:00 -03:00 committed by GitHub
commit f0b19137f9
1 changed files with 1 additions and 2 deletions

View File

@ -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 {