ex-makina / marklight

MarkLight is a presentation framework for Unity that allows you to create scene elements in a language similar to HTML.
MIT License
75 stars 35 forks source link

Fixed bug when serializing a color on some locales. #14

Closed EmKayDK closed 5 years ago

EmKayDK commented 5 years ago

This bug caused the decimal separator to be comma instead of a dot.

Resulted serialization was for example "0,4901961,0,4901961,0,4901961,1". With this fix it is the correct version "0.4901961,0.4901961,0.4901961,1".

How to reproduce:

patrik-u commented 5 years ago

Thank you for your commit 👍