]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/mainframe.cpp
* added filter api to create new filters from within plugins
[xonotic/netradiant.git] / radiant / mainframe.cpp
index aa6ef5e7fe714ed0bad12acc53f176c89535fd80..6c2bd2b9bcdf987fb9c4b5a747e9b7d07e534fe0 100644 (file)
@@ -7474,10 +7474,14 @@ void PerformFiltering ()
 {
   brush_t *brush;
 
+  // mattn - this should be removed - otherwise the filters from the 
+  // plugins are wiped away with each update
+#if 1
   // spog - deletes old filters list and creates new one when
   // g_qeglobals.d_savedinfo.exclude is updated
   g_qeglobals.d_savedinfo.filters = FilterListDelete(g_qeglobals.d_savedinfo.filters);
   g_qeglobals.d_savedinfo.filters = FilterUpdate(g_qeglobals.d_savedinfo.filters);
+#endif
 
   for ( brush = active_brushes.next; brush != &active_brushes; brush = brush->next )
     brush->bFiltered = FilterBrush( brush );