Changeset 11932 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java
- Timestamp:
- 2017-04-16T20:54:54+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java
r11797 r11932 79 79 80 80 private static NodeElement create(Environment env, float defaultMajorZindex, boolean allowDefault) { 81 Cascade c = env.mc.getCascade(env.layer);82 83 81 MapImage mapImage = createIcon(env); 84 82 Symbol symbol = null; … … 87 85 } 88 86 89 RotationAngle rotationAngle = createRotationAngle(env);90 91 87 // optimization: if we neither have a symbol, nor a mapImage 92 88 // we don't have to check for the remaining style properties and we don't … … 94 90 if (!allowDefault && symbol == null && mapImage == null) return null; 95 91 92 Cascade c = env.mc.getCascade(env.layer); 93 RotationAngle rotationAngle = createRotationAngle(env); 96 94 return new NodeElement(c, mapImage, symbol, defaultMajorZindex, rotationAngle); 97 95 }
Note:
See TracChangeset
for help on using the changeset viewer.