SpriteEd: command arguments may have wrong type
Status: Inactive
Brought to you by:
leethomason
I tried to open the image file 1945.bmp in SpriteEditor. It
says: Could not load graphics file ''. But the file is in the
same directory with SpriteEditor.
The problem is in Editor::HandleWidgetEvent(...) when
you try to guess the type of the arguments. The first
character is checked, and if its a digit, the argument is
a number, and the string of the argument becomes
empty. So it's not possible to load an image beginning
with a number.
It's not a big problem. Just making the first character
not a number solves it.
Logged In: YES
user_id=286483
This bug also prevents to load an image with a trasparent
color, which begins with a number, like:
image picture.bmp 082152
In this case the transparent color is still 000000, because
the string is empty.