mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
todo
This commit is contained in:
parent
dc44088049
commit
b0b661bd4d
@ -38,6 +38,7 @@ namespace NewHorizons.Builder.Body
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO we gotta get this working better
|
||||
// If we've loaded a new heightmap we'll delete the texture after
|
||||
// Only delete it if it wasnt loaded before (something else is using it)
|
||||
deleteHeightmapFlag = !ImageUtilities.IsTextureLoaded(mod, module.heightMap);
|
||||
|
||||
@ -32,6 +32,7 @@ namespace NewHorizons.Builder.Props
|
||||
{
|
||||
try
|
||||
{
|
||||
// TODO copy what heightmap builder does eventually
|
||||
heightMapTexture = ImageUtilities.GetTexture(mod, heightMap.heightMap);
|
||||
// defer remove texture to next frame
|
||||
Delay.FireOnNextUpdate(() => Object.Destroy(heightMapTexture));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user