Skip to content
Snippets Groups Projects
Commit fcb1ea90 authored by kwolekr's avatar kwolekr
Browse files

Settings: Fix getNoiseParamsFromValue()

parent 68c799bf
No related branches found
No related tags found
No related merge requests found
......@@ -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(""));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment