Commit graph

2162 commits

Author SHA1 Message Date
Laura Klünder
8ca49af02e use append for single elements, extend doesn't work 2017-11-19 23:24:26 +01:00
Laura Klünder
f214104187 match ramp altitudeareas even if their altitudes were swapped 2017-11-19 23:22:08 +01:00
Laura Klünder
1c831030a2 fallback no longer needed 2017-11-19 23:19:24 +01:00
Laura Klünder
d57c2dfcf9 add fallback for GeometryChangeTracker._unary_unions 2017-11-19 23:08:30 +01:00
Laura Klünder
f4b2eaf678 don't crash if there was no altitudearea match found 2017-11-19 23:02:31 +01:00
Laura Klünder
8b119c00c0 avoid useless stacktraces in celery log 2017-11-19 22:51:51 +01:00
Laura Klünder
0cdaec1862 cache unary_union in changed_geometries 2017-11-19 21:48:55 +01:00
Laura Klünder
9ffdf2052a GeometryField.get_final_value() for comparing new values with old values 2017-11-19 21:40:32 +01:00
Laura Klünder
b30fbe90d0 AltitudeArea.rebuild(): better match candidates based on altitude 2017-11-19 21:08:35 +01:00
Laura Klünder
80e713c0a7 fix obstacles to altitudeareas for ramps and spiral staircases 2017-11-19 20:40:10 +01:00
Laura Klünder
3b6a55dda7 outsource this duplicate code 2017-11-19 20:04:58 +01:00
Laura Klünder
4594c44539 avoid confusing the triangle library with too complex ring intersections 2017-11-19 19:54:22 +01:00
Laura Klünder
616af3fd18 avoid invalid geometries in changed_geometries 2017-11-19 16:16:06 +01:00
Laura Klünder
80f382bc8b altitudemarker invalidly placed? log an error instad of failing 2017-11-19 15:14:29 +01:00
Laura Klünder
26a27bed09 GeometryIndexed.composite() was a bit overenthusiastic during reindexing 2017-11-19 14:06:08 +01:00
Laura Klünder
e51e00c63b save newly created maphistory instances so they don't get created again 2017-11-19 13:22:23 +01:00
Laura Klünder
6487d9d0e8 remove todo that was already done 2017-11-19 13:20:12 +01:00
Laura Klünder
24c0f2c6a9 forgot offset in GeometryIndexed.__getitem__ with slice 2017-11-19 13:15:57 +01:00
Laura Klünder
ebed7aa42f don't send the key 2017-11-19 12:56:22 +01:00
Laura Klünder
bc83548da4 add X-ETag-Unencoded for debugging purposes 2017-11-19 12:52:25 +01:00
Laura Klünder
1d18b98199 allow navigating between levels in space geometry list 2017-11-19 12:41:19 +01:00
Laura Klünder
3bfc21d90c only focus first element 2017-11-19 12:17:38 +01:00
Laura Klünder
6a4ad6b584 revert 2017-11-19 01:02:21 +01:00
Laura Klünder
aa8e745b79 ground is ground 2017-11-19 00:57:37 +01:00
Laura Klünder
25794fb613 fix bases for non-full-level rendering or ramps 2017-11-19 00:30:08 +01:00
Laura Klünder
dcb0edcbd8 fix missing columns 2017-11-18 23:30:10 +01:00
Laura Klünder
6812edb8b3 Mesh() is not a namedtuple to improve performance 2017-11-18 23:07:22 +01:00
Laura Klünder
a679a81432 try to max out mpl wrapper performance 2017-11-18 22:53:17 +01:00
Laura Klünder
b700ccd46c try to call heavy shapely operations less often to improve performance 2017-11-18 22:44:06 +01:00
Laura Klünder
b6be667cfc no reason to save levels, we dont store anything in them anymore 2017-11-18 21:18:31 +01:00
Laura Klünder
747b97a2aa remove old commented out code 2017-11-18 20:58:47 +01:00
Laura Klünder
fd28cb5435 dont connect level altitudes using graphs, that was unelegant 2017-11-18 20:47:51 +01:00
Laura Klünder
e74bdfe614 cache space_buffer to improve performance 2017-11-18 20:42:19 +01:00
Laura Klünder
2d735cf7fc speedup cut_polygon_with_line using line_prep 2017-11-18 20:39:23 +01:00
Laura Klünder
3245837028 speed up AltitudeAreas.recalculate() even more using prepared geometries 2017-11-18 20:26:34 +01:00
Laura Klünder
7f5b614620 speedup cut_polygon_with_line calls by using list of polygons 2017-11-18 20:19:44 +01:00
Laura Klünder
f672ee107a speddup AltitudeArea.recalculate() using prepared geometries 2017-11-18 20:16:07 +01:00
Laura Klünder
31886d829d cleanup geometry cache and improve cut_polgon_with_line speed again 2017-11-18 19:59:05 +01:00
Laura Klünder
b63ab7d4e4 fix fatal errors during rendering 2017-11-18 19:21:21 +01:00
Laura Klünder
3b29b6bc91 snapping needs to be with ctrl, otherwise drawing won't work 2017-11-18 19:20:26 +01:00
Laura Klünder
9ea99d8a32 snap to angles with shift key, not ctrl 2017-11-18 18:07:15 +01:00
Laura Klünder
a768bb762f allow jumping from space detail to space list of other level 2017-11-18 17:51:55 +01:00
Laura Klünder
d3c4469a38 show altitudemarkers in levelgeometries, too 2017-11-18 17:45:01 +01:00
Laura Klünder
561fbb5abb show altitudemarkers in blue 2017-11-18 17:38:13 +01:00
Laura Klünder
8bdd3d174d show altitude marker altitude in title / list 2017-11-18 17:34:34 +01:00
Laura Klünder
eea7dac41a editor: focus first form field after creating 2017-11-18 17:31:49 +01:00
Laura Klünder
69ee9e8fe9 remove unneded variable 2017-11-18 17:28:32 +01:00
Laura Klünder
8b301d1048 editor: snap to 15° when dragging vertices 2017-11-18 17:25:22 +01:00
Laura Klünder
abae816992 there is no reason to fill in columns 2017-11-18 16:38:22 +01:00
Laura Klünder
391e2dffa2 avoid intersections and identifcal faces _create_polyhedron 2017-11-18 16:19:28 +01:00