From 0e08c2f765f5dc37d22eb626af04abb6d5ea442c Mon Sep 17 00:00:00 2001 From: timo Date: Fri, 8 Jan 2010 04:01:08 +0000 Subject: [PATCH] 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 --- radiant/undo.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; + } } } -- 2.39.2