diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-05 16:52:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-09 15:26:42 +0300 |
commit | 322c03f13cb5a756902f310c2a34cf78825fe02d (patch) | |
tree | c57f59635742304b7e6f6f0d0f28c3a01f2c2d2a /source/blender/freestyle/intern/blender_interface | |
parent | 103d29e2b2c0053436d0cef649ee9c6a24b2cba8 (diff) |
Move callbacks API from BLI to BKE
Preparing for the bigger changes which will be related on passing
dependency graph to various callbacks which need it.
Differential Revision: https://developer.blender.org/D5725
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp index 4552ce849f2..9fee340e62e 100644 --- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp +++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp @@ -42,6 +42,7 @@ extern "C" { #include "DNA_material_types.h" #include "DNA_text_types.h" +#include "BKE_callbacks.h" #include "BKE_context.h" #include "BKE_freestyle.h" #include "BKE_global.h" @@ -55,7 +56,6 @@ extern "C" { #include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_math_color_blend.h" -#include "BLI_callbacks.h" #include "BPY_extern.h" @@ -111,7 +111,7 @@ void FRS_initialize() g_freestyle.scene = NULL; lineset_copied = false; - BLI_callback_add(&load_post_callback_funcstore, BLI_CB_EVT_LOAD_POST); + BKE_callback_add(&load_post_callback_funcstore, BKE_CB_EVT_LOAD_POST); freestyle_is_initialized = 1; } |