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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-11-15 01:56:32 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-11-15 01:56:32 +0300
commit0fae1fdad37780d8a376e94ce49db92d6776fc7c (patch)
treeb4d6ca071136d04418112d84199dbef8ee2293e3 /source/blender/src/drawimage.c
parent41c675802734b8ab683065ee2688c4012f0fd26a (diff)
Bugfix:
Drawing linked duplicates in editmode leaked memory, and could also crash. This fixes the memory leak, and hopefully also the crash.
Diffstat (limited to 'source/blender/src/drawimage.c')
-rw-r--r--source/blender/src/drawimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c
index f75de0bb331..e7a43086fa3 100644
--- a/source/blender/src/drawimage.c
+++ b/source/blender/src/drawimage.c
@@ -530,7 +530,7 @@ void draw_uvs_sima(void)
) {
/* we can use the existing final mesh */
glColor3ub(112, 112, 112);
- G.editMesh->derivedFinal->drawUVEdges(G.editMesh->derivedFinal);
+ em->derivedFinal->drawUVEdges(em->derivedFinal);
} else {
DerivedMesh *finalDM, *cageDM;