You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so when you create a dungeon and then change its material to a custom theme that has 3d wall and door textures enabled, for the first time it does not populate the textures
if you have changed to the new theme and then create new rooms with the generator or otherwise it correctly populates the textures
this might be a feature request but 3d canvas also has an additional flag "wallSidesTexture" for the edge of walls, it would be pretty nice to have an option to specify that separately for doors and walls in dungeon draw
rn it uses the same texture for the side which makes it a bit weird
The text was updated successfully, but these errors were encountered:
Changing the config should trigger a re-save, and with it a re-making of the walls (configsheet._updateObject => dungeon.setConfig() => dungeon.pushState() => state.saveToJournalEntry() => makeWalls()).
I tested that this works as expected, and scene.db and the wall flags get updated properly.
The next thing to check will be custom theme changing, and whether that triggers the same config update etc.
Repro'd the bug - choosing custom theme doesn't update scene.db / walls / etc.
After digging further, it looks like wallmaker's wallDataEqual() method doesn't consider 3dcanvas flags when deciding if a wall already exists and doesn't need to be created (or updated). Seems like we need to update walls when the flag data has changed (or consider that for wall inequality).
so when you create a dungeon and then change its material to a custom theme that has 3d wall and door textures enabled, for the first time it does not populate the textures
if you have changed to the new theme and then create new rooms with the generator or otherwise it correctly populates the textures
this might be a feature request but 3d canvas also has an additional flag "wallSidesTexture" for the edge of walls, it would be pretty nice to have an option to specify that separately for doors and walls in dungeon draw
rn it uses the same texture for the side which makes it a bit weird
The text was updated successfully, but these errors were encountered: