diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-21 01:05:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-21 01:42:17 +0300 |
commit | aa69fb64ac2d90f578205b6ea689e1a36f6dbf7c (patch) | |
tree | d0ad9acc5803dff68e52f89c065c0f109ebc5c9b /source/blender/physics | |
parent | 5ef2ed23e1238e88db899f9d96a9463e6f725e35 (diff) |
Cleanup: line length, indentation
Diffstat (limited to 'source/blender/physics')
-rw-r--r-- | source/blender/physics/intern/implicit_blender.c | 3 | ||||
-rw-r--r-- | source/blender/physics/intern/implicit_eigen.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/physics/intern/implicit_blender.c b/source/blender/physics/intern/implicit_blender.c index 11efabfb678..832d516b839 100644 --- a/source/blender/physics/intern/implicit_blender.c +++ b/source/blender/physics/intern/implicit_blender.c @@ -1545,7 +1545,8 @@ BLI_INLINE bool spring_length(Implicit_Data *data, int i, int j, float r_extent[ /* if (length>L) { if ((clmd->sim_parms->flags & CSIMSETT_FLAG_TEARING_ENABLED) && - ( ((length-L)*100.0f/L) > clmd->sim_parms->maxspringlen )) { + ( ((length-L)*100.0f/L) > clmd->sim_parms->maxspringlen )) + { // cut spring! s->flags |= CSPRING_FLAG_DEACTIVATE; return false; diff --git a/source/blender/physics/intern/implicit_eigen.cpp b/source/blender/physics/intern/implicit_eigen.cpp index 64a75083f72..ff4c705ed61 100644 --- a/source/blender/physics/intern/implicit_eigen.cpp +++ b/source/blender/physics/intern/implicit_eigen.cpp @@ -903,7 +903,8 @@ BLI_INLINE bool spring_length(Implicit_Data *data, int i, int j, float r_extent[ /* if (length>L) { if ((clmd->sim_parms->flags & CSIMSETT_FLAG_TEARING_ENABLED) && - ( ((length-L)*100.0f/L) > clmd->sim_parms->maxspringlen )) { + ( ((length-L)*100.0f/L) > clmd->sim_parms->maxspringlen )) + { // cut spring! s->flags |= CSPRING_FLAG_DEACTIVATE; return false; |