SirRamEsq / SmartShape2D

A 2D Terrain Tool for Godot
MIT License
1.35k stars 67 forks source link

Issues with texture randomizing #157

Open mphe opened 5 months ago

mphe commented 5 months ago

See https://github.com/SirRamEsq/SmartShape2D/pull/155#issuecomment-2169491970

  1. Edges randomly disappear if distance between points is too small
    • Only happens on master branch, not on current stable release in Asset Library. That means, the regressions happened between e8eb802 and 813f1b2.
    • Workaround: Increase the distance between points.
  2. Textures change with each reload
    • It might be desirable to not re-randomize on each load.
    • One could add a seed property to SS2D_Shape to keep the randomization reproducible.
limbonaut commented 5 months ago

Could be related to issue mentioned here https://github.com/SirRamEsq/SmartShape2D/pull/156#issuecomment-2169189238 However, I managed to reproduce that issue in v3.0.0 as well, so maybe it's a different bug. image

Reproduction: reproduction_edge_vanish.zip

EDIT: updated reproduction project - unpack into project's root