Show perspective preset grid files in Browser
This commit is contained in:
parent
26a79c4ba9
commit
0b689db2dd
2 changed files with 3 additions and 1 deletions
|
@ -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())))
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue