Blender Git Commit Log

Git Commits -> Revision 36f18cd

November 19, 2014, 11:32 (GMT)
Arrow widget interaction:

Fix interaction when pivot is beside the camera. basically we now do all
calculations in 3D space and we do not scale correct the offset in 3D -
this creates a nasty dependency loop between drawing and calculation for
widgets bound to properties - ie offset depends on scale but scale
depends on screen position - ie offset.

Also added an extra callback to get the final position of the widget in
3d space and use that to calculate the scale. This takes care of
bringing a close to the camera widget to the background and the widget
keeping its initial size. The final position can be different from the
initial position, especially when the widget is offset from the original
position.

Commit Details:

Full Hash: 36f18cd35c40eb5f6e6fc03c4f53dd02ee179b5c
Parent Commit: d7fa0fc
Lines Changed: +66, -35

5 Modified Paths:

/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_generic_widgets.c (+30, -24) (Diff)
/source/blender/windowmanager/intern/wm_widgets.c (+30, -7) (Diff)
/source/blender/windowmanager/wm.h (+5, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021