01-30-2019, 10:22 PM
It's been a while since I've done much with custom art. If I remember correctly, the viewable art had to have a group at the root level. I think there might be other nuances to editable/viewable art, but that's where I would start.
Also, be careful with .get() and .release() with auto-pointers. The former acquires the raw pointer inside the auto-pointer, but the auto-pointer is still managing its memory. The latter releases the raw pointer from the auto-pointer, which can result (and definitely is resulting, in your example) in a memory leak.
Also, be careful with .get() and .release() with auto-pointers. The former acquires the raw pointer inside the auto-pointer, but the auto-pointer is still managing its memory. The latter releases the raw pointer from the auto-pointer, which can result (and definitely is resulting, in your example) in a memory leak.