Blender Git Loki

Git Commits -> Revision d07dccc

Revision d07dccc by Martin Poirier (master)
May 10, 2005, 04:21 (GMT)
Found some time do sanitize the big Transform call:

- Splited off the event treatment into a fonction of its own
- Splited off the initialisation phase into a function of its own (will have to do it for the manipulator function too)
Calling transform now works like this:
initTransform(mode, context)
- possible post init calls, constraints mostly
Transform()
- eventually, the postTransform function, so that Transform is just a simple big loop which could in the end just be tied in the blender event system instead.
- Added a state variable in TransInfo to replace the ret_val local variable. Possible values are: TRANS_RUNNING, TRANS_CANCEL, TRANS_CONFIRM
- Tied MMB and the hotkey select for constraint together, so selecting an axis with MMB and pressing the axis key after that goes to local mode on that axis. Much less confusing.

Commit Details:

Full Hash: d07dccc3869943c8c24275c59917429af4eae452
SVN Revision: 4405
Parent Commit: 0c3f055
Lines Changed: +456, -354

14 Modified Paths:

/source/blender/include/BIF_transform.h (+2, -3) (Diff)
/source/blender/include/transform.h (+10, -1) (Diff)
/source/blender/src/editarmature.c (+4, -2) (Diff)
/source/blender/src/editcurve.c (+6, -3) (Diff)
/source/blender/src/editmball.c (+2, -1) (Diff)
/source/blender/src/editmesh_add.c (+2, -1) (Diff)
/source/blender/src/editmesh_tools.c (+4, -2) (Diff)
/source/blender/src/editobject.c (+18, -6) (Diff)
/source/blender/src/editview.c (+12, -3) (Diff)
/source/blender/src/header_view3d.c (+71, -37) (Diff)
/source/blender/src/space.c (+46, -23) (Diff)
/source/blender/src/toolbox.c (+12, -6) (Diff)
/source/blender/src/transform.c (+239, -252) (Diff)
/source/blender/src/transform_constraints.c (+28, -14) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021