if set display node name in scene inspector panel

This commit is contained in:
wmayer
2017-05-01 17:45:42 +02:00
parent c831d66589
commit 5232aa745f

View File

@@ -105,6 +105,9 @@ void SceneModel::setNode(QModelIndex index, SoNode* node)
if (it != nodeNames.end()) {
this->setData(this->index(i, 1, index), QVariant(it.value()));
}
else {
this->setData(this->index(i, 1, index), QVariant(QString::fromLatin1(child->getName())));
}
}
}
// insert icon