From 834495b5ff37fc1f4841eeb320b928508ba31059 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Thu, 4 Jan 2007 22:16:49 +0000 Subject: [PATCH] Fixed two compile warnings I introduced. --- source/blender/src/editdeform.c | 1 + source/blender/src/editmode_undo.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/src/editdeform.c b/source/blender/src/editdeform.c index bca2fc60ef1..cc6081212bc 100644 --- a/source/blender/src/editdeform.c +++ b/source/blender/src/editdeform.c @@ -61,6 +61,7 @@ #include "BSE_edit.h" +#include "editmesh.h" #include "multires.h" #ifdef HAVE_CONFIG_H diff --git a/source/blender/src/editmode_undo.c b/source/blender/src/editmode_undo.c index a67a759374d..22a399ae1e2 100644 --- a/source/blender/src/editmode_undo.c +++ b/source/blender/src/editmode_undo.c @@ -343,6 +343,6 @@ uiBlock *editmode_undohistorymenu(void *arg_unused) void *undo_editmode_get_prev(Object *ob) { UndoElem *ue= undobase.last; - if(ue && ue->prev && ue->prev==ob) return ue->prev->undodata; + if(ue && ue->prev && ue->prev->ob==ob) return ue->prev->undodata; return NULL; }