From fcb1ea903faf8933142a04b7c8ab89ec08a0be24 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Tue, 2 Dec 2014 21:09:16 -0500 Subject: [PATCH] Settings: Fix getNoiseParamsFromValue() --- src/settings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings.cpp b/src/settings.cpp index 8bb4f5c9c..fe3cc019d 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -487,6 +487,7 @@ bool Settings::getNoiseParamsFromValue(const std::string &name, np.spread.X = stof(f.next(",")); np.spread.Y = stof(f.next(",")); np.spread.Z = stof(f.next(")")); + f.next(","); np.seed = stoi(f.next(",")); np.octaves = stoi(f.next(",")); np.persist = stof(f.next(""));