Fix T62808: Hair shape cut crash

Reviewers: sergey

Differential Revision: https://developer.blender.org/D4565
This commit is contained in:
Jacques Lucke 2019-03-21 12:38:07 +01:00
parent fbceac9708
commit 75b14db6a9
Notes: blender-bot 2023-02-14 07:08:26 +01:00
Referenced by issue #62808, Hair Shape Cut Crash in 2.8
1 changed files with 1 additions and 0 deletions

View File

@ -431,6 +431,7 @@ static void PE_set_data(bContext *C, PEData *data)
{
memset(data, 0, sizeof(*data));
data->context = C;
data->bmain = CTX_data_main(C);
data->scene = CTX_data_scene(C);
data->view_layer = CTX_data_view_layer(C);