Blender Git Loki
Git Commits -> Revision 81ea38c
Revision 81ea38c by Martin Poirier (master) March 8, 2005, 03:51 (GMT) |
+ Local axis constraint for multiple object selection works with resize and rotate (the easiest). + Refined the headerprint for Translation. Now prints only the needed info for constraint in the constraint's space (ie: if you're moving 1 unit along the local X axis, regardless of it's orientation, it will print "D: 1.000 along local X") Still need to make numinput work like that (typing a number with a local axis constraint would move along that axis. There's some base code already though, just need a finishing touch, but it's late now) + Optimised PET calculations by using the TD_NOACTION flag (actually, that might have been in the last commit). + Added a float axismtx[3][3] member to TransData to store the orientation of the element (useful for local axis constrainst which, in edit could be moving along normals and the like). - Fixed scaling in edit mode (was doing some matrix multiplications in the wrong order, only visible when using a constraint) - Fixed the constraint projection matrix. It didn't work for planar constraint if the constraint space wasn't global (in a nutshell, it produced weird results for local space planes). - Some potential bugs fixed (Note to Ton: added an ext pointer in TransInfo to point to the TransDataExtension block. With the sort done after allocation, the first td pointer doesn't necesarely point at the start of the ext block, so we needed another to free it correctly). - Got rid of some remaining test with G.obedit. - Moved constraint reset from init to post trans code (Ton, that means you can create constraints before calling transform, like for the menus for example). NOTE: I was getting some random segfault with the new headerprint code. Very random, couldn't reproduce with a debug version. I did some initialisation that might have been missing (though doubtful that's what caused the crashes). Was linked to using constraint though not caused by them. Probably due to some dumb late coding error. |
Commit Details:
Full Hash: 81ea38cd10d391eebce2f8629f9a93fd097e72b2
SVN Revision: 3910
Parent Commit: 03b70c9
Lines Changed: +287, -128