Skip to content

Conversation

@HydrolienF
Copy link

I've add that function to avoid having ocean generated outside of a HeightMap when using withWaterLevel with wpscripts.
I think having ocean outside of the HeightMap is an unwanted behavior (#496), but this pull request keep the same behavior by default as before.

I've tried to match the exact same code style and to do as few changes as possible.

You can use this code by merging or by copying it as you like. You can use it under any licences and you don't need to name me anywhere.

I would love to have that extra withVoidBelowLevel(int voidBelowLevel) function for my scripts on the main worldpainter version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant