- Fixed flipped orientation of getViewViewvector(), was opposite in ortho
versus perspective. Note for Martin; still an issue with defining what positive/negative rotation is in perspective... needs more math here! - Added Transform Widgets for PoseMode - made adding bones in EditMode setting G.moving, so it doesn't draw other selected objects nor Widgets Warning in commit of Martin yesterday: Trackball and initTrackball were declared static, whilst also in transform.h. Quez; why are these functions exported in the .h file?
This commit is contained in:
@@ -132,7 +132,7 @@ void getViewVector(float coord[3], float vec[3]) {
|
||||
|
||||
Mat4MulVec4fl(G.vd->viewinv, p2);
|
||||
|
||||
VecSubf(vec, p2, p1);
|
||||
VecSubf(vec, p1, p2);
|
||||
}
|
||||
else {
|
||||
VECCOPY(vec, G.vd->viewinv[2]);
|
||||
|
||||
Reference in New Issue
Block a user