Missing NULL check getting selected obdata

This commit is contained in:
Campbell Barton 2015-05-27 11:14:39 +10:00
parent 77f0f3c54e
commit da192fb3a7

@ -365,9 +365,12 @@ bool UI_context_copy_to_selected_list(
/* avoid prepending 'data' to the path */
RNA_id_pointer_create(id_data, &link->ptr);
}
if (id_data) {
id_data->flag &= ~LIB_DOIT;
}
}
}
*r_lb = lb;
*r_path = path;