diff options
author | Martin Buerbaum <martin.buerbaum@gmx.at> | 2010-11-29 13:22:30 +0300 |
---|---|---|
committer | Martin Buerbaum <martin.buerbaum@gmx.at> | 2010-11-29 13:22:30 +0300 |
commit | 9ec6e4e5472e4dafa7297e685e9a9cc81e7318d9 (patch) | |
tree | 32cfe2211c1b7973ee125d6598a45cf468f90c07 /space_view3d_panel_measure.py | |
parent | 8d30997d02a74cc93d90f13f253b2812a0308101 (diff) |
* Version 0.7.11 - Applied patch by Filiciss Muhgue that fixes the text dsiplay in quad view.
Diffstat (limited to 'space_view3d_panel_measure.py')
-rw-r--r-- | space_view3d_panel_measure.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py index a96d7f30..85709804 100644 --- a/space_view3d_panel_measure.py +++ b/space_view3d_panel_measure.py @@ -19,7 +19,7 @@ bl_addon_info = { "name": "Measure Panel", "author": "Buerbaum Martin (Pontiac)", - "version": (0, 7, 10), + "version": (0, 7, 11), "blender": (2, 5, 3), "api": 33331, "location": "View3D > Properties > Measure", @@ -58,6 +58,7 @@ It's very helpful to use one or two "Empty" objects with "Snap during transform" enabled for fast measurement. Version history: +v0.7.11 - Applied patch by Filiciss Muhgue that fixes the text in quad view. v0.7.10 - Applied patch by Filiciss Muhgue that (mostly) fixes the quad view. Patch link: https://projects.blender.org/tracker/?func= detail&atid=127&aid=24932&group_id=9 @@ -437,10 +438,10 @@ def region3d_get_2d_coordinates(context, loc_3d): height = context.region.height # Get matrices - view_mat = context.space_data.region_3d.perspective_matrix + view_mat = context.region_data.perspective_matrix total_mat = view_mat - # order is important + # Order is important vec = Vector((loc_3d[0], loc_3d[1], loc_3d[2], 1.0)) * total_mat # dehomogenise |