diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-03-08 08:54:39 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-03-08 08:54:39 +0300 |
commit | 4bd5ab628bbbdb23b1aeb074bc66f1133cb3af29 (patch) | |
tree | d19aab0b74505d73d845ed3420e938b13a165984 /source/blender/python/api2_2x/Mesh.c | |
parent | f361c49d70bcb4d49c6bbaa0b974551936b828f6 (diff) |
== Multires ==
Fixed bug #6153, Blender Crash during rendering (internal) with object selected in edit mode.
* Added a render parameter to several of multires's functions. If render==true, multires won't push data onto the undo stack, and regular Mesh data is always used (as opposed to EditMesh data.)
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.c')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.c | 2 |
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 f483ac9fc15..eb8f875fc34 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -6618,7 +6618,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); + multires_set_level(self->object, self->mesh, 0); break; case MESH_MULTIRES_EDGE: self->mesh->mr->edgelvl = i; |