This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/blenkernel/SConscript
Daniel Dunbar 1df154d140 - split {curve,lattice,armature}_deform_verts out of mesh_deform
- removed mesh_deform (merge into mesh_modifier)
 - switch python lattice_apply function to use object_apply_deform,
   this isn't exactly equivalent but the python system shouldn't
   have been calling that deep into the kernel anyway.

New feature: Modifier stack
 - added Object.modifiers (list of ModifierData elements)
 - added DNA_modifier_types.h
     o contains type definition for the file data for the various
       modifier types
 - added BKE_modifier.h
     o contains modifierType_get_info (access to modifier type registry)
     o structs and defines for runtime modifier usage
 - updated mesh_calc_modifiers to evaluate modifier stack (note that
   for the time being it also evaluates the old style modifiers so files
   should load and work as normal).
 - add file handling modifier code (todo: don't replicate on object copy)
 - add modifier stack UI code (lives in object panel)


Only real new feature at the moment is that you can apply lattices and
curves *after* a subdivision surface which was never possible before.

Todo:
 - DEP graph updating does not work correctly yet, so you generally have
   to tab cycle to see results.
 - editmode calculation does not use modifier stack.
 - bug fixes (there must be a few in there somewhere)
2005-07-19 20:14:17 +00:00

72 lines
2.5 KiB
Python

#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
blenkernel_env = library_env.Copy ()
source_files = ['intern/constraint.c',
'intern/depsgraph.c',
'intern/DerivedMesh.c',
'intern/group.c',
'intern/material.c',
'intern/sca.c',
'intern/world.c',
'intern/curve.c',
'intern/mball.c',
'intern/scene.c',
'intern/writeavi.c',
'intern/action.c',
'intern/deform.c',
'intern/image.c',
'intern/mesh.c',
'intern/modifier.c',
'intern/screen.c',
'intern/anim.c',
'intern/displist.c',
'intern/ipo.c',
'intern/nla.c',
'intern/sound.c',
'intern/armature.c',
'intern/effect.c',
'intern/key.c',
'intern/object.c',
'intern/CCGSubSurf.c',
'intern/subsurf_ccg.c',
'intern/blender.c',
'intern/exotic.c',
'intern/lattice.c',
'intern/packedFile.c',
'intern/text.c',
'intern/script.c',
'intern/bmfont.c',
'intern/font.c',
'intern/library.c',
'intern/property.c',
'intern/softbody.c',
'intern/texture.c']
blenkernel_env.Append (CPPPATH = ['.',
'#/intern/guardedalloc',
'../include',
'../blenlib',
'../makesdna',
'../python',
'../render/extern/include',
'../imbuf',
'../avi',
'#/intern/iksolver/extern',
'../blenloader'])
if user_options_dict['USE_INTERNATIONAL'] == 1:
blenkernel_env.Append (CPPDEFINES = 'WITH_FREETYPE2')
#fixme: if user_options_dict['USE_CCGSUBSURFLIB'] == 1:
# blenkernel_env.Append (CPPDEFINES = 'WITH_CCGSUBSURF')
blenkernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_blenkernel', source=source_files)
SConscript(['bad_level_call_stubs/SConscript'])
blenkernel_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE'])