mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
fix undo bug with entities (lights) - Markus Fischer
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@332 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
48d505dff5
commit
514d4d9d10
1 changed files with 4 additions and 0 deletions
|
@ -506,6 +506,10 @@ void Undo_EndBrushList(brush_t *brushlist)
|
||||||
for (brush_t* pBrush = brushlist->next; pBrush != NULL && pBrush != brushlist; pBrush=pBrush->next)
|
for (brush_t* pBrush = brushlist->next; pBrush != NULL && pBrush != brushlist; pBrush=pBrush->next)
|
||||||
{
|
{
|
||||||
pBrush->undoId = g_lastundo->id;
|
pBrush->undoId = g_lastundo->id;
|
||||||
|
// http://github.com/mfn/GtkRadiant/commit/ee1ef98536470d5680bd9bfecc5b5c9a62ffe9ab
|
||||||
|
if ( pBrush->owner->eclass->fixedsize == 1 ) {
|
||||||
|
pBrush->owner->undoId = pBrush->undoId;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue