diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-10 01:27:02 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-10 01:27:02 +0100 |
| commit | a8454114544b1a4f93ea6c6a217a19494ffc852a (patch) | |
| tree | 8f00e1c1b0a110f052e398cd815d794992af83d1 /scene/3d/particles.cpp | |
| parent | 7cb6e6b72375fa384c509651657aeba3f67110be (diff) | |
| download | redot-engine-a8454114544b1a4f93ea6c6a217a19494ffc852a.tar.gz | |
Style: Re-apply clang-format over recent invalid additions
Diffstat (limited to 'scene/3d/particles.cpp')
| -rw-r--r-- | scene/3d/particles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/particles.cpp b/scene/3d/particles.cpp index c137b7e8ff..821f1a5a78 100644 --- a/scene/3d/particles.cpp +++ b/scene/3d/particles.cpp @@ -1189,7 +1189,7 @@ void ParticlesMaterial::set_flag(Flags p_flag, bool p_enable) { ERR_FAIL_INDEX(p_flag, FLAG_MAX); flags[p_flag] = p_enable; _queue_shader_change(); - if (p_flag==FLAG_DISABLE_Z) { + if (p_flag == FLAG_DISABLE_Z) { _change_notify(); } } @@ -1379,7 +1379,7 @@ void ParticlesMaterial::_validate_property(PropertyInfo &property) const { } if (property.name.begins_with("orbit_") && !flags[FLAG_DISABLE_Z]) { - property.usage=0; + property.usage = 0; } } |
