summaryrefslogtreecommitdiffstats
path: root/scene/3d/particles.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-12-10 01:27:02 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-12-10 01:27:02 +0100
commita8454114544b1a4f93ea6c6a217a19494ffc852a (patch)
tree8f00e1c1b0a110f052e398cd815d794992af83d1 /scene/3d/particles.cpp
parent7cb6e6b72375fa384c509651657aeba3f67110be (diff)
downloadredot-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.cpp4
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;
}
}