History

update resource references to use Qt resource system

Stephen Birarda committed 12 years ago

Commit 403f91c1 parent cc554c528 files · +60 −378Browse files

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

Unified · Split

interface/src/MetavoxelSystem.cpp+1−2
@@ -30,8 +30,7 @@ MetavoxelSystem::MetavoxelSystem() : · 29 unmodified lines
3030
3131 void MetavoxelSystem::init() {
3232 if (!_program.isLinked()) {
33− switchToResourcesParentIfRequired();
34− _program.addShaderFromSourceFile(QGLShader::Vertex, "resources/shaders/metavoxel_point.vert");
33+ _program.addShaderFromSourceFile(QGLShader::Vertex, ":/shaders/metavoxel_point.vert");
3534 _program.link();
3635
3736 _pointScaleLocation = _program.uniformLocation("pointScale");