forked from bartvdbraak/blender
Fixed two compile warnings I introduced.
This commit is contained in:
parent
1ccc7c46bf
commit
834495b5ff
@ -61,6 +61,7 @@
|
||||
|
||||
#include "BSE_edit.h"
|
||||
|
||||
#include "editmesh.h"
|
||||
#include "multires.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user