Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/orbweaver/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 24, 2022
2 parents 356e425 + 10ebd73 commit 0a7f391
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/wxutil/EntityClassChooser.cpp
Expand Up @@ -95,8 +95,11 @@ class EntityClassTreePopulator:
// EntityClassVisitor implementation
void visit(const IEntityClassPtr& eclass)
{
std::string folderPath = eclass->getAttributeValue(_folderKey);
// Skip hidden entity classes
if (eclass->getVisibility() == vfs::Visibility::HIDDEN)
return;

std::string folderPath = eclass->getAttributeValue(_folderKey);
if (!folderPath.empty())
{
folderPath = "/" + folderPath;
Expand Down

0 comments on commit 0a7f391

Please sign in to comment.