Settings: Fix getNoiseParamsFromValue()

master
kwolekr 2014-12-02 21:09:16 -05:00
parent 68c799bf99
commit fcb1ea903f
1 changed files with 1 additions and 0 deletions

View File

@ -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(""));