forked from blender/blender
himisa-patch-1 #1
@ -62,8 +62,10 @@ static void pchan_deform_accumulate(const DualQuat *deform_dq,
|
|||||||
|
|
||||||
if (dq_accum) {
|
if (dq_accum) {
|
||||||
BLI_assert(!co_accum);
|
BLI_assert(!co_accum);
|
||||||
|
DualQuat dq;
|
||||||
add_weighted_dq_dq(dq_accum, deform_dq, weight);
|
memcpy(&dq, deform_dq, sizeof(DualQuat));
|
||||||
|
set_scale_pivot_dq(&dq, co_in);
|
||||||
|
add_weighted_dq_dq(dq_accum, &dq, weight);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
float tmp[3];
|
float tmp[3];
|
||||||
|
Loading…
Reference in New Issue
Block a user