diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2009-01-04 21:16:34 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2009-01-04 21:16:34 +0300 |
commit | 9e7643aa7c25ce551bfe59905fbf56156e264824 (patch) | |
tree | 7664a0ae5f539b9d9fb7ac476c78377373a80afb /source/blender/blenloader | |
parent | 3aeb63cad2340d92c17df375bbe55629299661c0 (diff) |
2.5 / Cleanup
- remove Verse support. This will be brought back in The Future (probably jiri + me)
This means 5k lines less in blenkernel.
- fix two small errors for global cleanup, now compiles properly with FFMPEG enabled too.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/CMakeLists.txt | 6 | ||||
-rw-r--r-- | source/blender/blenloader/SConscript | 7 | ||||
-rw-r--r-- | source/blender/blenloader/intern/Makefile | 5 | ||||
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 25 |
4 files changed, 2 insertions, 41 deletions
diff --git a/source/blender/blenloader/CMakeLists.txt b/source/blender/blenloader/CMakeLists.txt index 9101536c23f..1b9c5647702 100644 --- a/source/blender/blenloader/CMakeLists.txt +++ b/source/blender/blenloader/CMakeLists.txt @@ -34,10 +34,4 @@ SET(INC ${ZLIB_INC} ) -IF(WITH_VERSE) - ADD_DEFINITIONS(-DWITH_VERSE) - SET(INC ${INC} ${VERSE_INC}) -ENDIF(WITH_VERSE) - BLENDERLIB(bf_blenloader "${SRC}" "${INC}") -#env.BlenderLib ( 'bf_blenloader', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [70, 30] ) diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript index c07170fea95..5a445ad0cfc 100644 --- a/source/blender/blenloader/SConscript +++ b/source/blender/blenloader/SConscript @@ -9,9 +9,6 @@ incs += ' ../render/extern/include' incs += ' ' + env['BF_ZLIB_INC'] -defs = '' -if env['WITH_BF_VERSE']: - defs += ' WITH_VERSE' - incs += ' ' + env['BF_VERSE_INCLUDE'] +defs = [] -env.BlenderLib ( 'bf_blenloader', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [165, 30] ) +env.BlenderLib ( 'bf_blenloader', sources, Split(incs), defs, libtype=['core','player'], priority = [165, 30] ) diff --git a/source/blender/blenloader/intern/Makefile b/source/blender/blenloader/intern/Makefile index 4f729d98d00..7382dd655b2 100644 --- a/source/blender/blenloader/intern/Makefile +++ b/source/blender/blenloader/intern/Makefile @@ -44,11 +44,6 @@ ifeq ($(OS),$(findstring $(OS), "solaris windows")) CPPFLAGS += -I$(NAN_ZLIB)/include endif -ifeq ($(WITH_VERSE), true) - CPPFLAGS += -DWITH_VERSE - CPPFLAGS += -I$(NAN_VERSE)/include -endif - # streaming write function CPPFLAGS += -I../../writestreamglue CPPFLAGS += -I../../readstreamglue diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index a34c3cc88a5..ebc6cb4dcbd 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -161,10 +161,6 @@ Any case: direct data is ALWAYS after the lib block #include "BKE_utildefines.h" // for defines #include "BKE_modifier.h" #include "BKE_idprop.h" -#ifdef WITH_VERSE -#include "BKE_verse.h" -//XXX #include "BIF_verse.h" -#endif #include "BLO_writefile.h" #include "BLO_readfile.h" @@ -918,15 +914,7 @@ static void write_objects(WriteData *wd, ListBase *idbase) while(ob) { if(ob->id.us>0 || wd->current) { /* write LibData */ -#ifdef WITH_VERSE - /* pointer at vnode stored in file have to be NULL */ - struct VNode *vnode = (VNode*)ob->vnode; - if(vnode) ob->vnode = NULL; -#endif writestruct(wd, ID_OB, "Object", 1, ob); -#ifdef WITH_VERSE - if(vnode) ob->vnode = (void*)vnode; -#endif /*Write ID Properties -- and copy this comment EXACTLY for easy finding of library blocks that implement this.*/ @@ -1204,20 +1192,7 @@ static void write_meshs(WriteData *wd, ListBase *idbase) while(mesh) { if(mesh->id.us>0 || wd->current) { /* write LibData */ -#ifdef WITH_VERSE - struct VNode *vnode = (VNode*)mesh->vnode; - if(vnode) { - /* mesh has to be created from verse geometry node*/ - //XXX create_meshdata_from_geom_node(mesh, vnode); - /* pointer at verse node can't be stored in file */ - mesh->vnode = NULL; - } -#endif - writestruct(wd, ID_ME, "Mesh", 1, mesh); -#ifdef WITH_VERSE - if(vnode) mesh->vnode = (void*)vnode; -#endif /* direct data */ if (mesh->id.properties) IDP_WriteProperty(mesh->id.properties, wd); |