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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-12-08 14:47:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-08 14:47:35 +0300
commit4bdaedfc4a04c1f6e4818628904cce11cda62258 (patch)
treeb10678778fa3511210d884a79e9f9596fff97fa2 /space_view3d_panel_measure.py
parente4871edb66204081ac5939402bb2ff3f534fe53f (diff)
updates for changes in blenders api
Diffstat (limited to 'space_view3d_panel_measure.py')
-rw-r--r--space_view3d_panel_measure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py
index 85709804..3c44ef3d 100644
--- a/space_view3d_panel_measure.py
+++ b/space_view3d_panel_measure.py
@@ -83,7 +83,7 @@ v0.7.5.2 - Changed callback registration back to original code &
fixed bug in there (use bl_idname instead of bl_label)
v0.7.5.1 - Global mode is now taking rotation into account properly.
v0.7.5 - Fixed lagging and drawing issues.
-v0.7.4 - Fixed the add_modal_handler and callback_add code.
+v0.7.4 - Fixed the modal_handler_add and callback_add code.
Thanks to jesterKing for pointing that out :-)
v0.7.3.1 - Fixed bug that made all lines in Blender stippled :-)
v0.7.3 - Added display of delta x/y/z value in 3d view.
@@ -621,7 +621,7 @@ class VIEW3D_OT_display_measurements(bpy.types.Operator):
# Add the region OpenGL drawing callback
for WINregion in context.area.regions:
if WINregion.type == 'WINDOW':
- context.window_manager.add_modal_handler(self)
+ context.window_manager.modal_handler_add(self)
self._handle = WINregion.callback_add(
draw_measurements_callback,
(self, context),