JannisX11 / blockbench-plugins

Blockbench plugin repository
120 stars 157 forks source link

[Double Sided Cubes] UVs broken in recent Blockbench 4.0+ versions #463

Open Brickgard opened 10 months ago

Brickgard commented 10 months ago

Starting several months ago, a major Blockbench update has made the Double Sided Cubes v1.0.0 plugin have a bit of a hiccup. Essentially, the "Cube Inverted" no longer inherits the UV properties of its source cube, and applying the existing UV will have all faces mapped as 0,1,1,-1.

To reproduce: (tested on multiple latest Blockbench versions by multiple users)

  1. Make a cube in a Blockbench Java Model
  2. Create a texture UV, apply to cube (Make a portion of this texture transparent to more clearly see the inside effects; otherwise, just look at the UV mapping)
    1. Tools > Create Double Sided Cube
    2. The new cube inverted will have no UV - apply the texture UV to this new cube
    3. UV mapping for all faces is now a single 1x1 map at the texture origin.

We are assuming that since the previous behavior (UVs automatically mapped at creation of cube inverted) with no changelog that this is a bug.

Brickgard commented 10 months ago

An simple project file showing what we currently see with the above reproduced steps: double.json double-cube.png

Brickgard commented 10 months ago

Tagging the author @SnaveSutit - any insight, assistance, or fixes would be greatly appreciated for this amazing resource.

Brickgard commented 9 months ago

Linking a fixed version provided in the Blockbench Discord by @dragonmaster95 just in case anyone else is fighting this for now.