Summary:
Not sure why someone would want to do this as I discovered by accident. If when building a building, and you place a decoration (tested with dining table and writing desk) on the wall blueprint, it throws an error.
Steps to reproduce:
- Go to create custom building mode
- Create a random foundation + wall blueprint
- Try to place a non wall item (chair, table, etc) on top of wall blueprint
Expected Results:
Either to attempt to place the item on the wall, or tell me I can’t do it as I can’t think of a reason to do it.
Actual Results:
Throws error:
release-687 (x64)[M]
stonehearth/lib/build_util.lua:158: invalid normal (0.00, 1.00, 0.00) in normal_to_rotation()
stack traceback:
[C]: ?
[C]: in function 'assert’
stonehearth/lib/build_util.lua:158: in function 'normal_to_rotation’
stonehearth/components/wall/wall_component.lua:259: in function 'add_fixture’
stonehearth/services/server/build/build_service.lua:1343: in function 'add_fixture’
stonehearth/services/server/build/build_service.lua:1283: in function 'cb’
stonehearth/services/server/build/build_service.lua:1582: in function 'do_command’
stonehearth/services/server/build/build_service.lua:1282: in function ‘add_fixture_command’
…tonehearth/call_handlers/place_item_call_handler.lua:175: in function <…tonehearth/call_handlers/place_item_call_handler.lua:165>
Version Number and Mods in use:
Alpha 19
System Information:
Irrelevant