dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / shapewipe / shapewipe.C
index 1f80e288876396d638d0f970f976782811282b64..9a38a916b03de086ae3f4cfa33c3779d26a13f33 100644 (file)
@@ -355,7 +355,7 @@ NEW_WINDOW_MACRO(ShapeWipeMain, ShapeWipeWindow);
 void ShapeWipeMain::save_data(KeyFrame *keyframe)
 {
        FileXML output;
-       output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+       output.set_shared_output(keyframe->xbuf);
        output.tag.set_title("SHAPEWIPE");
        output.tag.set_property("DIRECTION", direction);
        output.tag.set_property("ANTIALIAS", antialias);
@@ -372,7 +372,7 @@ void ShapeWipeMain::read_data(KeyFrame *keyframe)
 {
        FileXML input;
 
-       input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+       input.set_shared_input(keyframe->xbuf);
 
        while(!input.read_tag())
        {