Fix #120461: Outliner: Clicking Collection icon does not switch Properties tab
This is due to missing case for layer collection in `outliner_set_properties_tab` Pull Request: https://projects.blender.org/blender/blender/pulls/120464
This commit is contained in:
committed by
Pratik Borhade
parent
483802b62d
commit
341af348d9
@@ -1403,6 +1403,10 @@ static void outliner_set_properties_tab(bContext *C, TreeElement *te, TreeStoreE
|
||||
ptr = RNA_pointer_create(tselem->id, &RNA_BoneCollection, te->directdata);
|
||||
context = BCONTEXT_DATA;
|
||||
break;
|
||||
case TSE_LAYER_COLLECTION:
|
||||
ptr = RNA_pointer_create(tselem->id, &RNA_Collection, te->directdata);
|
||||
context = BCONTEXT_COLLECTION;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user