Skip to content

Transform floating point parse fails on non-english locale #11

Description

@jmquigs

Snippet from log:

[M:Snapshot]: Applying transforms: [SnapshotProfile: Profile1; pos: ["rot x 90"; "rot y 180"; "scale 0.1"]; uv: ["flip y"]]
[M:Snapshot]: disposing stream 0 vb
[ERROR-M:Snapshot]: System.FormatException: Le format de la chaîne d'entrée est incorrect.

à System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)

à System.Convert.ToSingle(String value)

à ModelMod.MeshTransform.parseVec3XformFunc(Boolean isNormal, Mesh mesh, String xname)

à ModelMod.MeshTransform.getMeshXformFunc@172.Invoke(String xname)

à Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[a,b](FSharpList1 cons, FSharpFunc2 f, FSharpList`1 x)

à Microsoft.FSharp.Primitives.Basics.List.map[T,TResult](FSharpFunc2 mapping, FSharpList1 x)

à ModelMod.MeshTransform.applyMeshTransformsInternal(FSharpList1 xforms, FSharpFunc2 invokeBuilder, Mesh mesh)

à ModelMod.Snapshot.take(IntPtr device, SnapshotData sd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions