Can't drop fbx if you can't rez

This commit is contained in:
Atlante45 2016-03-15 11:42:48 -07:00
parent 4a90ec303c
commit 4265ddbd0e

View file

@ -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);