Sculpt: Improve Expand performance #120125
@ -1373,6 +1373,9 @@ bool bNodeTreeInterface::move_item_to_parent(bNodeTreeInterfaceItem &item,
|
||||
bNodeTreeInterfacePanel *new_parent,
|
||||
int new_position)
|
||||
{
|
||||
if (new_parent == nullptr) {
|
||||
new_parent = &this->root_panel;
|
||||
}
|
||||
bNodeTreeInterfacePanel *parent = this->find_item_parent(item, true);
|
||||
if (parent == nullptr) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user