forked from bartvdbraak/blender
fix for error moving absolute shape keys up/down (their position would become out of order)
This commit is contained in:
parent
8cddb18da0
commit
0aa6ade75a
@ -434,6 +434,8 @@ static int shape_key_move_exec(bContext *C, wmOperator *op)
|
|||||||
BLI_insertlinkafter(&key->block, kb_other, kb);
|
BLI_insertlinkafter(&key->block, kb_other, kb);
|
||||||
ob->shapenr++;
|
ob->shapenr++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SWAP(float, kb_other->pos, kb->pos) /* for absolute shape keys */
|
||||||
}
|
}
|
||||||
|
|
||||||
DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
|
DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
|
||||||
|
Loading…
Reference in New Issue
Block a user