| 440 | } |
| 441 | |
| 442 | void IntrinsicEdNodeViewTreeWidget::cloneNode(QTreeWidgetItem* p_Node) |
| 443 | { |
| 444 | QTreeWidgetItem* currIt = currentItem(); |
| 445 | Components::NodeRef currentNode = _itemToNodeMap[currIt]; |
| 446 | |
| 447 | Components::NodeRef nodeRef = World::cloneNodeFull(currentNode); |
| 448 | Entity::EntityRef entityRef = Components::NodeManager::_entity(nodeRef); |
| 449 | GameStates::Editing::_currentlySelectedEntity = entityRef; |
| 450 | |
| 451 | onPopulateNodeTree(); |
| 452 | } |
| 453 | |
| 454 | void IntrinsicEdNodeViewTreeWidget::onDeleteNode() |
| 455 | { |
nothing calls this directly
no outgoing calls
no test coverage detected