[Bf-blender-cvs] [0376b2f5661] master: Forgot to free a bvhtree with previous commit.

Howard Trickey noreply at git.blender.org
Sun Feb 7 23:41:47 CET 2021


Commit: 0376b2f56617947e2ae376b389a8a95b60d73e59
Author: Howard Trickey
Date:   Sun Feb 7 17:41:03 2021 -0500
Branches: master
https://developer.blender.org/rB0376b2f56617947e2ae376b389a8a95b60d73e59

Forgot to free a bvhtree with previous commit.

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

M	source/blender/blenlib/intern/mesh_boolean.cc

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

diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc
index 85c64c3c855..09b6ffc1fd9 100644
--- a/source/blender/blenlib/intern/mesh_boolean.cc
+++ b/source/blender/blenlib/intern/mesh_boolean.cc
@@ -2584,6 +2584,7 @@ static IMesh raycast_boolean(const IMesh &tm,
       }
     }
   }
+  BLI_bvhtree_free(tree);
   ans.set_faces(out_faces);
   return ans;
 }



More information about the Bf-blender-cvs mailing list