fix minor breakage
[potlatch2.git] / net / systemeD / halcyon / WayBitmapFiller.as
index c1a7845c8bd555ca0984e8ff4f9a35d60ae6a78a..6140d374550d496d6c55c759fbba9abe4e0a385f 100644 (file)
@@ -16,9 +16,9 @@ package net.systemeD.halcyon {
                        this.graphics=graphics;
                        this.style=style;
                        
                        this.graphics=graphics;
                        this.style=style;
                        
-                       if (wayui.map.ruleset.images[style.fill_image]) {
+                       if (wayui.paint.ruleset.images[style.fill_image]) {
                                loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadedFill);
                                loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadedFill);
-                               loader.loadBytes(wayui.map.ruleset.images[style.fill_image]);
+                               loader.loadBytes(wayui.paint.ruleset.images[style.fill_image]);
                        }
                }
                
                        }
                }
                
@@ -26,7 +26,7 @@ package net.systemeD.halcyon {
                        var image:BitmapData = new BitmapData(loader.width, loader.height, false);
                        image.draw(loader);
                        graphics.beginBitmapFill(image);
                        var image:BitmapData = new BitmapData(loader.width, loader.height, false);
                        image.draw(loader);
                        graphics.beginBitmapFill(image);
-                       wayui.solidLine(graphics);
+                       wayui.solidLines(graphics,[]);
                        graphics.endFill();
                }
        }
                        graphics.endFill();
                }
        }