mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +02:00
Can't drop fbx if you can't rez
This commit is contained in:
parent
4a90ec303c
commit
4265ddbd0e
1 changed files with 4 additions and 0 deletions
|
@ -4455,6 +4455,10 @@ void Application::toggleRunningScriptsWidget() {
|
|||
}
|
||||
|
||||
void Application::toggleAssetServerWidget(QString filePath) {
|
||||
if (!DependencyManager::get<NodeList>()->getThisNodeCanRez()) {
|
||||
return;
|
||||
}
|
||||
|
||||
static const QUrl url("AssetServer.qml");
|
||||
auto urlSetter = [=](QQmlContext* context, QObject* newObject){
|
||||
emit uploadRequest(filePath);
|
||||
|
|
Loading…
Reference in a new issue