- 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:
2005-03-20 09:45:54 +00:00
parent 836d576730
commit c2140d28c1
5 changed files with 50 additions and 8 deletions

View File

@@ -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]);