THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/11/2008 at 08:45, xxxxxxxx wrote:
Howdy,
Any idea on the scale issue?
Also I have another question regarding Undo. I've added:
> \> doc->AddUndo(UNDO_NEW,track); \>
after inserting the track and then added:
> \> doc->AddUndo(UNDO_CHANGE,track); \>
before setting a key value.
Is this the correct way to handle the undo? I can't tell for sure from the SDK documentation. I'm assuming that since the track is "inserted" the undo should come after with an "UNDO_NEW", but I'm not sure about the key whether the undo should be on the key itself with "UNDO_NEW" or if it should be on the track with "UNDO_CHANGE".
It seems to work OK (not crashing) the way I have it, but I just want to double check to make sure it's correct. ;o)
Adios,
Cactus Dan