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 12 Mar 2014 06:36:25 PM UTC  
 
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 12 Mar 2014 06:36:25 PM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup