mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +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) {
|
void Application::toggleAssetServerWidget(QString filePath) {
|
||||||
|
if (!DependencyManager::get<NodeList>()->getThisNodeCanRez()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
static const QUrl url("AssetServer.qml");
|
static const QUrl url("AssetServer.qml");
|
||||||
auto urlSetter = [=](QQmlContext* context, QObject* newObject){
|
auto urlSetter = [=](QQmlContext* context, QObject* newObject){
|
||||||
emit uploadRequest(filePath);
|
emit uploadRequest(filePath);
|
||||||
|
|
Loading…
Reference in a new issue