Commit graph

2129 commits

Author SHA1 Message Date
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
Laura Klünder
c1634c7520 fix obstacles near, but not touching ramps being rendered incorrectly 2017-11-18 16:08:58 +01:00
Laura Klünder
eac6048fe3 ensure ramps affect obstacles correctly 2017-11-18 15:58:33 +01:00
Laura Klünder
b9977676d6 fix cut trough empty space detection in cut_polygon_with_line 2017-11-18 15:52:16 +01:00
Laura Klünder
f65b15bb29 cut obstacles better to distribute them into altitude areas better 2017-11-18 14:38:25 +01:00
Laura Klünder
b7a8d15111 fix an edge case in cut_polygon_with_line 2017-11-18 14:37:31 +01:00
Laura Klünder
92749a5f16 fix get_altitudes() again 2017-11-18 13:56:25 +01:00
Laura Klünder
7575605aae refactor get_altitudes() 2017-11-18 13:53:40 +01:00
Laura Klünder
9b66a2b4e5 fix short_walls below ramps 2017-11-18 13:48:33 +01:00
Laura Klünder
465391d145 fix scrambled bottom faces 2017-11-18 13:31:33 +01:00
Laura Klünder
da25951555 ramp rendering 2017-11-18 13:30:20 +01:00
Laura Klünder
4e51969794 create ramp altitude areas 2017-11-18 00:07:23 +01:00
Laura Klünder
69bacc321f don't lock all mapupates during AltitudeArea.recalculate() 2017-11-17 22:01:07 +01:00
Laura Klünder
aaabc7e37c add ramp model 2017-11-17 20:31:29 +01:00
Laura Klünder
3556f33a75 GeometryIndexed: allow fast box slicing 2017-11-17 20:18:50 +01:00
Laura Klünder
b27338e640 process updates when clearmapcache is called an no celery is installed 2017-11-17 20:09:29 +01:00
Laura Klünder
976c49c8ab introducing short walls, so walls stay below stairs from levels on top 2017-11-17 20:07:00 +01:00
Laura Klünder
fdce9a9ab1 obstacles should not be able to “expand” an altitude area outside spaces 2017-11-17 18:37:36 +01:00
Laura Klünder
760b045345 fix fit_bounds 2017-11-17 18:36:45 +01:00
Laura Klünder
1966995827 remove debug statement 2017-11-17 15:28:11 +01:00
Laura Klünder
efb2005269 remove debug output 2017-11-17 15:07:30 +01:00
Laura Klünder
6da6c5dcdf min zero in GeometryIndexed.to_image 2017-11-17 15:03:56 +01:00
Laura Klünder
3dd41a3504 determine last_processed_update beforehand 2017-11-17 14:59:46 +01:00
Laura Klünder
7112331fec fix debug output 2017-11-17 14:50:58 +01:00
Laura Klünder
d79a9ed36e ad debug info 2017-11-17 14:43:17 +01:00
Laura Klünder
be9ffbbb62 fix error in GeometryIndexed.to_image() 2017-11-17 14:37:05 +01:00
Laura Klünder
8896360362 don't crash with empty GeometryIndexed 2017-11-17 14:05:33 +01:00
Laura Klünder
988ca66dc3 remove old unfinished attribute 2017-11-17 13:58:24 +01:00
Laura Klünder
408d7e2bd7 Introducing GeometryIndexed as a base class for MapHistory 2017-11-17 13:56:15 +01:00
Laura Klünder
898141716d *coughs* not so much, but the real error is clear, now 2017-11-16 23:31:44 +01:00
Laura Klünder
8763cae227 min and max were swapped 2017-11-16 23:29:01 +01:00
Laura Klünder
fac258b46b removing borders makes no sence at all, ever, and should not be done 2017-11-16 23:14:36 +01:00
Laura Klünder
3dc32aff3f dont simplify everything away, ever 2017-11-16 23:06:15 +01:00
Laura Klünder
f9ccbd7b95 fix debugging → this never gets old 2017-11-16 22:56:46 +01:00