Commit 130a4ba4 authored by Pierre Kraemer's avatar Pierre Kraemer

update filter of attributes when adding to UI list

parent 6c6cad56
......@@ -86,6 +86,8 @@ void Dialog_ComputeNormal::removeMapFromList(MapHandlerGen* map)
void Dialog_ComputeNormal::addAttributeToList(unsigned int orbit, const QString& nameAttr)
{
if(orbit == VERTEX)
{
QString vec3TypeName = QString::fromStdString(nameOfType(PFP2::VEC3()));
const QString& typeAttr = m_selectedMap->getAttributeTypeName(orbit, nameAttr);
......@@ -95,6 +97,7 @@ void Dialog_ComputeNormal::addAttributeToList(unsigned int orbit, const QString&
combo_positionAttribute->addItem(nameAttr);
combo_normalAttribute->addItem(nameAttr);
}
}
}
} // namespace SCHNApps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment