Skip to content
Snippets Groups Projects
Commit 70de5e77 authored by Campbell Barton's avatar Campbell Barton
Browse files

update for chanes in the python api

parent 147aaf7d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment