Planetside Software Forums

General => Terragen Discussion => Topic started by: cyphyr on November 10, 2008, 04:07:09 PM

Title: Undo!!
Post by: cyphyr on November 10, 2008, 04:07:09 PM
Thanks for the undo feature :)
This is great and very much needed.
For the final release can we have two litty bitty extras to this :)
Can we have a redo feature and since it is limited by memory can we have a way to turn it off or to limit the number of undo's (undo history maybe)
Thanks
richard
Title: Re: Undo!!
Post by: jo on November 10, 2008, 05:36:52 PM
Hi Richard,

I do plan to add redo. However it may not be for the final release due to the time it will take and the testing required.

What I was thinking of doing was having undo limited by the amount of memory, I'm not sure if this is better than restricting the number of undos. Undos use a variable amount of memory. If you limit the number of undos then you could potentially have just a few undos which used a lot of memory. There's no reason to limit the number of undos, but there is a reason for limiting the amount of memory they use.

Actually, what I was intending was not so much limiting the amount of memory absolutely, but instead making a system to write undos to disk once they get over the memory limit so that you can still have unlimited undos.

You can purge the memory used by undos using the Project menu. The memory used is shown in the Purge Undo menu item and the Undo History window.

Regards,

Jo
Title: Re: Undo!!
Post by: cyphyr on November 10, 2008, 06:16:39 PM
Thanks for the quick reply. I didn't realise there was a purge option, that dose the trick nicely :)
Couldn't undo's be written to a text file, that would'nt use up any more memory than just having a text doc running surely?
richard
Title: Re: Undo!!
Post by: rcallicotte on November 10, 2008, 07:09:29 PM
This UNDO rocks.  Thank you to Planetside. 
Title: Re: Undo!!
Post by: jo on November 10, 2008, 07:45:30 PM
Hi Richard,

Quote from: cyphyr on November 10, 2008, 06:16:39 PM
Couldn't undo's be written to a text file, that would'nt use up any more memory than just having a text doc running surely?

That's roughly what I was talking about with writing undos to disk. The thing is you don't want to just do that as a matter of course because it will be a lot slower than just having them in memory.

Regards,

Jo
Title: Re: Undo!!
Post by: jo on November 10, 2008, 07:46:29 PM
Hi,

By the way, if anyone notices something which should be undone but isn't, please let me know. I'm pretty sure I've covered everything though :-).

Regards,

Jo
Title: Re: Undo!!
Post by: dandelO on November 10, 2008, 08:38:28 PM
Painted shader brush-strokes can't be undone. Is this the way it's supposed to be? If not then that would be nice to be able to undo instead of just erasing.
Title: Re: Undo!!
Post by: Matt on November 11, 2008, 12:32:24 AM
Brush strokes are undoable - each time you release the mouse (IIRC) it ends a discrete brush stroke and it should record it in the Undo system. If it wasn't working properly, can you remember what you were doing at the time? Maybe you made another change afterwards without realising?
Title: Re: Undo!!
Post by: dandelO on November 11, 2008, 07:58:08 PM
Doh, sometimes I'm so dense! I was banging on yesterday about the importance of pausing the painted preview... Undone brush-strokes can be seen as soon as I unpause. Sorry.  :-[
Title: Re: Undo!!
Post by: Will on November 11, 2008, 08:11:28 PM
Yea the undo rocks. I have to hand it to you guys I've yet to run into any crashes yet!
Title: Re: Undo!!
Post by: jo on November 11, 2008, 08:54:59 PM
Hi dandelO,

Quote from: dandelO on November 10, 2008, 08:38:28 PM
Painted shader brush-strokes can't be undone. Is this the way it's supposed to be? If not then that would be nice to be able to undo instead of just erasing.

They should be undoable. Right now it can sometimes take a little while before the 3D Preview redraws to display without the undo stroke, do you think that's what you might be seeing?

Regards,

Jo
Title: Re: Undo!!
Post by: jo on November 11, 2008, 08:58:34 PM
Hi dandelO,

Quote from: dandelO on November 11, 2008, 07:58:08 PM
Doh, sometimes I'm so dense! I was banging on yesterday about the importance of pausing the painted preview... Undone brush-strokes can be seen as soon as I unpause. Sorry.  :-[

That makes me even denser for not spotting your post about denseness ;-). We will have to sort something out with that ( the redraw, not the denseness ). I'm starting to come around to the idea that may there should be an option to let you choose the maximum detail the 3D Preview refines to, which would avoid you having to pause it and unpause to do stuff like have missing areas drawn when you move the camera and all that.

Regards,

Jo
Title: Re: Undo!!
Post by: dandelO on November 11, 2008, 08:59:25 PM
Quote from: jo on November 11, 2008, 08:54:59 PM
Hi dandelO,

Quote from: dandelO on November 10, 2008, 08:38:28 PM
Painted shader brush-strokes can't be undone. Is this the way it's supposed to be? If not then that would be nice to be able to undo instead of just erasing.

They should be undoable. Right now it can sometimes take a little while before the 3D Preview redraws to display without the undo stroke, do you think that's what you might be seeing?

Regards,

Jo

Thanks, Jo.

See two *three posts up. ^^  :-[ :D

*edited. :)