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
2 posts
• Page 1 of 1
undo/redo for whole arrays
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.
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.
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
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?).
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.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 65 guests