History

hook up can-rez-tmp and can-write-to-asset-server

Seth Alves committed 10 years ago

Commit b2f63a21 parent 3bfcc8611 files · +74 −26Browse files

Showing the changes to interface/src/Application.cpp (1 of 11 files). Show all

Unified · Split

interface/src/Application.cpp+2−2
@@ -4279,7 +4279,7 @@ void Application::nodeActivated(SharedNodePointer node) { · 4278 unmodified lines
42794279 if (assetDialog) {
42804280 auto nodeList = DependencyManager::get<NodeList>();
42814281
4282− if (nodeList->getThisNodeCanRez()) {
4282+ if (nodeList->getThisNodeCanWriteAssets()) {
42834283 // call reload on the shown asset browser dialog to get the mappings (if permissions allow)
42844284 QMetaObject::invokeMethod(assetDialog, "reload");
42854285 } else {
@@ -4786,7 +4786,7 @@ void Application::toggleRunningScriptsWidget() const { · 500 unmodified lines
47864786 }
47874787
47884788 void Application::toggleAssetServerWidget(QString filePath) {
4789− if (!DependencyManager::get<NodeList>()->getThisNodeCanRez()) {
4789+ if (!DependencyManager::get<NodeList>()->getThisNodeCanWriteAssets()) {
47904790 return;
47914791 }
47924792