reversed the order of suptraction for making the manipulator plane for adtive editmode objects, givea better results now for rotating about a verts normal.
This commit is contained in:
@@ -190,7 +190,7 @@ void EM_editselection_plane(float *plane, EditSelection *ese)
|
|||||||
|
|
||||||
if (ese->prev) { /*use previously selected data to make a usefull vertex plane */
|
if (ese->prev) { /*use previously selected data to make a usefull vertex plane */
|
||||||
EM_editselection_center(vec, ese->prev);
|
EM_editselection_center(vec, ese->prev);
|
||||||
VecSubf(plane, eve->co, vec);
|
VecSubf(plane, vec, eve->co);
|
||||||
} else {
|
} else {
|
||||||
/* make a fake plane thats at rightangles to the normal
|
/* make a fake plane thats at rightangles to the normal
|
||||||
we cant make a crossvec from a vec thats the same as the vec
|
we cant make a crossvec from a vec thats the same as the vec
|
||||||
|
|||||||
Reference in New Issue
Block a user