himisa-patch-1 #1

Merged
himisa merged 3 commits from himisa-patch-1 into main 2023-06-03 19:15:01 +02:00
Showing only changes of commit 245ce97d12 - Show all commits

View File

@ -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];