Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-12-26 13:43:51 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-12-26 13:43:51 +0300
commit9807586192768e3ead28cec626a2561e5d29b1d3 (patch)
tree9b3679bcc6d055f08ca8104c759441d1b95cde24 /source/blender/python/api2_2x/Mesh.c
parent88e71a5b799e852d6803a8c9075c4b46305e2478 (diff)
== Multires ==
Fixed bad level calls within multires usage.
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.c')
-rw-r--r--source/blender/python/api2_2x/Mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c
index 8afbc75682a..69975ed611e 100644
--- a/source/blender/python/api2_2x/Mesh.c
+++ b/source/blender/python/api2_2x/Mesh.c
@@ -7161,7 +7161,7 @@ static int Mesh_setMultires( BPy_Mesh * self, PyObject *value, void *type )
switch ((int)type) {
case MESH_MULTIRES_LEVEL:
self->mesh->mr->newlvl = i;
- multires_set_level(self->object, self->mesh, 0);
+ multires_set_level_cb(self->object, self->mesh);
break;
case MESH_MULTIRES_EDGE:
self->mesh->mr->edgelvl = i;