diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-03 14:54:42 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-03 14:54:42 +0400 |
commit | 422b69fe1ec7f4fbce9a1adff2a3924b454a9941 (patch) | |
tree | 44dfdfe02c24e8b9f909c159d17d0277510bb42f /source/blender/src/transform.c | |
parent | cdca939c2cd4c382f2713b14bc95b7e6a9d1455f (diff) |
UI cleanup work;
Proportional edit:
- Proportional mode added to header as button/menu. Including new option
to have only connected geometry influenced.
- Added icons for proportional & proportional modes
- Make proportional edit data part of Scene, so all gets saved.
The Global flag G_PROPORTIONAL was removed
- Made sure #defines get used properly, also tweaked order for proportional
so it starts with regular 'smooth' by default.
- Use ALT+O in editmode to switch to new proportional 'connected' mode
Other UI stuff:
- in EditMode, the layer buttons get hidden... the amount of icons in
3d header grows to fast. :)
- made less ugly icons for the Manipulators. Still can be better.
- Added alpha-filter for pre-processing Icon-image, giving nicer display
of icon-antialising on dark or bright backdrops
- disabled Manipulators when in editmode, and current layers don't show
the edited data.
- Added the value used to define Normal size (editmode draw) in Scene too,
so it gets saved.
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 1df4025da04..78acd3eaaff 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -487,8 +487,7 @@ void Transform(int mode, int context) break; case OKEY: if (Trans.flag & T_PROP_EDIT && G.qual==LR_SHIFTKEY) { - extern int prop_mode; - prop_mode = (prop_mode+1)%6; + G.scene->prop_mode = (G.scene->prop_mode+1)%6; calculatePropRatio(&Trans); Trans.redraw= 1; } |