diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-17 12:05:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-17 12:05:57 +0400 |
commit | 55c9b352c2bd023640e75e51778b466125481a68 (patch) | |
tree | 48db851cbee438b241a56fc28dceebeb7161c5ca /source/blender/editors/space_view3d/drawobject.c | |
parent | 3e3efae7e9420817a6fe35545d97568a69e2ce7c (diff) |
Fix mistake in recent DM material changes
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 178a7aa5798..02fad5d788b 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -7908,7 +7908,7 @@ static void draw_object_mesh_instance(Scene *scene, View3D *v3d, RegionView3D *r if (ob->mode & OB_MODE_EDIT) { edm = editbmesh_get_derived_base(ob, me->edit_btmesh); - DM_update_materials(dm, ob); + DM_update_materials(edm, ob); } else { dm = mesh_get_derived_final(scene, ob, CD_MASK_BAREMESH); |