removed scale for fight club model

This commit is contained in:
Anthony J. Thibault 2015-08-03 10:02:05 -07:00 committed by Anthony J. Thibault
parent 55da34f713
commit 69cc270802
2 changed files with 3 additions and 3 deletions

View file

@ -1221,7 +1221,7 @@ void MyAvatar::preRender(RenderArgs* renderArgs) {
joints.push_back(joint);
}
auto skeleton = make_shared<AnimSkeleton>(joints);
AnimPose xform(glm::vec3(0.01f), glm::quat(), glm::vec3(0.0));
AnimPose xform(glm::vec3(1.0f), glm::quat(), glm::vec3(0.0));
AnimDebugDraw::getInstance().addSkeleton("my-avatar", skeleton, xform);
_animNode = make_shared<AnimClip>("clip", "https://hifi-public.s3.amazonaws.com/ozan/support/FightClubBotTest1/Animations/standard_idle.fbx", 0.0f, 90.0f, 1.0f, true);

View file

@ -247,7 +247,7 @@ void AnimDebugDraw::update() {
AnimPose pose = skeleton->getAbsoluteBindPose(i);
// draw axes
const float radius = 1.0f;
const float radius = 0.01f;
addWireframeSphereWithAxes(rootPose, pose, radius, v);
// line to parent.
@ -278,7 +278,7 @@ void AnimDebugDraw::update() {
}
// draw axes
const float radius = 1.0f;
const float radius = 0.01f;
addWireframeSphereWithAxes(rootPose, absAnimPose[i], radius, v);
if (parentIndex >= 0) {