From 6b8dae0874d774888374992fc3923affb451c45a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 21 Jul 2009 20:05:16 +0000 Subject: RNA * ID blocks can now get RNA properties defined from python, e.g.: bpy.types.Scene.BoolProperty(..) * RNA structs/functions/properties can now get pointers duplicated (mostly strings), since we can't point to some static string then. * Added ExtensionRNA struct to add into *Type structs for subclassing, is a bit more compact than defining the 4 variables each time. Only disadvantage is it requires including RNA in more places. --- source/blender/blenloader/CMakeLists.txt | 2 +- source/blender/blenloader/SConscript | 2 +- source/blender/blenloader/intern/Makefile | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/blenloader') diff --git a/source/blender/blenloader/CMakeLists.txt b/source/blender/blenloader/CMakeLists.txt index 1b9c5647702..7bdffdedc05 100644 --- a/source/blender/blenloader/CMakeLists.txt +++ b/source/blender/blenloader/CMakeLists.txt @@ -28,7 +28,7 @@ FILE(GLOB SRC intern/*.c) SET(INC . ../../../intern/guardedalloc ../blenlib ../blenkernel - ../makesdna ../readblenfile ../include + ../makesdna ../readblenfile ../include ../makesrna ../python ../../kernel/gen_messaging ../render/extern/include ${ZLIB_INC} diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript index 1aeb6bd9b83..19a89b7e604 100644 --- a/source/blender/blenloader/SConscript +++ b/source/blender/blenloader/SConscript @@ -5,7 +5,7 @@ sources = env.Glob('intern/*.c') incs = '. #/intern/guardedalloc ../blenlib ../blenkernel' incs += ' ../makesdna ../readblenfile ../editors/include' -incs += ' ../render/extern/include' +incs += ' ../render/extern/include ../makesrna' incs += ' ' + env['BF_ZLIB_INC'] diff --git a/source/blender/blenloader/intern/Makefile b/source/blender/blenloader/intern/Makefile index 7382dd655b2..f4690fcc066 100644 --- a/source/blender/blenloader/intern/Makefile +++ b/source/blender/blenloader/intern/Makefile @@ -54,6 +54,7 @@ CPPFLAGS += -I../../readblenfile # This mod uses the GEN, DNA, BLI and BKE modules CPPFLAGS += -I../../../kernel/gen_messaging CPPFLAGS += -I../../makesdna +CPPFLAGS += -I../../makesrna CPPFLAGS += -I../../blenlib # path to the guarded memory allocator CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include -- cgit v1.2.3