Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-08-25 08:13:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-25 08:13:11 +0300
commit3f4b3fdfba00952cfc7565f3d55738c042f609c1 (patch)
tree14a96fd369c50ee6da4af5cdd5e2ba2edd070722 /source/blender/editors/space_view3d
parent1b5a690c721e257f4d2b6b0df3ad87c011af121e (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')
-rw-r--r--source/blender/editors/space_view3d/view3d_manipulator_lamp.c2
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
+/** \} */