[Bf-blender-cvs] [77d3d8b7788] soc-2019-adaptive-cloth: Cloth: fix updating active faces after fixing mesh in collapse edges

ishbosamiya noreply at git.blender.org
Thu Jul 25 11:35:31 CEST 2019


Commit: 77d3d8b77886246eb47b14c1ee962f51226260a1
Author: ishbosamiya
Date:   Thu Jul 25 14:03:43 2019 +0530
Branches: soc-2019-adaptive-cloth
https://developer.blender.org/rB77d3d8b77886246eb47b14c1ee962f51226260a1

Cloth: fix updating active faces after fixing mesh in collapse edges

===================================================================

M	source/blender/blenkernel/intern/cloth_remeshing.cpp

===================================================================

diff --git a/source/blender/blenkernel/intern/cloth_remeshing.cpp b/source/blender/blenkernel/intern/cloth_remeshing.cpp
index 122a4c7dbd9..db6d8deb650 100644
--- a/source/blender/blenkernel/intern/cloth_remeshing.cpp
+++ b/source/blender/blenkernel/intern/cloth_remeshing.cpp
@@ -1713,7 +1713,7 @@ static void cloth_remeshing_update_active_faces(vector<BMFace *> &active_faces,
       }
     }
     if (already_exists) {
-      break;
+      continue;
     }
     active_faces.push_back(fix_active[i]);
   }



More information about the Bf-blender-cvs mailing list