From: Richard Fairhurst Date: Sun, 24 Jun 2007 16:23:12 +0000 (+0000) Subject: more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip X-Git-Tag: live~8316 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d7c17fb0b5c1136e2e2cc89a1ed2f5390c872f84 more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip --- diff --git a/app/controllers/swf_controller.rb b/app/controllers/swf_controller.rb index cd9bf1823..a93abc8dd 100644 --- a/app/controllers/swf_controller.rb +++ b/app/controllers/swf_controller.rb @@ -99,6 +99,7 @@ class SwfController < ApplicationController " WHERE (cn1.longitude BETWEEN #{xmin} AND #{xmax})"+ " AND (cn1.latitude BETWEEN #{ymin} AND #{ymax})"+ " AND segment_id IS NULL"+ + " AND current_segments.visible=1"+ " AND cn1.id=node_a AND cn1.visible=1"+ " AND cn2.id=node_b AND cn2.visible=1" seglist=ActiveRecord::Base.connection.select_all sql diff --git a/public/potlatch/potlatch.swf b/public/potlatch/potlatch.swf index a6aa91646..ad3c2180a 100755 Binary files a/public/potlatch/potlatch.swf and b/public/potlatch/potlatch.swf differ