From Synfig Studio :: Documentation
- 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)