You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hammer will occasionally decide to notate rotation angles with e, with rotations such as
"-0 1.00179e-005 0." This causes vmfii to throw an error, since it thinks this is a string and not an integer.
Unhandled Exception: System.InvalidCastException: Unable to cast object of type 'VMFInstanceInserter.VMFNumberValue' to type 'VMFInstanceInserter.VMFStringValue'. at VMFInstanceInserter.VMFStructure..ctor(VMFStructure clone, Int32 idOffset, Int32 nodeOffset, TargetNameFixupStyle fixupStyle, String targetName, List1 replacements, List1 matReplacements) at VMFInstanceInserter.VMFFile.ResolveInstances() at VMFInstanceInserter.Program.Main(String[] args)
The text was updated successfully, but these errors were encountered:
RevCosmosis
changed the title
Unhandled exception for rotations in scientific notation
Unhandled exception for numerical entity names
May 24, 2016
Turns out I was totally wrong! I think the issue actually occurs when you name an entity inside of an instance to something that is just an integer, like "1".
Hammer will occasionally decide to notate rotation angles with e, with rotations such as
"-0 1.00179e-005 0." This causes vmfii to throw an error, since it thinks this is a string and not an integer.
Unhandled Exception: System.InvalidCastException: Unable to cast object of type 'VMFInstanceInserter.VMFNumberValue' to type 'VMFInstanceInserter.VMFStringValue'. at VMFInstanceInserter.VMFStructure..ctor(VMFStructure clone, Int32 idOffset, Int32 nodeOffset, TargetNameFixupStyle fixupStyle, String targetName, List
1 replacements, List1 matReplacements) at VMFInstanceInserter.VMFFile.ResolveInstances() at VMFInstanceInserter.Program.Main(String[] args)
The text was updated successfully, but these errors were encountered: