Blender Git Loki

Git Commits -> Revision 17bd00a

Revision 17bd00a by Ton Roosendaal (master)
March 17, 2005, 21:31 (GMT)
So! Finally a show-off of the *power* of Martin P's work! :)

- Made framework for 3d Transform Manipulators (widgets)
- The Manipulators act like '2d buttons', by default with LeftMouse and with
while-hold-move-release
- Implemented now: Translation Widget, which allows:
- four hotspots for axis grab or view-aligned grab
- center defined by 'around' setting
- SHIFT+LMB gives planar constraint on other 2 axes
- works in Object mode and Edit mode (not posemode yet)

Enable it with (temporal) icon in 3D header. All other 'normal' transforms
then keeps working btw.

On the todo for this widget:
- choice for Global, Local or Normal orientation

The way the widgets are going to work is in review still. Commit is also for
Matt for his proposal/paper on topic.
Some notes regarding this project;

- no life updates (on mouse over) like 3DS, I think that's neurotic
- on click, dominant axis changes to theme defined "Transform" color, other axes disappear, like maya
- manipulater size is fixed preset, independent zoom.
- manipulator follows selection, and is located based on 'around' mode

Unresolved;

- in maya, when you select 2 or more objects, the manipulator draws on the 'active' object, also interesting
- what to do with G,R,S hotkeys? It could switch the manipulator "mode"...
- header button/menu for manipulator mode?

Commit Details:

Full Hash: 17bd00a851b24feb19a6a917d39e6e2044f31ccd
SVN Revision: 3962
Parent Commit: ab21276
Lines Changed: +229, -20

13 Modified Paths:

/source/blender/include/BIF_transform.h (+9, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+22, -0) (Diff)
/source/blender/render/intern/source/texture.c (+2, -2) (Diff)
/source/blender/src/drawview.c (+2, -1) (Diff)
/source/blender/src/edit.c (+5, -7) (Diff)
/source/blender/src/headerbuttons.c (+11, -0) (Diff)
/source/blender/src/header_view3d.c (+6, -0) (Diff)
/source/blender/src/space.c (+3, -0) (Diff)
/source/blender/src/transform.c (+137, -8) (Diff)
/source/blender/src/transform.h (+3, -0) (Diff)
/source/blender/src/transform_constraints.c (+21, -0) (Diff)
/source/blender/src/transform_generics.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021