Revert "Removing tests which depend on wrap modes, in preparation for removing the wrap modes themselves."

This reverts commit 917d3b8c95.
This commit is contained in:
David Williams
2015-02-28 09:59:28 +01:00
parent 416ae8eb7f
commit f262c0e8f5
3 changed files with 159 additions and 37 deletions

View File

@ -40,7 +40,7 @@ bool testVoxelValidator(const VolumeType* volData, const Vector3DInt32& v3dPos)
return false;
}
typename VolumeType::VoxelType voxel = volData->getVoxel(v3dPos);
typename VolumeType::VoxelType voxel = volData->getVoxel(v3dPos, WrapModes::Validate); // FIXME use templatised version of getVoxel(), but watch out for Linux compile issues.
if(voxel != 0)
{
return false;