From 314ce645f6820693f6fdd7dd93f6ea1e3331f600 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Mon, 4 May 2015 11:55:53 +0200 Subject: [PATCH] Fix a bug where OpenSpace would crash when too many field of views are generated --- src/rendering/renderablefov.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/renderablefov.cpp b/src/rendering/renderablefov.cpp index 66233c48dd..64234ac171 100644 --- a/src/rendering/renderablefov.cpp +++ b/src/rendering/renderablefov.cpp @@ -104,7 +104,7 @@ namespace openspace{ } void RenderableFov::allocateData(){ - int points = 10; + int points = 20; _stride[0] = points; _isize[0] = points; _iarray1[0] = new int[_isize[0]];