Opened 16 years ago

Closed 16 years ago

#2736 closed defect (fixed)

msDrawLineSymbolAGG fails to draw pixmap when no style color is specified

Reported by: aalbarello Owned by: tbonfort
Priority: normal Milestone: 5.2.1 release
Component: AGG Version: 5.2
Severity: normal Keywords:
Cc:

Description

When used on a LINE layer, a definition like

STYLE

SYMBOL "mypixmap"

END

where "mypixmap" references a symbol of type PIXMAP (duh!), though working correctly in 5.0, fails to render anything in 5.2, unless a COLOR is specified along with the SYMBOL.

This is due to the return statement at line 1582 in mapagg.c, which, as noted in the comment on the same line, of course makes sense with certain types of symbols, but at least breaks backwards compatibility with PIXMAP symbols, where a COLOR setting is pretty counter intuitive.

Just thought I'd point this out.

Thanks, Andreas

Change History (1)

comment:1 by tbonfort, 16 years ago

Resolution: fixed
Status: newclosed

thanks for the report, that bug slipped in when adding style-level opacity

fixed in trunk (r7856) and branch-5.2 (r7857)

Note: See TracTickets for help on using tickets.