[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1208] trunk/py/scripts/addons/ space_view3d_panel_measure.py: * Version 0.7. 11 - Applied patch by Filiciss Muhgue that fixes the text dsiplay in quad view .

Martin Buerbaum martin.buerbaum at gmx.at
Mon Nov 29 11:22:31 CET 2010


Revision: 1208
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1208
Author:   pontiac
Date:     2010-11-29 11:22:30 +0100 (Mon, 29 Nov 2010)

Log Message:
-----------
* Version 0.7.11 - Applied patch by Filiciss Muhgue that fixes the text dsiplay in quad view.

Modified Paths:
--------------
    trunk/py/scripts/addons/space_view3d_panel_measure.py

Modified: trunk/py/scripts/addons/space_view3d_panel_measure.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_panel_measure.py	2010-11-27 19:08:16 UTC (rev 1207)
+++ trunk/py/scripts/addons/space_view3d_panel_measure.py	2010-11-29 10:22:30 UTC (rev 1208)
@@ -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 @@
 "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 @@
     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




More information about the Bf-extensions-cvs mailing list