Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_gizmo_3d.c
| Context not available. | |||||
| if (ob->mode & OB_MODE_POSE) { | if (ob->mode & OB_MODE_POSE) { | ||||
| /* each bone moves on its own local axis, but to avoid confusion, | /* each bone moves on its own local axis, but to avoid confusion, | ||||
| * use the active pones axis for display [#33575], this works as expected on a single bone | * use the active pones axis for display [#33575], this works as expected on a single bone | ||||
| * and users who select many bones will understand whats going on and what local means | * and users who select many bones will understand what's going on and what local means | ||||
| * when they start transforming */ | * when they start transforming */ | ||||
| ED_getTransformOrientationMatrix(C, r_mat, pivot_point); | ED_getTransformOrientationMatrix(C, r_mat, pivot_point); | ||||
| ok = true; | ok = true; | ||||
| Context not available. | |||||
| BMEditSelection ese; | BMEditSelection ese; | ||||
| float vec[3] = {0, 0, 0}; | float vec[3] = {0, 0, 0}; | ||||
| /* USE LAST SELECTE WITH ACTIVE */ | /* USE LAST SELECT WITH ACTIVE */ | ||||
| if ((pivot_point == V3D_AROUND_ACTIVE) && BM_select_history_active_get(em->bm, &ese)) { | if ((pivot_point == V3D_AROUND_ACTIVE) && BM_select_history_active_get(em->bm, &ese)) { | ||||
| BM_editselection_center(&ese, vec); | BM_editselection_center(&ese, vec); | ||||
| calc_tw_center(tbounds, vec); | calc_tw_center(tbounds, vec); | ||||
| Context not available. | |||||