Commit c5898d91 authored by Jan Möbius's avatar Jan Möbius

Fixes from tobias

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12598 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e7ba5a93
......@@ -198,9 +198,9 @@ void SplatCloudObject::reloadShaders()
// load shaders
if( QFile( shaderDir + SPLATS_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + SPLATS_PICK_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + SPLATS_FRAGMENTSHADER_FILENAME ).exists() &&
QFile( shaderDir + SPLATS_PICK_FRAGMENTSHADER_FILENAME ).exists() )
QFile( shaderDir + SPLATS_PICK_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + SPLATS_FRAGMENTSHADER_FILENAME ).exists() &&
QFile( shaderDir + SPLATS_PICK_FRAGMENTSHADER_FILENAME ).exists() )
{
shaderNode_->setShader( splatsDrawMode,
SPLATS_VERTEXSHADER_FILENAME, SPLATS_FRAGMENTSHADER_FILENAME,
......@@ -212,9 +212,9 @@ void SplatCloudObject::reloadShaders()
}
if( QFile( shaderDir + DOTS_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + DOTS_PICK_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + DOTS_FRAGMENTSHADER_FILENAME ).exists() &&
QFile( shaderDir + DOTS_PICK_FRAGMENTSHADER_FILENAME ).exists() )
QFile( shaderDir + DOTS_PICK_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + DOTS_FRAGMENTSHADER_FILENAME ).exists() &&
QFile( shaderDir + DOTS_PICK_FRAGMENTSHADER_FILENAME ).exists() )
{
shaderNode_->setShader( dotsDrawMode,
DOTS_VERTEXSHADER_FILENAME, DOTS_FRAGMENTSHADER_FILENAME,
......@@ -226,9 +226,9 @@ void SplatCloudObject::reloadShaders()
}
if( QFile( shaderDir + POINTS_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + POINTS_PICK_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + POINTS_FRAGMENTSHADER_FILENAME ).exists() &&
QFile( shaderDir + POINTS_PICK_FRAGMENTSHADER_FILENAME ).exists() )
QFile( shaderDir + POINTS_PICK_VERTEXSHADER_FILENAME ).exists() &&
QFile( shaderDir + POINTS_FRAGMENTSHADER_FILENAME ).exists() &&
QFile( shaderDir + POINTS_PICK_FRAGMENTSHADER_FILENAME ).exists() )
{
shaderNode_->setShader( pointsDrawMode,
POINTS_VERTEXSHADER_FILENAME, POINTS_FRAGMENTSHADER_FILENAME,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment