HyperTreeGrid cursor state issue after a SubdivideLeaf
While trying to generate a HTG using the Geometry cursor, I've noticed that the SubdivideLeaf
method call does not properly update the cursor. On the other hand the basic regular cursor works fine when subdividing leaves from a random constraint.
Although in my use-case, I do need the geometry feedback in order to properly produce my HTG.
To reproduce and highlight the issue:
- Load the file MandelbrotHTG-bug.py as a plugin
- In source menu create
DEBUG(BUG) Mandebrot HTG Source
- Adjust the level
- The console should show that after each
SubdivideLeaf
the cursor still think it is at a leaf position.