]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/patch.h
Q3map2:
[xonotic/netradiant.git] / radiant / patch.h
index 66f53ef8c8d7f5ea3cc92e342c97175f08e203f4..32f591652568e3b1fd32e770ab9176a51dfd9174 100644 (file)
@@ -1585,6 +1585,13 @@ void transformComponents( const Matrix4& matrix ){
        }
 }
 
+void invertComponentSelection(){
+       for ( PatchControlInstances::iterator i = m_ctrl_instances.begin(); i != m_ctrl_instances.end(); ++i )
+       {
+               ( *i ).m_selectable.setSelected( !( *i ).m_selectable.isSelected() );
+       }
+}
+
 
 void selectPlanes( Selector& selector, SelectionTest& test, const PlaneCallback& selectedPlaneCallback ){
        test.BeginMesh( localToWorld() );