From 4265ddbd0e5b1c3af3a6330b094ff6735e16c091 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Tue, 15 Mar 2016 11:42:48 -0700 Subject: [PATCH] Can't drop fbx if you can't rez --- interface/src/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 2e459362ab..3e9c4f5a5a 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -4455,6 +4455,10 @@ void Application::toggleRunningScriptsWidget() { } void Application::toggleAssetServerWidget(QString filePath) { + if (!DependencyManager::get()->getThisNodeCanRez()) { + return; + } + static const QUrl url("AssetServer.qml"); auto urlSetter = [=](QQmlContext* context, QObject* newObject){ emit uploadRequest(filePath);