High priority I may have been sketching out a home but I'm in the dog's house now...

This topic has been viewed 6841 times and has 12 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: I may have been sketching out a home but I'm in the dog's house now...

Post by Puybaret »

Hans, I mentioned this bug because fixing it implied that I was obliged to overwrite the existing file to keep the same access rights. And I may have not the means to create in the same directory a backup file with the same access rights, and I may even have no right to create a new file in that directory...
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: I may have been sketching out a home but I'm in the dog's house now...

Post by hansmex »

Emmanuel,

I live with the idea that "if I can think of it, it must be easy to make". Can you imagine how nice it is to be totally ignorant? I can, and I love it. But to be honest, I'm also aware of the fact that not everybody agrees with my point of view. Well... it's not Xmas yet... :-)

Hans
(just teasing)
Hans

new website - under constuction
hansdirkse.info
starrunner
Posts: 40
Joined: Wed Sep 15, 2010 10:44 am

Re: I may have been sketching out a home but I'm in the dog's house now...

Post by starrunner »

What about an auto save like this:
  • Every x minutes the current (modified) project is saved into a special file beside the project file (e.g. called {file name} + "~"). As long as the responsible timer is using the Swing-Thread, no side effects should occur, since afaik all modification is done in that thread.
  • When you close or save a project, that autosave file is deleted.
  • On opening a project where an autosave file exists, the program offers to open that file instead of the old one.
I know, that wouldn't help loading files destroyed by the save procedure, but at least crashed projects could be recreated.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests