]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/brushmanip.cpp
Introduce Property<T> to simplify preferences system
[xonotic/netradiant.git] / radiant / brushmanip.cpp
index 0e190e6c9c8f83db72e1258b6ec8d51b962ffe92..abee96d0eaa56b9bd949d0bcb1dcca93596e385c 100644 (file)
@@ -1202,7 +1202,7 @@ void FlipClipper(){
 
 
 Callback<void()> g_texture_lock_status_changed;
-BoolExportCaller g_texdef_movelock_caller( g_brush_texturelock_enabled );
+ConstReferenceCaller<bool, void(const Callback<void(bool)> &), PropertyImpl<bool>::Export> g_texdef_movelock_caller( g_brush_texturelock_enabled );
 ToggleItem g_texdef_movelock_item( g_texdef_movelock_caller );
 
 void Texdef_ToggleMoveLock(){