Cleanup: use `nullptr` instead of `NULL` in C++ code.
This commit is contained in:
parent
45f167237f
commit
c63fb657c8
|
@ -474,7 +474,7 @@ static int asset_catalog_undo_exec(bContext *C, wmOperator * /*op*/)
|
|||
}
|
||||
|
||||
catalog_service->undo();
|
||||
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, NULL);
|
||||
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
|
@ -504,7 +504,7 @@ static int asset_catalog_redo_exec(bContext *C, wmOperator * /*op*/)
|
|||
}
|
||||
|
||||
catalog_service->redo();
|
||||
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, NULL);
|
||||
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue