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>2011-12-30 10:44:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-30 10:44:51 +0400
commit70de5e77feb19acd49d552b83e440dc90f08e081 (patch)
tree95a9dfc4bbf035c682396ef079413b7a8477b4a5 /space_view3d_math_vis
parent147aaf7d3810dcda3f76a31bede45f67aeb3fa1b (diff)
update for chanes in the python api
Diffstat (limited to 'space_view3d_math_vis')
-rw-r--r--space_view3d_math_vis/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_math_vis/utils.py b/space_view3d_math_vis/utils.py
index 9d21845d..a89a9ffb 100644
--- a/space_view3d_math_vis/utils.py
+++ b/space_view3d_math_vis/utils.py
@@ -41,8 +41,8 @@ def console_math_data():
var_type = type(var)
if var_type is Matrix:
- if var.col_size != 4 or var.row_size != 4:
- if var.row_size == var.col_size:
+ if len(var.col) != 4 or len(var.row) != 4:
+ if len(var.col) == len(var.row):
var = var.to_4x4()
else: # todo, support 4x3 matrix
continue