From: timo Date: Fri, 8 Jan 2010 04:01:08 +0000 (+0000) Subject: fix undo bug with entities (lights) - Markus Fischer X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0e08c2f765f5dc37d22eb626af04abb6d5ea442c;p=xonotic%2Fnetradiant.git fix undo bug with entities (lights) - Markus Fischer git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@332 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/radiant/undo.cpp b/radiant/undo.cpp index 40bbcfb4..503c1e08 100644 --- a/radiant/undo.cpp +++ b/radiant/undo.cpp @@ -506,6 +506,10 @@ void Undo_EndBrushList(brush_t *brushlist) for (brush_t* pBrush = brushlist->next; pBrush != NULL && pBrush != brushlist; pBrush=pBrush->next) { pBrush->undoId = g_lastundo->id; + // http://github.com/mfn/GtkRadiant/commit/ee1ef98536470d5680bd9bfecc5b5c9a62ffe9ab + if ( pBrush->owner->eclass->fixedsize == 1 ) { + pBrush->owner->undoId = pBrush->undoId; + } } }