1) Change the way "Align mode" is accessed in the UI: It's now a global
toggle for all pivot modes. The 2 new pivot modes have been removed from the popup. Instead, a new toggle button is added to the 3d view header. 2) Grab cursor mode. Cursor can be grabbed (and constrained to axis, grid, etc. while moving) like any other object. If no object is selected, GKEY alone grabs the cursor, otherwise pressing CKEY while in GKEY mode moves the cursor.
This commit is contained in:
@@ -126,7 +126,6 @@ static void uv_calc_center_vector(float *result, Object *ob, Mesh *me)
|
||||
}
|
||||
VecMidf(result, min, max);
|
||||
break;
|
||||
case V3D_CURSOR_LOC:
|
||||
case V3D_CURSOR: /*cursor center*/
|
||||
cursx= give_cursor();
|
||||
/* shift to objects world */
|
||||
@@ -135,7 +134,6 @@ static void uv_calc_center_vector(float *result, Object *ob, Mesh *me)
|
||||
result[2]= cursx[2]-ob->obmat[3][2];
|
||||
break;
|
||||
case V3D_LOCAL: /*object center*/
|
||||
case V3D_CENTROID_LOC:
|
||||
case V3D_CENTROID: /* multiple objects centers, only one object here*/
|
||||
default:
|
||||
result[0]= result[1]= result[2]= 0.0;
|
||||
|
||||
Reference in New Issue
Block a user