* speedup for animating bones, in one scene with sintel and a dragon animated its...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 29 Dec 2009 15:40:26 +0000 (15:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 29 Dec 2009 15:40:26 +0000 (15:40 +0000)
commit5cd837a562d773cdff155ab05084af590341758d
tree20609a23f562cbf8ccf91b41af3f80240551b977
parentd5cef9a30d1febb22b760eb7d5cdac0fd628bb06
* speedup for animating bones, in one scene with sintel and a dragon animated its over 4x faster.
* utility function BLI_findstring to avoid listbase lookup loops everywhere.
  eg:
    ListBase *lb= objects= &CTX_data_main(C)->object;
    Object *ob= BLI_findstring(lb, name, offsetof(ID, name) + 2);

* made some more math functions use const's, (fix warnings I made in previous commits)
12 files changed:
source/blender/blenkernel/BKE_screen.h
source/blender/blenkernel/intern/action.c
source/blender/blenkernel/intern/library.c
source/blender/blenlib/BLI_listbase.h
source/blender/blenlib/BLI_math_vector.h
source/blender/blenlib/intern/listbase.c
source/blender/blenlib/intern/math_vector_inline.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/space_logic/logic_window.c
source/blender/makesrna/intern/rna_pose.c
source/blender/python/generic/bpy_internal_import.c
source/gameengine/Converter/KX_BlenderSceneConverter.cpp