Adjust smooth threshold of animation generation
parent
c568d18218
commit
de88930acb
|
@ -204,7 +204,7 @@ void MotionsGenerator::generateMotion(const QUuid &motionId, std::set<QUuid> &vi
|
|||
const JointNodeTree nextJointNodeTree = poseJointNodeTree(progressClip.linkToId, nextFrame);
|
||||
const JointNodeTree middleJointNodeTree = generateInterpolation(InterpolationType::Linear, previousJointNodeTree, nextJointNodeTree, 0.5);
|
||||
outcomes.push_back({progress - lastProgress,
|
||||
generateInterpolation(InterpolationType::Linear, jointNodeTree, middleJointNodeTree, 0.5)});
|
||||
generateInterpolation(InterpolationType::Linear, jointNodeTree, middleJointNodeTree, 0.75)});
|
||||
lastProgress = progress;
|
||||
}
|
||||
progress += interval;
|
||||
|
|
|
@ -38,7 +38,7 @@ PoseEditWidget::PoseEditWidget(const Document *document, QWidget *parent) :
|
|||
|
||||
SkeletonGraphicsWidget *graphicsWidget = new SkeletonGraphicsWidget(m_poseDocument);
|
||||
graphicsWidget->setNodePositionModifyOnly(true);
|
||||
graphicsWidget->setBackgroundBlur(0.5);
|
||||
graphicsWidget->setBackgroundBlur(1.0);
|
||||
m_poseGraphicsWidget = graphicsWidget;
|
||||
|
||||
initShortCuts(this, graphicsWidget);
|
||||
|
|
Loading…
Reference in New Issue