Hi Luka, On Wed, Apr 20, 2011 at 10:46 PM, Luka Frelih <l...@ljudmila.org> wrote: >> Attached is a patch which sets the locale a little bit closer to the >> source of the problem, namely the fscanf() calls in >> vcglib/wrap/ply/plylib.cpp [...] > i have done some quick investigation and seems that OBJ loading is similarly > broken (though no error message in this case). with your patch, OBJ will > work but only if you first import a PLY... there are probably similar issues > with most of the ASCII formats where floats are used. > > so maybe just not worry too much right now about someone ever wanting to see > decimal commas in meshlab... ;)
Ok, given this, I will use your original patch in the next Debian release. There is BTW also a function in Qt for parsing floats in a (somewhat) locale-independent manner: http://doc.qt.nokia.com/latest/qstring.html#toDouble But, converting Meshlab to use this (or something similar) is an upstream problem. Best, Teemu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org