Cleanup: use "num" as a suffix in: source/blender/python
See T85728
This commit is contained in:
@@ -233,8 +233,8 @@ static int bpy_slot_from_py(BMesh *bm,
|
||||
if (!Matrix_ParseAny(value, &pymat)) {
|
||||
return -1;
|
||||
}
|
||||
const ushort size = pymat->num_col;
|
||||
if ((size != pymat->num_row) || (!ELEM(size, 3, 4))) {
|
||||
const ushort size = pymat->col_num;
|
||||
if ((size != pymat->row_num) || (!ELEM(size, 3, 4))) {
|
||||
PyErr_Format(PyExc_TypeError,
|
||||
"%.200s: keyword \"%.200s\" expected a 3x3 or 4x4 matrix",
|
||||
opname,
|
||||
|
||||
Reference in New Issue
Block a user