From 9ec6e4e5472e4dafa7297e685e9a9cc81e7318d9 Mon Sep 17 00:00:00 2001 From: Martin Buerbaum <martin.buerbaum@gmx.at> Date: Mon, 29 Nov 2010 10:22:30 +0000 Subject: [PATCH] * Version 0.7.11 - Applied patch by Filiciss Muhgue that fixes the text dsiplay in quad view. --- space_view3d_panel_measure.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py index a96d7f307..85709804d 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 -- GitLab