MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / onReplaceModel

Method onReplaceModel

bt_editor/sidepanel_editor.cpp:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void SidepanelEditor::onReplaceModel(const QString& old_name,
215 const NodeModel &new_model)
216{
217 _tree_nodes_model.erase( old_name );
218 _model_registry->unregisterModel( old_name );
219 emit addNewModel( new_model );
220 emit nodeModelEdited(old_name, new_model.registration_ID);
221}
222
223
224void SidepanelEditor::on_buttonUpload_clicked()

Callers 1

modifyCustomModelMethod · 0.80

Calls

no outgoing calls

Tested by 1

modifyCustomModelMethod · 0.64