Commit dd3ca0db authored by ESTERIE Pierre's avatar ESTERIE Pierre

Fix missing declare_mine in all constructors of the group tree

parent e35676b5
...@@ -127,6 +127,7 @@ public: ...@@ -127,6 +127,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
_particleBlocks.push_back(newParticleBlock); _particleBlocks.push_back(newParticleBlock);
...@@ -170,6 +171,7 @@ public: ...@@ -170,6 +171,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
// If we can move right then add another block // If we can move right then add another block
...@@ -291,6 +293,7 @@ public: ...@@ -291,6 +293,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
_particleBlocks.push_back(newParticleBlock); _particleBlocks.push_back(newParticleBlock);
...@@ -364,6 +367,7 @@ public: ...@@ -364,6 +367,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
sizeOfBlock = 0; sizeOfBlock = 0;
...@@ -499,6 +503,7 @@ public: ...@@ -499,6 +503,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
_particleBlocks.push_back(newParticleBlock); _particleBlocks.push_back(newParticleBlock);
...@@ -574,6 +579,7 @@ public: ...@@ -574,6 +579,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
sizeOfBlock = 0; sizeOfBlock = 0;
...@@ -630,6 +636,7 @@ public: ...@@ -630,6 +636,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
sizeOfBlock = 0; sizeOfBlock = 0;
...@@ -833,6 +840,7 @@ public: ...@@ -833,6 +840,7 @@ public:
} }
// Keep the block // Keep the block
newBlock->declare_mine();
_cellBlocksPerLevel[idxLevel].push_back(newBlock); _cellBlocksPerLevel[idxLevel].push_back(newBlock);
sizeOfBlock = 0; sizeOfBlock = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment