Lower-casing the library


Re: Lower-casing the library
#15
Sylvain Sauvage Wrote:LDView:
Tries all-lower, then all-upper, then as-is, then fails.
The filenames include the paths. So if the files are somewhere like ~/Documents/LDraw/…, only the as-is versions could be found. A lot of LDraw official parts wouldn’t because of the internal mess of the library.
Sum-up: trivially fails.

LDView's file case handling is platform-specific. The Qt version should support any file case (unless the implementation is buggy), is written using Qt filesystem classes, and is slow. The Qt code is in ModelViewerWidget:ConfusedtaticFileCaseCallback(). The other versions (including the OSMesa version) don't properly support arbitrary case on a case-sensitive file system.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Lower-casing the library - by Damien Roux - 2015-09-15, 10:16
Re: Lower-casing the library - by Chris Dee - 2015-09-16, 21:18
Re: Lower-casing the library - by Travis Cobbs - 2015-09-18, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)