Modify

Opened 16 years ago

Closed 16 years ago

#2047 closed defect (fixed)

Mappaint fails to draw way if starting node is invisible

Reported by: xeen Owned by: stoecker
Priority: major Milestone:
Component: Internal mappaint style Version:
Keywords: Cc:

Description

This is probably due to the speed optimizations done lately. I'm using 1291 but my guess is the problem appeared before.

Steps to reproduce:

  • Start JOSM, create a data layer any way you like
  • Go into Drawing Mode
  • Draw a way with at least two nodes
  • move the view so that both nodes are not visible anymore
  • Adding another node will make the way disappear until the map is moved or zoomed again

This should be fixed before the next stable version is released.

Attachments (0)

Change History (3)

comment:1 by ulfl, 16 years ago

Hmmm, my feeling is that it's related to Dirks visibility improvements. My improvements hesitate to think about the current visible state, but simply caches how to draw stuff.

Dirk, maybe you could have a look?

comment:2 by anonymous, 16 years ago

Owner: changed from ulfl to stoecker

We need to invalidate caching of all currently drawn elements. Usually new elemnts are copied from the old ones (and stripped from caching information), but in this case the old one is modfied and thus the visibility caching is wrong, as well as the style handling would be.

I will have a look.

comment:3 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r1313.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.