Thank you Elisa! We're excited to see your SAMSON Element coming!
We'll add it soon to the doc, but from the developers point there's not much change:
- Layers are now folders (with more functionality). You can essentially do a replace all (with case): Layer -> Folder and layer -> folder (even inside words). This should take care of most cases. Then, you should replace SAMSON::getActiveFolder() (which was SAMSON::getActiveLayer()) by SAMSON::getActiveDocument(), because there is no notion of an active layer anymore (since we can directly add to the document).
- Editor property widgets are now dockable, so you should remove SAMSON::addWidget and SAMSON::removeWidget from your editors.
- If you used Paths, the API has changed to make it more convenient. Instead of passing an array of SBPosition3, you pass a SBVector<SBVector<SBPosition3>> (a pointer to a vector of frame data, where frame data is a lislt of positions for that frame.
- To store persisting pointers to nodes, you should always use SAMSON pointers (SBPointer, SBPointerList, SBPointerIndexer).
In doubt, the easiest is to use the SAMSON Generator.
Best,
Stephane