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 committed 2013-08-02 13:49:16 +02:00
1 parent 50777b3e3f
commit ffbb0b6a46
4 files changed
+26 -5

No files matched your search

+1 -1
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;
}