summaryrefslogtreecommitdiff
path: root/media-gfx/meshlab/files/1.3.3/structuresynth.patch
blob: e5d6d2baea9c7467f43fbae4589a7ddfe2a3075d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/meshlab/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp	2014-02-07 12:38:23.000000000 +0300
+++ b/meshlab/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp	2017-08-10 21:00:02.819783756 +0300
@@ -122,7 +122,7 @@
 						currentT = p;
 
 						// We do not intersect grid.
-						if (!found) return false;
+						if (!found) return NULL;
 				}
 
 				stepX = (dir.x() > 0) ? 1 : -1;