Skip to content

Commit

Permalink
Tweak to avoid a potential crash in FastNoise2
Browse files Browse the repository at this point in the history
Zylann committed Dec 21, 2024
1 parent 787ef0a commit ead25ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/noise/fast_noise_2.cpp
Original file line number Diff line number Diff line change
@@ -10,6 +10,8 @@ namespace zylann {
FastNoise2::FastNoise2() {
// Setup default
update_generator();
// https://github.com/Auburn/FastNoise2/issues/136
_generator->GetSIMDLevel();
}

void FastNoise2::set_encoded_node_tree(String data) {

0 comments on commit ead25ee

Please sign in to comment.