Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java	(revision 5398)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java	(revision 5399)
@@ -282,4 +282,6 @@
      * From these properties, it generates the different types of styles.
      *
+     * @param osm the primitive to create styles for
+     * @param scale the scale (in meters per 100 px), must be > 0
      * @param multipolyOuterWay support for a very old multipolygon tagging style
      * where you add the tags both to the outer and the inner way.
@@ -288,4 +290,5 @@
      * we pretend it is. This is useful for generating area styles from the (segmented)
      * outer ways of a multipolygon.
+     * @return the generated styles and the valid range as a pair
      */
     public Pair<StyleList, Range> generateStyles(OsmPrimitive osm, double scale, OsmPrimitive multipolyOuterWay, boolean pretendWayIsClosed) {
@@ -335,5 +338,4 @@
             }
         }
-
         return new Pair<StyleList, Range>(new StyleList(sl), mc.range);
     }
Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java	(revision 5398)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java	(revision 5399)
@@ -132,5 +132,5 @@
             Node virtualNode = new Node();
             virtualNode.put(tag.getKey(), tag.getValue());
-            StyleList styleList = getStyles().generateStyles(virtualNode, 0, null, false).a;
+            StyleList styleList = getStyles().generateStyles(virtualNode, 0.5, null, false).a;
             if (styleList != null) {
                 for (Iterator<ElemStyle> it = styleList.iterator(); it.hasNext(); ) {
