Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

undo/redo for whole arrays

For general discussion related FlowStone

undo/redo for whole arrays

Postby tester » Fri Dec 13, 2013 12:28 am

Anyone played with (unlimited) undo/redo system for whole arrays?

I guess this involves ruby. Besides on green prims it will not work too smooth.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: undo/redo for whole arrays

Postby tester » Fri Dec 13, 2013 2:49 pm

Hmm... Actually, there might be a temporal idea for using the old undo/redo theme. Like this:

Array of floats --> array to string conversion --> undo/redo --> string to float array conversion back.

Then - the queue/stack prims can operate on strings, that represent whole arrays. One thing I'm not sure is - the performance of such solution.

p.s.: I don't want to combine undo/redo with preset system.

//edit:

...and it appears to work. Even without additional conversion of float array into whatever-separated string (end line markers seem to be different from stack/queue internal separator?).
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: No registered users and 72 guests