History

Basic script guides now working.

Andrzej Kapolka committed 12 years ago

Commit ca52d671 parent 3af86cb6 files · +83 −47Browse files

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

Unified · Split

interface/src/MetavoxelSystem.cpp+4−0
@@ -12,6 +12,7 @@ · 11 unmodified lines
1212 #include <SharedUtil.h>
1313
1414 #include <MetavoxelUtil.h>
15+#include <ScriptCache.h>
1516
1617 #include "Application.h"
1718 #include "MetavoxelSystem.h"
@@ -37,6 +38,9 @@ void MetavoxelSystem::init() { · 19 unmodified lines
3738 _program.link();
3839
3940 _pointScaleLocation = _program.uniformLocation("pointScale");
41+
42+ // let the script cache know to use our common access manager
43+ ScriptCache::getInstance()->setNetworkAccessManager(Application::getInstance()->getNetworkAccessManager());
4044 }
4145
4246 NodeList* nodeList = NodeList::getInstance();