diff options
author | Ton Roosendaal <ton@blender.org> | 2005-03-19 15:17:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-03-19 15:17:06 +0300 |
commit | a2ed880c9ff659f7dd488076da3104beac728d4d (patch) | |
tree | 47a6edca99c0bdf9e8387862141f9d11554003cd /source/blender/include/BDR_drawobject.h | |
parent | a96ed881dc04d0a2ce6ab742f7682042e466b0a7 (diff) |
Transform widgets; Scale and Rotate versions
To use; press the (temporal) icon in header. Switching widget types is by
pressing G, R or S once, if current widget type is different it switches,
otherwise it goes to normal Transform().
Widgets need a bit test for picking accuracy, correct drawing etc.
The rotate widget has a center button for 'trackball' rotate. That latter
can also be used for hotkey-based rotate.
In current code, all widgets remain in "Global" space, also in editmode.
Also widget updates while using normal transform has to be done.
2 Bugfixes:
- rotate in PoseMode had error for 2d 'around' center
- transform in postemode could crash, due to typo (& or |)
Diffstat (limited to 'source/blender/include/BDR_drawobject.h')
-rw-r--r-- | source/blender/include/BDR_drawobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BDR_drawobject.h b/source/blender/include/BDR_drawobject.h index a6084081336..10b6dc11c5c 100644 --- a/source/blender/include/BDR_drawobject.h +++ b/source/blender/include/BDR_drawobject.h @@ -61,6 +61,7 @@ void drawcircball(float *cent, float rad, float tmat[][4]); void get_local_bounds(struct Object *ob, float *centre, float *size); void draw_object(struct Base *base); void draw_object_ext(struct Base *base); +void drawsolidcube(float size); extern void draw_object_backbufsel(struct Object *ob); #ifdef __cplusplus |