Skip to content
Snippets Groups Projects
Commit 6c574e4d authored by Justin Carpentier's avatar Justin Carpentier Committed by Joseph Mirabel
Browse files

Simplification of names in body list tree (#78)

* [GUI] Simply name of items in the Body tree

* [Git] Update .gitignore

* [GUI] Fix specific case
parent 16fa78e2
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,4 @@ _build/*
Xcode/*
coverage/*
build*
*.pyc
......@@ -36,6 +36,9 @@ namespace gepetto {
setEditable(false);
connect (&vmMapper_, SIGNAL (mapped (QString)), SLOT(setViewingMode(QString)));
connect (&vizMapper_, SIGNAL (mapped (QString)), SLOT(setVisibilityMode(QString)));
const std::string & name = node->getID();
QStandardItem::setText(name.substr(name.find_last_of("/") + 1).c_str());
}
QStandardItem* BodyTreeItem::clone() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment