PreferencesDialog_addSettingsPage(FreeCaller1<PreferenceGroup&, Brush_constructPage>());
}
+void Brush_unlatchPreferences()
+{
+ if(g_showAlternativeTextureProjectionOption)
+ {
+ g_useAlternativeTextureProjection.useLatched();
+ globalErrorStream() << "Unlatched g_useAlternativeTextureProjection (" << g_useAlternativeTextureProjection.m_value << ")\n";
+ Brush::destroyStatic();
+ Brush::constructStatic(g_useAlternativeTextureProjection.m_value ? eBrushTypeQuake3BP : eBrushTypeQuake3);
+ }
+}
void Brush_Construct(EBrushType type)
{
#include "mru.h"
#include "commands.h"
#include "autosave.h"
+#include "brushmodule.h"
class NameObserver
{
FlushReferences();
g_currentMap = 0;
+ Brush_unlatchPreferences();
}
class EntityFindByClassname : public scene::Graph::Walker