JasonLautzenheiser / trizbort

Trizbort, the Interactive Fiction Mapper
http://www.trizbort.com
Other
129 stars 35 forks source link

Octagonal Shaped room created with 1.7.0.0 can not be edited with 1.7.2.0 (exception) #483

Closed AnselmD closed 5 years ago

AnselmD commented 5 years ago

Hi,

I created a map with octagonal shaped rooms, with trizbort 1.7.0.0. After loading it with 1.7.2.0 i am not able to edit the octagonal shaped rooms: System.ArgumentOutOfRangeException: Der Wert -15 ist für Value ungültig. Value sollte zwischen 'Minimum' und 'Maximum' liegen.

Parametername: Value bei System.Windows.Forms.NumericUpDown.set_Value(Decimal value) bei Trizbort.UI.RoomPropertiesDialog.set_ObjectsCustomPositionDown(Int32 value) bei Trizbort.Domain.Elements.Room.showRoomDialog(PropertiesStartType start) bei Trizbort.Domain.Elements.Room.ShowDialog() ...

I do not know if this is because the room is octagonal. The example attached has this error. trizbort_test.zip

JasonLautzenheiser commented 5 years ago

Thanks for reporting this. I was able to reproduce it with your sample file and will take a look at it.