[Bf-blender-cvs] [c9df2017dc9] temp-geometry-nodes-extrude-and-scale: cleanup
Jacques Lucke
noreply at git.blender.org
Tue Jan 11 18:04:54 CET 2022
Commit: c9df2017dc9b1945b8e4af32c1caf9c28028d12d
Author: Jacques Lucke
Date: Tue Jan 11 17:55:49 2022 +0100
Branches: temp-geometry-nodes-extrude-and-scale
https://developer.blender.org/rBc9df2017dc9b1945b8e4af32c1caf9c28028d12d
cleanup
===================================================================
M source/blender/blenlib/BLI_disjoint_set.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_disjoint_set.hh b/source/blender/blenlib/BLI_disjoint_set.hh
index 019cad9c0c0..2002577f956 100644
--- a/source/blender/blenlib/BLI_disjoint_set.hh
+++ b/source/blender/blenlib/BLI_disjoint_set.hh
@@ -30,7 +30,6 @@ class DisjointSet {
private:
Array<int64_t> parents_;
Array<int64_t> ranks_;
- bool all_roots_ensured_ = false;
public:
/**
@@ -50,8 +49,6 @@ class DisjointSet {
*/
void join(int64_t x, int64_t y)
{
- BLI_assert_msg(!all_roots_ensured_, "Cannot join after `ensure_all_roots` has been called.");
-
int64_t root1 = this->find_root(x);
int64_t root2 = this->find_root(y);
More information about the Bf-blender-cvs
mailing list