X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fselect.cpp;h=8447897a4ab7b3a99aaa110a7ffd4153e55c2c44;hb=b8c3c38b6593cf013c8591d142854a842c79b1a2;hp=eb2cacbd8129ea80a5d76decef17c5a6aabf248a;hpb=01a950c3de3ef7f7da23360f925404e2bd385d5d;p=xonotic%2Fnetradiant.git diff --git a/radiant/select.cpp b/radiant/select.cpp index eb2cacbd..8447897a 100644 --- a/radiant/select.cpp +++ b/radiant/select.cpp @@ -694,24 +694,6 @@ void Select_FitTexture( float horizontal, float vertical ){ SceneChangeNotify(); } -void Select_FitTextureW( float horizontal, float vertical ){ - if ( GlobalSelectionSystem().Mode() != SelectionSystem::eComponent ) { - Scene_BrushFitTexture_SelectedW( GlobalSceneGraph(), horizontal, vertical ); - } - Scene_BrushFitTexture_Component_SelectedW( GlobalSceneGraph(), horizontal, vertical ); - - SceneChangeNotify(); -} - -void Select_FitTextureH( float horizontal, float vertical ){ - if ( GlobalSelectionSystem().Mode() != SelectionSystem::eComponent ) { - Scene_BrushFitTexture_SelectedH( GlobalSceneGraph(), horizontal, vertical ); - } - Scene_BrushFitTexture_Component_SelectedH( GlobalSceneGraph(), horizontal, vertical ); - - SceneChangeNotify(); -} - inline void hide_node( scene::Node& node, bool hide ){ hide ? node.enable( scene::Node::eHidden )