Refactor the comments
authorAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 14:44:39 +0000 (15:44 +0100)
committerAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 14:44:39 +0000 (15:44 +0100)
net/systemeD/halcyon/connection/Trace.as

index 8a361cf..33eb6e2 100644 (file)
@@ -80,14 +80,15 @@ package net.systemeD.halcyon.connection {
 
         private function get connection():Connection {
             if (!_connection) {
-                // create a new layer for every trace, to they can be turned on/off individually
-                _connection = new Connection(filename, null, null, null); //fixme shouldn't rely on policy being loaded already.
+                // create a new connection so that the ids don't impact the main layer.
+                _connection = new Connection(filename, null, null, null);
             }
             return _connection
         }
 
         private function get layer():MapPaint {
             if (!_layer) {
+                // create a new layer for every trace, so they can be turned on/off individually
                 _layer = map.addLayer(connection, STYLESHEET);
             }
             return _layer;