Empty layer bug, errorlog attached.

Replicable, follow these steps:

  • add layer
  • name “German Name”
  • always active, no loop through levels
  • delete activate, increase, decrease, reset
  • give blank Image 1 the level name: "German "
  • is prefix
  • OK
  • kaboom

Why I was doing this:

I wanted to easily insert the name of the country in front of all the pieces for that country via a prototype, rather than retyping the names of XXX pieces. This was the method I thought of, and apparently it breaks VASSAL.

Can someone suggest a better way to change:

SAC moves 0801 → 0802

to

German SAC …

without redoing all my piece names?

On 2/07/2009 at 8:39 PM Shad wrote:

Bug [2816275] NPE in Embellishment adding layer with no image

Fix committed to swampwallaby-3.1@5801

Work around is to use a transparent image instead of no image.

Edit the buildfile and carefully change piece names via global edit.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

Merged to 3.1@5812, trunk@5813.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)