trail divisor is now works properly

This commit is contained in:
Indah Sylvia 2017-08-08 22:10:18 +07:00
parent 95f10c620d
commit 394007ebe5

View file

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