From 968b2a8afbef552988d10df38e358d97d273dc8c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 18 Jun 2011 14:12:54 +0000 Subject: rename cmake include/libraries to conform with suggested cmake names --- source/blender/blenlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/CMakeLists.txt') diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index 0c25da325ad..c6848346220 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -137,7 +137,7 @@ set(SRC ) if(WITH_BINRELOC) - list(APPEND INC_SYS "${BINRELOC_INC}") + list(APPEND INC_SYS "${BINRELOC_INCLUDE_DIRS}") add_definitions(-DWITH_BINRELOC) endif() -- cgit v1.2.3 From 74520bd1ef6ab4264f5e6a24269f7ac3b85b4e23 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 24 Jun 2011 15:10:34 +0000 Subject: move callbacks file out of intern (only contains 1 function but re-using it for new callback api) --- source/blender/blenlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/CMakeLists.txt') diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index c6848346220..8964d02199f 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -89,6 +89,7 @@ set(SRC BLI_blenlib.h BLI_boxpack2d.h BLI_bpath.h + BLI_callbacks.h BLI_cpu.h BLI_dlrbTree.h BLI_dynlib.h @@ -132,7 +133,6 @@ set(SRC BLI_voxel.h BLI_winstuff.h PIL_time.h - intern/BLI_callbacks.h intern/dynamiclist.h ) -- cgit v1.2.3 From 12e02fd4746308746e2f9e316a3b5e8bcd5f2896 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 24 Jun 2011 16:54:30 +0000 Subject: own patch [#27752] Python Callback (Scriptlink functionality) Python: * adds bpy.app.handlers which contains lists, each for an event type: render_pre, render_post, load_pre, load_post, save_pre, save_post * each list item needs to be a callable object which takes 1 argument (the ID). * callbacks are cleared on file load. Example: def MyFunc(scene): print("Callback:", data) bpy.app.handlers.render_post.append(MyFunc) C: * This patch adds a generic C callback api which is currently only used by python. * Unlike python callbacks these are not cleared on file load. --- source/blender/blenlib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib/CMakeLists.txt') diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index 8964d02199f..2e05ac7892b 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -52,6 +52,7 @@ set(SRC intern/DLRB_tree.c intern/boxpack2d.c intern/bpath.c + intern/callbacks.c intern/cpu.c intern/dynlib.c intern/edgehash.c -- cgit v1.2.3