1

Closed

Wrong value in TestScene.xml

description

The TestScene.xml contains the folowing line:
<DetailScale>.1</DetailScale>
C# cannot convert that value to a float, that results in an error being catched in "Firefly\SceneManager\Scene.cs" in function ParseIZone at line 132.
Nothing is done with the thrown error, so the scene ends up having no active Zone.
This will later result in an Argument Out Of Bounds error in "Firefly\Collections\ObservableList.cs" at line 131
Closed Apr 17, 2009 at 4:58 PM by TheJeepinator
This has been fixed.

comments

thexa4 wrote Feb 7, 2009 at 10:48 PM

An easy fix would be to change the line to:
<DetailScale>0.1</DetailScale>
I suggest rethrowing the error in Scene.cs at line 132 instead of ignoring it.

TheJeepinator wrote Feb 17, 2009 at 9:55 PM

I fixed this, it should parse correctly now.

wrote Feb 17, 2009 at 9:55 PM

TheJeepinator wrote Apr 17, 2009 at 4:57 PM

This should throw an exception, It will be eventually caught by the global exception logging system.

wrote Apr 17, 2009 at 4:58 PM

wrote Feb 13, 2013 at 12:37 AM

wrote May 14, 2013 at 10:15 PM