electronicarts / dem-bones

An automated algorithm to extract the linear blend skinning (LBS) from a set of example poses
https://seed.ea.com
Other
868 stars 154 forks source link

Template error message in VS2019 #5

Closed mmallmann closed 4 years ago

mmallmann commented 4 years ago

Hello,

I am getting the following error messages when I compile demBones in VS2019:

Error: Dem::DemBones: use of class templates requires template argument list

Error C2352 'Dem::DemBones<_Scalar,_AniMeshScalar>::clear': illegal call of non-static member function cmt C:\Users\max\source\repos\cmt\src\DemBones\DemBonesExt.h 108

The line error is in bold text.

DemBonesExt.h ... /* @brief Clear all data / void clear() { fTime.resize(0); boneName.resize(0); parent.resize(0); bind.resize(0, 0); preMulInv.resize(0, 0); rotOrder.resize(0, 0); DemBones::clear(); }

Any idea? Thx, Max

binhhuyle commented 4 years ago

Fixed in v1.1.0