URL:
<http://gna.org/bugs/?21786>
Summary: image_mod effect palettes pollute namespace until
user quits wesnoth
Project: Battle for Wesnoth
Submitted by: elvish_pillager
Submitted on: Wed 12 Mar 2014 06:36:25 PM UTC
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.13.0-dev
Operating System: Debian Linux
_______________________________________________________
Details:
An [effect] with apply_to=image_mod can contain color palettes and color
ranges, which will be created if no color palette/range with the same ID
exists already. These palettes continue existing until the user quits
wesnoth.
This behavior is counterinituitive when testing changes, because reloading the
data (F5 on the main screen) does not remove the old color palettes, so the
next game session will still use the old palettes even though the
specification has changed.
A better behavior would be to replace any palette with the same ID, or at
least to clear the remembered palettes whenever the data is reloaded.
It would also be desirable to emit a warning whenever a palette ID conflict
occurs.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21786>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs