Talk:Sif Format

From Synfig Studio :: Documentation
Jump to: navigation, search

Great work you have started !!! you can found some infos : Unpacking_sifz-files and Fix_a_not_well_formed_document --D.j.a.y (talk) 05:22, 29 December 2015 (EST)

Thanks for the links! Useful info. Rsg167 (talk) 10:53, 5 January 2016 (EST)

What does a layer's "version" attribute do? I'm having trouble filling out the table. --Rsg167 (talk) 12:17, 13 January 2016 (EST)

It's related to the file format version... very helpful comment is't it ???? ;-) "canvas->get_version()".
The sif specification have changed over time, this version number help to kept this change and accordingly load the file. Have a look to the code here for example. How the canvas number is created is very important to document i guess. Here is the actual code. ... --D.j.a.y (talk) 04:26, 14 January 2016 (EST)
Sorry, I meant the <layer>’s version. Here is the relevent code. I consulted layer.cpp and it appears that Layer::get_version() and Layer::set_version() don’t do anything useful. I’ll keep looking; maybe those methods are actually overloaded in specific layer types. --Rsg167 (talk) 21:09, 18 January 2016 (EST)
It turns out that Layer::get_param() is overloaded by Layer subclasses. That explains it. 😄 --Rsg167 (talk) 12:15, 1 February 2016 (EST)