From: Thomas Debesse Date: Mon, 25 May 2020 11:49:02 +0000 (+0200) Subject: Merge commit 'b017c473e86330d5908858b8add1b16674b0a1a8' into garux-merge X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=b85323ca88049904b00b284044ea1f048cc0d447 Merge commit 'b017c473e86330d5908858b8add1b16674b0a1a8' into garux-merge --- b85323ca88049904b00b284044ea1f048cc0d447 diff --cc radiant/patchmanip.cpp index 2fbc322c,7ca446c1..ca984ef6 --- a/radiant/patchmanip.cpp +++ b/radiant/patchmanip.cpp @@@ -664,6 -720,9 +664,8 @@@ void Patch_Thicken() DoPatchThickenDlg(); } + + - #include "ifilter.h" @@@ -819,14 -874,14 +821,14 @@@ void Patch_constructMenu( ui::Menu men if ( g_Layout_enableDetachableMenus.m_value ) { menu_tearoff( menu_in_menu ); } - create_menu_item_with_mnemonic( menu_in_menu, "Insert (2) Columns", "PatchInsertInsertColumn" ); create_menu_item_with_mnemonic( menu_in_menu, "Add (2) Columns", "PatchInsertAddColumn" ); + create_menu_item_with_mnemonic( menu_in_menu, "Insert (2) Columns", "PatchInsertInsertColumn" ); menu_separator( menu_in_menu ); - create_menu_item_with_mnemonic( menu_in_menu, "Insert (2) Rows", "PatchInsertInsertRow" ); create_menu_item_with_mnemonic( menu_in_menu, "Add (2) Rows", "PatchInsertAddRow" ); + create_menu_item_with_mnemonic( menu_in_menu, "Insert (2) Rows", "PatchInsertInsertRow" ); } { - GtkMenu* menu_in_menu = create_sub_menu_with_mnemonic( menu, "Delete" ); + auto menu_in_menu = create_sub_menu_with_mnemonic( menu, "Delete" ); if ( g_Layout_enableDetachableMenus.m_value ) { menu_tearoff( menu_in_menu ); } diff --cc radiant/patchmanip.h index 512a3f95,d6d8764c..773ceb96 --- a/radiant/patchmanip.h +++ b/radiant/patchmanip.h @@@ -50,14 -51,13 +50,21 @@@ void PatchPreferences_construct() void Patch_registerPreferencesPage(); +void Patch_NaturalTexture(); +void Patch_CapTexture(); +void Patch_ResetTexture(); +void Patch_FitTexture(); +void Patch_FlipTextureX(); +void Patch_FlipTextureY(); +void Patch_AutoCapTexture(); + + void Patch_NaturalTexture(); + void Patch_CapTexture(); + void Patch_ResetTexture(); + void Patch_FitTexture(); + void Patch_FlipTextureX(); + void Patch_FlipTextureY(); + class PatchCreator; extern PatchCreator* g_patchCreator; diff --cc setup/data/tools/global.xlink index 4b6d0343,1e16121f..9bf44a65 --- a/setup/data/tools/global.xlink +++ b/setup/data/tools/global.xlink @@@ -1,7 -1,17 +1,8 @@@ - - - - - - - - - - - + + + + -