Skip to content

Add withVoidBelowLevel to ImportHeightMapOp.java - #497

Open
HydrolienF wants to merge 1 commit into
Captain-Chaos:masterfrom
HydrolienF:withWaterLevel
Open

Add withVoidBelowLevel to ImportHeightMapOp.java#497
HydrolienF wants to merge 1 commit into
Captain-Chaos:masterfrom
HydrolienF:withWaterLevel

Conversation

@HydrolienF

Copy link
Copy Markdown

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.

@HydrolienF

Copy link
Copy Markdown
Author

Any news on this?

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