History

fix for add to world after upload name change

Stephen Birarda committed 10 years ago

Commit 625032f1 parent 49ce6a82 files · +4 −4Browse files

Showing the changes to interface/src/scripting/AssetMappingsScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/scripting/AssetMappingsScriptingInterface.cpp+2−2
@@ -54,7 +54,7 @@ void AssetMappingsScriptingInterface::setMapping(QString path, QString hash, QJS · 53 unmodified lines
5454
5555 connect(request, &SetMappingRequest::finished, this, [this, callback](SetMappingRequest* request) mutable {
5656 if (callback.isCallable()) {
57− QJSValueList args { uint8_t(request->getError()) };
57+ QJSValueList args { uint8_t(request->getError()), request->getPath() };
5858 callback.call(args);
5959 }
6060
@@ -150,7 +150,7 @@ void AssetMappingsScriptingInterface::getAllMappings(QJSValue callback) { · 89 unmodified lines
150150 }
151151
152152 if (callback.isCallable()) {
153− QJSValueList args { uint8_t(request->getError()) };
153+ QJSValueList args { uint8_t(request->getError()), map };
154154 callback.call(args);
155155 }
156156

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t