diff --git a/org.sheepy.vsand.model.edit/src/generated/java/org/sheepy/vsand/model/provider/MaterialProviderItemProvider.java b/org.sheepy.vsand.model.edit/src/generated/java/org/sheepy/vsand/model/provider/MaterialProviderItemProvider.java index 74606120..76a205ae 100644 --- a/org.sheepy.vsand.model.edit/src/generated/java/org/sheepy/vsand/model/provider/MaterialProviderItemProvider.java +++ b/org.sheepy.vsand.model.edit/src/generated/java/org/sheepy/vsand/model/provider/MaterialProviderItemProvider.java @@ -107,7 +107,7 @@ protected void addFilterModePropertyDescriptor(Object object) false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, - getString("_UI_IftruewillconsiderALLmaterialsEXCEPTthisonesPropertyCategory"), + null, null)); } diff --git a/org.sheepy.vsand.model/model/VSand.genmodel b/org.sheepy.vsand.model/model/VSand.genmodel index bd21bc43..aa736861 100644 --- a/org.sheepy.vsand.model/model/VSand.genmodel +++ b/org.sheepy.vsand.model/model/VSand.genmodel @@ -103,8 +103,7 @@ - diff --git a/org.sheepy.vsand/src/main/resources/Application.vsand b/org.sheepy.vsand/src/main/resources/Application.vsand index 2cb53fff..2997885e 100644 --- a/org.sheepy.vsand/src/main/resources/Application.vsand +++ b/org.sheepy.vsand/src/main/resources/Application.vsand @@ -356,57 +356,53 @@ - - - + + + - - + + - + - - - - - + + + + + - - + + - - + + - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - + + + + @@ -415,30 +411,33 @@ - - - + + - + - - - + + + - - + + + + + + - + - + diff --git a/org.sheepy.vsand/src/main/resources/board_update.comp b/org.sheepy.vsand/src/main/resources/board_update.comp index 2a84815a..1734f32a 100644 --- a/org.sheepy.vsand/src/main/resources/board_update.comp +++ b/org.sheepy.vsand/src/main/resources/board_update.comp @@ -578,7 +578,10 @@ bool transformation(ivec2 loc, ivec2 localLoc, bool moved) if(differentValue[i]) { if(rand == -1) - rand = uint(gold_noise(loc, pushConstants.random) * 1000.); + { + float genRand = sqrt(gold_noise(loc, pushConstants.random)); + rand = uint(round(genRand * 1000.)); + } uint transfo = transformations.data[transfoIndexX[i]][transfoIndexY[i]]; bool staticTransfo = (transfo & STATIC_TRANSFO_FLAG) != 0; diff --git a/org.sheepy.vsand/src/main/resources/board_update.comp.spv b/org.sheepy.vsand/src/main/resources/board_update.comp.spv index 691ca56b..ec783fac 100644 Binary files a/org.sheepy.vsand/src/main/resources/board_update.comp.spv and b/org.sheepy.vsand/src/main/resources/board_update.comp.spv differ