]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/map.cpp
allow changing the "Alternate texture projection" mode at runtime (requires Map_New...
[xonotic/netradiant.git] / radiant / map.cpp
index 3e5e8128ab1d978d03a0f25a80dd6dfc13946cde..0e401ea41d98ba5bbbc3be6c910f5c5abfab2680 100644 (file)
@@ -83,6 +83,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include "mru.h"
 #include "commands.h"
 #include "autosave.h"
+#include "brushmodule.h"
 
 class NameObserver
 {
@@ -463,6 +464,7 @@ void Map_Free()
   FlushReferences();
 
   g_currentMap = 0;
+  Brush_unlatchPreferences();
 }
 
 class EntityFindByClassname : public scene::Graph::Walker