]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/select.cpp
Radiant:
[xonotic/netradiant.git] / radiant / select.cpp
index 67986fc606cf23710db4915982c759e3750f0164..1de2c1d07d12d77031903368fa75174db1e40a0b 100644 (file)
@@ -403,7 +403,7 @@ bool pre( const scene::Path& path, scene::Instance& instance ) const {
        if ( m_depth == 2 ) { // entity depth
                // traverse and select children if any one is selected
                bool beselected = false;
-               if ( instance.childSelected() ) {
+               if ( instance.childSelected() || instance.isSelected() ) {
                        beselected = true;
                        if( path.top().get() != worldspawn ){
                                Instance_setSelected( instance, true );