Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/interface/interface_ops.c')
-rw-r--r--source/blender/editors/interface/interface_ops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index 643397b5a5c..6549042c324 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -365,7 +365,10 @@ bool UI_context_copy_to_selected_list(
/* avoid prepending 'data' to the path */
RNA_id_pointer_create(id_data, &link->ptr);
}
- id_data->flag &= ~LIB_DOIT;
+
+ if (id_data) {
+ id_data->flag &= ~LIB_DOIT;
+ }
}
}