Changeset 2459 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2009-11-15T12:50:07+01:00 (14 years ago)
Author:
stoecker
Message:

fix #3881 - paintstyle caching broken for Undo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java

    r2452 r2459  
    617617            keys.put(key, value);
    618618        }
    619         mappaintStyle = null;
    620619        keysChangedImpl();
    621620    }
     
    632631            }
    633632        }
    634         mappaintStyle = null;
    635633        keysChangedImpl();
    636634    }
     
    643641    public final void removeAll() {
    644642        keys = null;
    645         mappaintStyle = null;
    646643        keysChangedImpl();
    647644    }
     
    787784
    788785    private void keysChangedImpl() {
     786        clearCached();
    789787        updateHasDirectionKeys();
    790788        updateTagged();
Note: See TracChangeset for help on using the changeset viewer.