mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 06:32:35 +02:00
more fixes
This commit is contained in:
parent
4a236c3a4b
commit
9c90a2b684
3 changed files with 0 additions and 3 deletions
|
@ -375,7 +375,6 @@ void OtherAvatar::debugJointData() const {
|
|||
const float AXIS_LENGTH = 0.1f;
|
||||
|
||||
AnimPoseVec jointPoses;
|
||||
glm::quat rotationOffset = Quaternions::IDENTITY;
|
||||
std::vector<QString> jointNames;
|
||||
AnimPose rigToAvatar = AnimPose(Quaternions::Y_180 * getWorldOrientation(), getWorldPosition());
|
||||
for (int i = 0; i < jointData.size(); i++) {
|
||||
|
|
|
@ -1457,7 +1457,6 @@ std::vector<AvatarSkeletonTrait::UnpackedJointData> Avatar::getSkeletonDefaultDa
|
|||
float geometryToRigScale = glm::length(extractScale(rig.getGeometryToRigTransform()));
|
||||
QStringList jointNames = getJointNames();
|
||||
int sizeCount = 0;
|
||||
int jointCount = 0;
|
||||
for (int i = 0; i < jointNames.size(); i++) {
|
||||
AvatarSkeletonTrait::UnpackedJointData jointData;
|
||||
jointData.jointIndex = i;
|
||||
|
|
|
@ -2055,7 +2055,6 @@ QByteArray AvatarData::packSkeletonModelURL() const {
|
|||
void AvatarData::unpackSkeletonData(const QByteArray& data) {
|
||||
|
||||
const unsigned char* startPosition = reinterpret_cast<const unsigned char*>(data.data());
|
||||
const unsigned char* endPosition = startPosition + data.size();
|
||||
const unsigned char* sourceBuffer = startPosition;
|
||||
|
||||
auto header = reinterpret_cast<const AvatarSkeletonTrait::Header*>(sourceBuffer);
|
||||
|
|
Loading…
Reference in a new issue