Should expand root when auto_expand is on#111393
Conversation
|
I’d like to test this. I’m not sure if what I mean is clear — that is, if the option isn’t enabled, the tree won’t expand beyond what’s already expanded. If the option is checked, the tree will expand until it reaches the node selected in the 2D editor. |
@Torguen My description makes some confusion. The original function tried to expand tree node from selected node to all of parents, but only forgot to expand root node. So my patch fixed the last part - root node, to fix this issue. |
auto_expand is on
|
Thanks! Congratulations on your first merged contribution! 🎉 |
It is obvious that the logic of not expanding the root node is incorrect。