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
12#include <SharedUtil.h>12#include <SharedUtil.h>
13 13
14#include <MetavoxelUtil.h>14#include <MetavoxelUtil.h>
15#include <ScriptCache.h>
15 16
16#include "Application.h"17#include "Application.h"
17#include "MetavoxelSystem.h"18#include "MetavoxelSystem.h"
@@ -37,6 +38,9 @@ void MetavoxelSystem::init() { · 19 unmodified lines
37 _program.link();38 _program.link();
38 39
39 _pointScaleLocation = _program.uniformLocation("pointScale");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 NodeList* nodeList = NodeList::getInstance();46 NodeList* nodeList = NodeList::getInstance();