Show perspective preset grid files in Browser

This commit is contained in:
manongjohn 2021-11-18 14:53:18 -05:00
parent 26a79c4ba9
commit 0b689db2dd
2 changed files with 3 additions and 1 deletions

View file

@ -599,6 +599,7 @@ void FileBrowser::refreshCurrentFolderItems() {
it->getType() != "tnzbat" && it->getType() != "mpath" &&
it->getType() != "curve" && it->getType() != "tpl" &&
it->getType() != "macrofx" && it->getType() != "plugin" &&
it->getType() != "grid" &&
TFileType::getInfo(*it) == TFileType::UNKNOW_FILE)
continue;
} else if (!m_filter.contains(QString::fromStdString(it->getType())))

View file

@ -642,7 +642,8 @@ bool isResource(const QString &path) {
return (TFileType::isViewable(type) || type & TFileType::MESH_IMAGE ||
type == TFileType::AUDIO_LEVEL || type == TFileType::TABSCENE ||
type == TFileType::TOONZSCENE || fp.getType() == "tpl" ||
fp.getType() == "macrofx" || fp.getType() == "plugin");
fp.getType() == "macrofx" || fp.getType() == "plugin" ||
fp.getType() == "grid");
}
//-----------------------------------------------------------------------------