Added transformation of shape-keys when transforming object origin.
It should be able to handle changing the origin in edit mode, but it is currently disabled.
Differential D8367
Fix T72622: Transform object origin support for mesh, lattice & curve shape-keys Authored by Paul De Temmerman (paul2t) on Jul 23 2020, 3:08 AM.
Details
Added transformation of shape-keys when transforming object origin. It should be able to handle changing the origin in edit mode, but it is currently disabled.
Diff Detail
Event TimelineComment Actions Good start, comments inline.
Comment Actions Thanks, committed rB2308668bac049dbf0e7056f9849e67f52ddb3f9d with edits.
Renamed functions: # Naming: from -> to.
replace_all = (
("BKE_key_count_keyblocks_elements_from_shape", "BKE_keyblock_element_count_from_shape"),
("BKE_key_count_keyblocks_elements", "BKE_keyblock_element_count"),
("BKE_key_count_keyblocks_size_from_shape", "BKE_keyblock_element_calc_size_from_shape"),
("BKE_key_count_keyblocks_size", "BKE_keyblock_element_calc_size"),
("BKE_key_get_keyblocks_data_from_shape", "BKE_keyblock_data_get_from_shape"),
("BKE_key_get_keyblocks_data", "BKE_keyblock_data_get"),
("BKE_key_set_keyblocks_data_with_mat4", "BKE_keyblock_data_set_with_mat4"),
("BKE_key_set_curve_keyblocks_data_with_mat4", "BKE_keyblock_curve_data_set_with_mat4"),
("BKE_key_set_keyblocks_data", "BKE_keyblock_data_set"),
) | ||||||||||||||||||||||||||||||||