Closed GoogleCodeExporter closed 9 years ago
I forgot to mention. Its a compiler error. :P
Original comment by colingil...@gmail.com
on 29 Jul 2015 at 2:14
Thanks for posting this issue.
According to this error string "with _Ty = ozz::animation::Skeleton*" it looks
like you're saving a pointer to an ozz::animation:: Skeleton, instead of saving
the object itself. Ozz can serialize objects and arrays of objects, but not
pointers.
It seems to be a frequent mistake with ozz archives, maybe I should find a way
to prevent it or document it better. What do you think?
Original comment by guillaum...@gmail.com
on 29 Jul 2015 at 8:10
Thanks for the quick reply!
I also wanted to add that runtime animations give the same.
Regards,
Colin
Original comment by colingil...@gmail.com
on 29 Jul 2015 at 6:48
Have you tried to save the ozz::animation::Skeleton instance instead of it's
pointer? It should fix the compiler error, same for the animation.
Original comment by guillaum...@gmail.com
on 29 Jul 2015 at 7:48
Yep! It all works now. Thanks!
Original comment by colingil...@gmail.com
on 29 Jul 2015 at 10:08
Original comment by guillaum...@gmail.com
on 29 Jul 2015 at 10:55
Original issue reported on code.google.com by
colingil...@gmail.com
on 29 Jul 2015 at 2:13