JLDraw - a simple LDraw model viewer in Java


Re: JLDraw - a simple LDraw model viewer in Java
#12
Hi Michael.

You are perfectly right, there was an error in program that ask *at every start* for LDraw folder even if a "complete.zip" exists. That was wrong. I just released v0.2.0.1 that correct this bug.

Now program strategy at first start is (or should be, bugs, bugs everywhere...):
- it checks if a file "complete.zip" is in program same folder: if true, automatically add to available library list
- after that checks if a configuration file exists in program folder (file is created by program, not by user)
- if a configuration file exists, program scan and loads LDraw library from folders listed in configuration file
- if no configuration file is found,
- program ask if you want to add a local LDraw library
- if you click on Yes, program ask for LDraw and ask for an unofficial library folder (optional).
- a configuration file is saved automatically with LDraw folders positions
- program now checks if both zipped and unzipped library exists and are available
- if a local folder exists, program will select it
- if no local folder exists, program select zipped, if any
- if both options aren't available, program will display a warning dialog and exists.

So, if you want only a zipped "complete.zip" program will ask only at first start if you want to add a folder.

Thank you.

Mario
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: JLDraw - a simple LDraw model viewer in Java - by Mario Pascucci - 2014-09-14, 9:33

Forum Jump:


Users browsing this thread: 2 Guest(s)