Search path discussion


RE: Search path discussion
#49
(2022-03-20, 21:51)Roland Melkert Wrote: So basically everything loaded is public/global?

This is fine when loading a single model tree with the purpose to generate pov code.

But I really don't think it should become the standard.

Strict local scoping ensuring every ldraw file (mpd or plain) lives in a closed container so it only has to be loaded once and always looks the same (except for colors) no matter what file references it.

Otherwise working with multiple models/files in a single program will become an instance administrative nightmare.

It's my opinion that the top level model's directory has always been searched by various LDraw programs since day one (although apparently not LDCad), and because of this we should maintain this behavior in the standard. However, it doesn't seem like we're going to agree on that, so I'd like to propose that we ask Orion's opinion (since he's the third vote), and we go with whatever he recommends.

Note: I'm fine with adding the local directory of the currently processed model to the search path.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Search path discussion - by Orion Pobursky - 2021-03-16, 13:26
RE: Search path discussion - by Travis Cobbs - 2021-03-16, 22:11
RE: Search path discussion - by Travis Cobbs - 2021-03-16, 22:09
RE: Search path discussion - by Travis Cobbs - 2021-03-17, 19:27
RE: Search path discussion - by Travis Cobbs - 2021-04-14, 18:09
RE: Search path discussion - by Travis Cobbs - 2021-04-15, 20:14
RE: Search path discussion - by Cam's Bricks - 2022-03-15, 11:08
RE: Search path discussion - by N. W. Perry - 2022-03-15, 17:12
RE: Search path discussion - by Travis Cobbs - 2022-03-15, 21:34
RE: Search path discussion - by Travis Cobbs - 2022-03-16, 16:37
RE: Search path discussion - by Travis Cobbs - 2022-03-16, 23:53
RE: Search path discussion - by Travis Cobbs - 2022-03-19, 21:02
RE: Search path discussion - by Travis Cobbs - 2022-04-25, 1:24

Forum Jump:


Users browsing this thread: 1 Guest(s)