diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-25 08:13:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-25 08:13:11 +0300 |
commit | 3f4b3fdfba00952cfc7565f3d55738c042f609c1 (patch) | |
tree | 14a96fd369c50ee6da4af5cdd5e2ba2edd070722 /source/blender/editors/space_view3d/view3d_manipulator_lamp.c | |
parent | 1b5a690c721e257f4d2b6b0df3ad87c011af121e (diff) |
Manipulator: zero grab offset w/o target property
Some manipulators are used like on-screen buttons,
in this case it doesn't make sense to keep track of their state,
so zero the offset when its unused.
Needed for lamp-target manipulator.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_manipulator_lamp.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_manipulator_lamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_manipulator_lamp.c b/source/blender/editors/space_view3d/view3d_manipulator_lamp.c index 9454ff1e158..a1646325e45 100644 --- a/source/blender/editors/space_view3d/view3d_manipulator_lamp.c +++ b/source/blender/editors/space_view3d/view3d_manipulator_lamp.c @@ -295,4 +295,4 @@ void VIEW3D_WGT_lamp_target(wmManipulatorGroupType *wgt) wgt->draw_prepare = WIDGETGROUP_lamp_target_draw_prepare; } -/** \} */
\ No newline at end of file +/** \} */ |