| | Library search paths.
|
|
Hi all, I'm working on my new editor and wondering on how to implement default color loading. I wanted to let the system look for ldconfig.ldr much like normal parts etc, but this won't work cause it's in the root ldraw dir instead of parts or p. So (...) (14 years ago, 22-Apr-11, to lugnet.cad.dev)
|
|
| | Re: Library search paths.
|
|
(...) Well those directories are often write-protected and given other sorts of restrictions. A better place would be {USER}\Documents\ldraw. Tim (14 years ago, 23-Apr-11, to lugnet.cad.dev)
|
|
| | Re: Library search paths.
|
|
(...) I don't think you should use the normal search strategy (enhanced or not) for ldconfig.ldr because it's a special case. It's got global scope, and it's not referenced by name in your ldraw files. Tim's on the right track. A good strategy would (...) (14 years ago, 23-Apr-11, to lugnet.cad.dev)
|
|
| | Re: Library search paths.
|
|
(...) <snip> (...) Lars' project looks interesting but my generic LDraw search handling code is all done. I'm only looking for a way to get the 'default out of the box' colors in place upon first start. The user can change that of course but it (...) (14 years ago, 23-Apr-11, to lugnet.cad.dev)
|
|
| | Re: Library search paths.
|
|
(...) I would personally advise against it, but can't give a real justification for this recommendation other than the fact that it's non-standard. (...) The spec is very specific about ldconfig.ldr being in the main LDraw directory. LDView (...) (14 years ago, 26-Apr-11, to lugnet.cad.dev)
|