Fix #128099: Outliner isolate collection tweaks linked data
Mistake in e494a44024
Even though collection/object PointerRNA argument is same in most cases,
use `layer_or_collection_prop` in if() before assigning value to
collection property (`base_or_object_prop`argument value is null in function
call from `_isolate_flag()`).
Pull Request: https://projects.blender.org/blender/blender/pulls/129250
This commit is contained in:
committed by
Pratik Borhade
parent
32c76ee768
commit
4e907829d3
@@ -378,7 +378,7 @@ static void outliner_collection_set_flag_recursive(Scene *scene,
|
||||
}
|
||||
PointerRNA ptr;
|
||||
outliner_layer_or_collection_pointer_create(scene, layer_collection, collection, &ptr);
|
||||
if (base_or_object_prop && !RNA_property_editable(&ptr, base_or_object_prop)) {
|
||||
if (layer_or_collection_prop && !RNA_property_editable(&ptr, layer_or_collection_prop)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user