Set Origin tool crashed the editor
Bug #1566720 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
1. Start the editor
2. Set the origin
3. Click "Undo"
Related branches
lp:~widelands-dev/widelands/bug_1566720_set_origin
- GunChleoc: Approve
-
Diff: 14 lines (+2/-2)1 file modifiedsrc/editor/tools/set_origin_tool.cc (+2/-2)
Changed in widelands: | |
status: | Confirmed → Fix Committed |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I could confirm this with r7942. I believe the crash happens when set Origin points on a coordinate with x=0, f.e. 0, 5. Such coordinates triggers the crash reproducible.
widelands: /home/kaputtnik /Quellcode/ widelands- repo/trunk/ src/logic/ map.cc: 340: void Widelands: :Map::set_ origin( Widelands: :Coords) : Assertion `new_origin.x < width_' failed