bugBattle for Wesnoth - Bugs: bug #21786, image_mod effect palettes pollute...

Show feedback again

bug #21786: image_mod effect palettes pollute namespace until user quits wesnoth

Submitted by:  Eli Dupree <elvish_pillager>
Submitted on:  Wed Mar 12 18:36:25 2014  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: WML
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 1.13.0-devOperating System: Debian Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Mar 12 18:36:25 2014, original submission:

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.

Eli Dupree <elvish_pillager>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by elvish_pillager (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup