2018-10-25 00:19:38 +00:00
|
|
|
#include <QObject>
|
|
|
|
#include "skeletonside.h"
|
|
|
|
|
|
|
|
IMPL_SkeletonSideToDispName
|
2019-07-29 08:03:35 +00:00
|
|
|
IMPL_SkeletonSideToString
|
2019-06-17 12:49:08 +00:00
|
|
|
|
|
|
|
SkeletonSide SkeletonSideFromBoneName(const QString &boneName)
|
|
|
|
{
|
|
|
|
if (boneName.startsWith("Left"))
|
|
|
|
return SkeletonSide::Left;
|
|
|
|
else if (boneName.startsWith("Right"))
|
|
|
|
return SkeletonSide::Right;
|
|
|
|
return SkeletonSide::None;
|
|
|
|
}
|