Widget Error adjoining roofs

Summary: Added roof to one wall of a four wall building. Added roof to an adjoining wall and attempted to use the pink widget, on the end connected to the other roof, to push the roof in and got these errors. The first I got the first time I attempted it, the second after I closed the first message and tried it again.

Steps to reproduce:

  1. Make a building with four walls using the wall tool.
  2. Add roof along one side, then add room along adjoining side.
  3. Try to use the pink widget on the end to push the roof in so it’s flush with the wall.

Expected Results: The roof slides in seamlessly.

Actual Results: The game lets ya know that’s not gonna happen.

Notes:

release-815 (x64)[M]
stonehearth/lib/building/wall_map.lua:361: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
stonehearth/lib/building/wall_map.lua:361: in function ‘apply_polygon’
stonehearth/lib/building/roof_data.lua:456: in function ‘stretch’
stonehearth/lib/building/mutation_utils.lua:723: in function ‘op_fn’
stonehearth/lib/building/mutation_utils.lua:654: in function ‘_mutate_deformation’
stonehearth/lib/building/mutation_utils.lua:731: in function ‘stretch_walls’
…earth/services/client/widget/selection_component.lua:285: in function ‘op_fn’
…earth/services/client/widget/selection_component.lua:106: in function ‘_do_preview_op’
…earth/services/client/widget/selection_component.lua:284: in function ‘_stretch_wall_preview’
…earth/services/client/widget/selection_component.lua:558: in function ‘_dragging_cb’
stonehearth/services/client/widget/dragger.lua:133: in function ‘_dragging_cb’
stonehearth/services/client/widget/widget.lua:157: in function ‘_dragging’
stonehearth/services/client/widget/widget.lua:93: in function ‘?’
…tonehearth/services/client/widget/widget_service.lua:61: in function ‘_do_callback’
…tonehearth/services/client/widget/widget_service.lua:99: in function ‘_on_mouse_event’
…tonehearth/services/client/widget/widget_service.lua:18: in function ‘_mouse_cb’
stonehearth/services/client/input/input_capture.lua:55: in function ‘_dispatch’
stonehearth/services/client/input/input_service.lua:70: in function ‘_dispatch_input’
stonehearth/services/client/input/input_service.lua:12: in function <stonehearth/services/client/input/input_service.lua:11>


release-815 (x64)[M]
…tonehearth/services/client/widget/widget_service.lua:161: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…tonehearth/services/client/widget/widget_service.lua:161: in function ‘set_dragging’
stonehearth/services/client/widget/widget.lua:84: in function ‘begin_dragging’
stonehearth/services/client/widget/dragger.lua:125: in function ‘_mouse_move_cb’
stonehearth/services/client/widget/widget.lua:142: in function ‘_start’
stonehearth/services/client/widget/widget.lua:91: in function ‘?’
…tonehearth/services/client/widget/widget_service.lua:61: in function ‘_do_callback’
…tonehearth/services/client/widget/widget_service.lua:99: in function ‘_on_mouse_event’
…tonehearth/services/client/widget/widget_service.lua:18: in function ‘_mouse_cb’
stonehearth/services/client/input/input_capture.lua:55: in function ‘_dispatch’
stonehearth/services/client/input/input_service.lua:70: in function ‘_dispatch_input’
stonehearth/services/client/input/input_service.lua:12: in function <stonehearth/services/client/input/input_service.lua:11>

Attachments: stonehearth.log (169.8 KB)

Version Number and Mods in use: rickety_building branch

System Information: Win 10

1 Like

@Logo do you have a screenshot of the design you were trying to make?

1 Like

Here ya go @Relyss . After I reported it I went back in and just deleted that section of the roof and got it all worked out…then I scrapped the idea altogether for a more traditional RC roof with rafters. Which is prolly a mistake now that I think about rain and sandstorms. Can we get like awnings or fur covers for our RC roofs? lol

I was trying to push the widget on the bottom.

4 Likes

Built two buildings with the new builder. Both flicker heavily when in building mode. Looks like z-fighting. Savegame below the screenshot.

buildings z-fighting.7z (2.3 MB)

Edit: Fun fact: Upon loading the savegame, the wall mounted lanterns drop to the ground.

Edit2: While we’re at it, here’s a bug message I got after trying to drag a roof around (simple square house with square roof dropping to every side):

Summary

release-815 (x64)
stonehearth/lib/building/wall_map.lua:361: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
stonehearth/lib/building/wall_map.lua:361: in function ‘apply_polygon’
stonehearth/lib/building/roof_data.lua:456: in function ‘stretch’
stonehearth/lib/building/mutation_utils.lua:723: in function ‘op_fn’
stonehearth/lib/building/mutation_utils.lua:654: in function ‘_mutate_deformation’
stonehearth/lib/building/mutation_utils.lua:731: in function ‘stretch_walls’
…earth/services/client/widget/selection_component.lua:285: in function ‘op_fn’
…earth/services/client/widget/selection_component.lua:106: in function ‘_do_preview_op’
…earth/services/client/widget/selection_component.lua:284: in function ‘_stretch_wall_preview’
…earth/services/client/widget/selection_component.lua:558: in function ‘_dragging_cb’
stonehearth/services/client/widget/dragger.lua:133: in function ‘_dragging_cb’
stonehearth/services/client/widget/widget.lua:157: in function ‘_dragging’
stonehearth/services/client/widget/widget.lua:93: in function ‘?’
…tonehearth/services/client/widget/widget_service.lua:61: in function ‘_do_callback’
…tonehearth/services/client/widget/widget_service.lua:99: in function ‘_on_mouse_event’
…tonehearth/services/client/widget/widget_service.lua:18: in function ‘_mouse_cb’
stonehearth/services/client/input/input_capture.lua:55: in function ‘_dispatch’
stonehearth/services/client/input/input_service.lua:70: in function ‘_dispatch_input’
stonehearth/services/client/input/input_service.lua:12: in function <stonehearth/services/client/input/input_service.lua:11>

2 Likes

Got fickering, too, can confirm it.

The z-fighting is because we keep the blueprints underneath (until we figure out how do we want to do renovations). I think they are hidden now.

I merged the report here because the error is the same than in this report, and I think it has been fixed too, because I can only reproduce it in the rickety branch (stretching pyramidal roof with no dropping walls until it goes to the other side of the wall).

1 Like