Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 6 files). Show all
Unified · Split
| @@ -12,6 +12,7 @@ · 11 unmodified lines | ||
| 12 | 12 | #include <SharedUtil.h> |
| 13 | 13 | |
| 14 | 14 | #include <MetavoxelUtil.h> |
| 15 | +#include <ScriptCache.h> | |
| 15 | 16 | |
| 16 | 17 | #include "Application.h" |
| 17 | 18 | #include "MetavoxelSystem.h" |
| @@ -37,6 +38,9 @@ void MetavoxelSystem::init() { · 19 unmodified lines | ||
| 37 | 38 | _program.link(); |
| 38 | 39 | |
| 39 | 40 | _pointScaleLocation = _program.uniformLocation("pointScale"); |
| 41 | + | |
| 42 | + // let the script cache know to use our common access manager | |
| 43 | + ScriptCache::getInstance()->setNetworkAccessManager(Application::getInstance()->getNetworkAccessManager()); | |
| 40 | 44 | } |
| 41 | 45 | |
| 42 | 46 | NodeList* nodeList = NodeList::getInstance(); |