diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-14 12:50:41 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-14 12:50:41 +0400 |
commit | 8988a0de38dcf545447649ac778b145b2fb5e14a (patch) | |
tree | 494955a23de806932ba57a62ddd0585a3a3ad2cf /source/blender/blenkernel/BKE_object.h | |
parent | 4ed583ea8ab29bcfd421dbf694737abfad44eac0 (diff) |
Bugfix #4329
New "Dimension" button: when using TAB to cycle over buttons, the dimension
event was sent multiple times, accumulating scaling. The code was also not
prepared to handle multiple changes at one event.
Also: added object_get_boundbox(Object *ob) in BKE_object.h, so the code
now really supports most primitives in Blender.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 37398ca3fcb..bbaf42a91b1 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -95,6 +95,7 @@ void where_is_object_simul(struct Object *ob); void what_does_parent(struct Object *ob); struct BoundBox *unit_boundbox(void); void boundbox_set_from_min_max(struct BoundBox *bb, float min[3], float max[3]); +struct BoundBox *object_get_boundbox(struct Object *ob); void minmax_object(struct Object *ob, float *min, float *max); void solve_tracking (struct Object *ob, float targetmat[][4]); void solve_constraints (struct Object *ob, short obtype, void *obdata, float ctime); |