Commit 0a5225ed authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[CHANGE #339] allow vector datasets as textures again

parent 478134ca
......@@ -117,7 +117,7 @@ wmath::WVector3D WDataSetVector::interpolate( const wmath::WPosition& pos, bool
wmath::WVector3D WDataSetVector::getVectorAt( size_t index ) const
{
switch( getValueSet()->getDataType() )
switch( getValueSet()->getDataType() )
{
case W_DT_UNSIGNED_CHAR:
{
......@@ -148,5 +148,5 @@ wmath::WVector3D WDataSetVector::getVectorAt( size_t index ) const
bool WDataSetVector::isTexture() const
{
return false;
return true;
}
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