X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fstylizeobj%2Fstylizeobj.C;h=420cdacfbffc54e89aa1902edd1d2d0bf857fafe;hp=2d8b515c5e9329265dbaad24d81a6956572a9970;hb=b2eb290b3f6e5c233393017aa152e67c76243130;hpb=c0fe374d9f9ab1653e9cc2edb41afb076eeae69f diff --git a/cinelerra-5.1/plugins/stylizeobj/stylizeobj.C b/cinelerra-5.1/plugins/stylizeobj/stylizeobj.C index 2d8b515c..420cdacf 100644 --- a/cinelerra-5.1/plugins/stylizeobj/stylizeobj.C +++ b/cinelerra-5.1/plugins/stylizeobj/stylizeobj.C @@ -76,7 +76,7 @@ void StylizeObj::save_data(KeyFrame *keyframe) FileXML output; // cause data to be stored directly in text - output.set_shared_output(keyframe->get_data(), MESSAGESIZE); + output.set_shared_output(keyframe->xbuf); output.tag.set_title("STYLIZEOBJ"); output.tag.set_property("MODE", config.mode); output.tag.set_property("SMOOTHING", config.smoothing); @@ -93,7 +93,7 @@ void StylizeObj::save_data(KeyFrame *keyframe) void StylizeObj::read_data(KeyFrame *keyframe) { FileXML input; - input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data())); + input.set_shared_input(keyframe->xbuf); int result = 0; while( !(result = input.read_tag()) ) {