]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/funchandlers.cpp
fixed bug 1102 - gcc 4.1.1 error
[xonotic/netradiant.git] / contrib / bobtoolz / funchandlers.cpp
index c83d2ae0a0341b50b31a0b78e84e467ed2e361d7..a429b78d2655e2a1ce4b2389b21d8ff2373b21f9 100644 (file)
@@ -39,8 +39,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #include "DShape.h"
 
 // for autocaulk
-list<Str> exclusionList;               // whole brush exclusion
-list<Str> exclusionList_Face;  // single face exclusion
+std::list<Str> exclusionList;          // whole brush exclusion
+std::list<Str> exclusionList_Face;     // single face exclusion
 
 BOOL el1Loaded;
 BOOL el2Loaded;
@@ -309,6 +309,8 @@ void FixBrushes()
 
 void AutoCaulk()
 {
+  UndoableCommand undo("bobToolz.autoCaulk");
+
        if(!el1Loaded)
                autocaulkDlg.m_Warning1 = "WARNING: Brush exclusion list not found\n, ALL BRUSHES WILL BE USED";