History

cleanup resources directory references by copying beside the executable

Stephen Birarda committed 12 years ago

Commit b705ec51 parent c73728326 files · +190 −135Browse files

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

Unified · Split

interface/src/MetavoxelSystem.cpp+1−1
@@ -30,7 +30,7 @@ MetavoxelSystem::MetavoxelSystem() : · 29 unmodified lines
3030
3131 void MetavoxelSystem::init() {
3232 if (!_program.isLinked()) {
33− _program.addShaderFromSourceFile(QGLShader::Vertex, ":/shaders/metavoxel_point.vert");
33+ _program.addShaderFromSourceFile(QGLShader::Vertex, Application::resourcesPath() + "shaders/metavoxel_point.vert");
3434 _program.link();
3535
3636 _pointScaleLocation = _program.uniformLocation("pointScale");