diff options
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/CMakeLists.txt | 2 | ||||
-rw-r--r-- | source/blender/python/generic/matrix.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/CMakeLists.txt b/source/blender/python/CMakeLists.txt index 7abec566505..a83e29e2fab 100644 --- a/source/blender/python/CMakeLists.txt +++ b/source/blender/python/CMakeLists.txt @@ -46,8 +46,6 @@ IF(WITH_FFMPEG) ADD_DEFINITIONS(-DWITH_FFMPEG) ENDIF(WITH_FFMPEG) -ADD_DEFINITIONS(-DWITH_CCGSUBSURF) - BLENDERLIB(bf_python "${SRC}" "${INC}") BLENDERLIB(bf_gen_python "${GENSRC}" "${INC}") diff --git a/source/blender/python/generic/matrix.c b/source/blender/python/generic/matrix.c index edb6fb7af63..5a49118b519 100644 --- a/source/blender/python/generic/matrix.c +++ b/source/blender/python/generic/matrix.c @@ -1315,7 +1315,7 @@ static PyObject *column_vector_multiplication(MatrixObject * mat, VectorObject* } vecNew[3] = 1.0f; - for(x = 0; x < mat->colSize; z++) { + for(x = 0; x < mat->colSize; x++) { for(y = 0; y < mat->rowSize; y++) { dot += mat->matrix[y][x] * vecCopy[y]; } |