../imbuf
../makesdna
../makesrna
+ ../bmesh
../modifiers
../nodes
- ../editors/include
../render/extern/include
- ../../../intern/bsp/extern ../blenfont
+ ../../../intern/bsp/extern
../../../intern/decimation/extern
../../../intern/elbeem/extern
../../../intern/guardedalloc
set(INC
../include
+ ../uvedit
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../imbuf
../../makesdna
../../makesrna
set(INC
../include
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../gpu
../../ikplugin
../../imbuf
MultiresModifierData *mmd= get_multires_modifier(scene, ob, 0);
Mesh *me= (Mesh*)ob->data;
- *lvl= mmd->lvl;
+ if(ob->mode==OB_MODE_SCULPT) *lvl= mmd->sculptlvl;
+ else *lvl= mmd->lvl;
- if(mmd->lvl==0) {
+ if(*lvl==0) {
DerivedMesh *tmp_dm= CDDM_from_mesh(me, ob);
- dm= CDDM_copy(tmp_dm);
+ dm= CDDM_copy(tmp_dm, 0);
tmp_dm->release(tmp_dm);
} else {
MultiresModifierData tmp_mmd= *mmd;
../include
../../blenfont
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../imbuf
../../makesdna
../../makesrna
set(INC
../include
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../makesdna
../../makesrna
../../windowmanager
../include
../../blenfont
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
../../imbuf
+ ../../bmesh
../../makesdna
../../makesrna
- ../../windowmanager
../../render/extern/include
+ ../../windowmanager
../../../../intern/guardedalloc
)
../include
../../blenfont
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
../../imbuf
+ ../../bmesh
../../makesdna
../../makesrna
../../windowmanager
../include
../../blenfont
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../gpu
../../imbuf
../../makesdna
set(INC
../include
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../makesdna
../../makesrna
../../windowmanager
set(INC
../include
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../makesdna
../../makesrna
../../windowmanager
set(INC
../include
../../blenkernel
- ../../blenloader
../../blenlib
+ ../../blenloader
+ ../../bmesh
../../makesdna
../../makesrna
../../windowmanager
../blenlib
../blenloader
../makesdna
- ../blenkernel
- ../blenkernel/intern
+ ../bmesh
../render/extern/include
- ../../../intern/guardedalloc
../../../intern/elbeem/extern
+ ../../../intern/guardedalloc
)
set(INC_SYS
void get_texture_coords(struct MappingInfoModifierData *dmd, struct Object *ob, struct DerivedMesh *dm, float (*co)[3], float (*texco)[3], int numVerts);
void modifier_vgroup_cache(struct ModifierData *md, float (*vertexCos)[3]);
void validate_layer_name(const struct CustomData *data, int type, char *name, char *outname);
-struct DerivedMesh *get_cddm(struct Object *ob, struct EditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3]);
-struct DerivedMesh *get_dm(struct Object *ob, struct EditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3], int orco);
+struct DerivedMesh *get_cddm(struct Object *ob, struct BMEditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3]);
+struct DerivedMesh *get_dm(struct Object *ob, struct BMEditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3], int orco);
- void modifier_get_vgroup(struct Object *ob, DerivedMesh *dm, const char *name, struct MDeformVert **dvert, int *defgrp_index);
+ void modifier_get_vgroup(struct Object *ob, struct DerivedMesh *dm, const char *name, struct MDeformVert **dvert, int *defgrp_index);
#endif /* MOD_UTIL_H */
/*
-- * $Id$
++ * $Id: mathutils.c 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils.h 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_Color.c 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_Color.h 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_Euler.c 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_Euler.h 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_Matrix.c 38527 2011-07-20 06:41:51Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
if(mat1 && mat2) {
/*MATRIX * MATRIX*/
-- if(mat1->row_size != mat2->col_size){
++ if(mat2->row_size != mat1->col_size){
PyErr_SetString(PyExc_ValueError,
"Matrix multiplication: "
"matrix A rowsize must equal matrix B colsize");
return NULL;
}
else {
-- float mat[16]= {0.0f, 0.0f, 0.0f, 0.0f,
-- 0.0f, 0.0f, 0.0f, 0.0f,
-- 0.0f, 0.0f, 0.0f, 0.0f,
-- 0.0f, 0.0f, 0.0f, 1.0f};
-- double dot = 0.0f;
++ float mat[16]= {0.0f};
int x, y, z;
for(x = 0; x < mat2->row_size; x++) {
for(y = 0; y < mat1->col_size; y++) {
for(z = 0; z < mat1->row_size; z++) {
-- dot += (mat1->matrix[z][y] * mat2->matrix[x][z]);
++ mat[x * mat2->col_size + y] += (mat2->matrix[x][z] * mat1->matrix[z][y]);
}
-- mat[((x * mat1->col_size) + y)] = (float)dot;
-- dot = 0.0f;
}
}
-- return newMatrixObject(mat, mat2->row_size, mat1->col_size, Py_NEW, Py_TYPE(mat1));
++ return newMatrixObject(mat, mat1->row_size, mat2->col_size, Py_NEW, Py_TYPE(mat1));
}
}
else if(mat2) {
/*
-- * $Id$
++ * $Id: mathutils_Matrix.h 38409 2011-07-15 04:01:47Z campbellbarton $
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
/*
-- * $Id$
++ * $Id: mathutils_Quaternion.c 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_Quaternion.h 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_Vector.c 38409 2011-07-15 04:01:47Z campbellbarton $
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
/*
-- * $Id$
++ * $Id: mathutils_Vector.h 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_geometry.c 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
/*
-- * $Id$
++ * $Id: mathutils_geometry.h 38409 2011-07-15 04:01:47Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
bf_intern_opennl
bf_python
bf_python_ext
+ bf_python_mathutils
bf_ikplugin
+ bf_bmesh
bf_modifiers
bf_blenkernel
bf_nodes