misc...
	* regular gtk search in entity inspector -> entity class list
	* fix: entities, converted to ( targeted + having model + not loaded b4 ) ones weren't selectable normally + rendered only while 0 0 0 was visible
	* ExpandSelectionToEntities works, if only parent node is selected, too (via entity list)
	* Select & normalize color commands work for group ents, if contained primitive is selected
	* remove boolean key, if set via entity inspector checkbox to 0 (ex: light - sun checkbox: was _sun 0, if off)
This commit is contained in:
Garux
2017-08-02 09:19:53 +03:00
parent 0261afc6df
commit 2ab47003e0
3 changed files with 22 additions and 18 deletions

View 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 );