Use a special flag to indicate hidden children of a field.

Added new method in PdmUiItem called isUiHideChildren()
p4#: 22093
This commit is contained in:
Magne Sjaastad
2013-08-02 13:49:16 +02:00
parent 50777b3e3f
commit ffbb0b6a46
4 changed files with 26 additions and 5 deletions

View File

@@ -555,7 +555,7 @@ PdmUiTreeItem* UiTreeItemBuilderPdm::buildViewItems(PdmUiTreeItem* parentTreeIte
// Fix for hidden legend definitions. There is only one visible legend definition, the others reside in a hidden container
// Todo: This is a Hack. Must be rewritten when a more general ui tree building method is in place.
// See comment at top of this method.
if (field->isUiHidden())
if (field->isUiHideChildren())
{
continue;
}