Blender Git Loki

Git Commits -> Revision 87365d8

Revision 87365d8 by Ton Roosendaal (master)
October 10, 2005, 17:42 (GMT)
Stage two of the giant animation recode project; Ipo/Action/NLA cleanup

-> Note; added 2 new c files (split editipo.c). MSVC needs upgrade.

Impatient people can check the goodies in CMS:
http://www.blender3d.org/cms/Action_and_NLA_editor.706.0.html

Most work was on trying to unwind the spaghetti for editing ipos. Too much
history and bad design got added here. Most evident changes:
- made generic 'context' for detecting which Ipo is being edited, or to
assign ipos or to retrieve ipo curves.
- made generic insertkey() for all ipo types, including actions
- shuffled a lot of code around to make things more logical. Also made
sure local functions are not exported

It is far from ready... when action/nla was added in Blender, a lot of
duplicate code was generated. That's for another time.

Now the goodies;
- made Actions to allow any Ipo type
- made NLA to define active actions, for Action window too
- corrected timing for active action, so it shows the 'real time', as
defined in NLA editor.

I did update python code, but that would require testing. Testing is
needed for this commit in general, too many changes happened on all
levels of the animation system. :)
Will keep track of all reports this evening, hopefully it doesnt break
the pre-release schedule!

Commit Details:

Full Hash: 87365d8d407d5cfddcfa48f1dc3902f7f1a3fa5b
SVN Revision: 5475
Parent Commit: ad91527
Lines Changed: +4348, -4266

2 Added Paths:

/source/blender/src/editipo_lib.c (+309, -0) (View)
/source/blender/src/editipo_mods.c (+1115, -0) (View)

24 Modified Paths:

/source/blender/src/buttons_object.c (+84, -91) (Diff)
/source/blender/src/drawaction.c (+95, -71) (Diff)
/source/blender/src/drawipo.c (+42, -13) (Diff)
/source/blender/src/drawnla.c (+190, -229) (Diff)
/source/blender/src/drawtime.c (+9, -8) (Diff)
/source/blender/src/editaction.c (+105, -186) (Diff)
/source/blender/src/editarmature.c (+1, -1) (Diff)
/source/blender/src/editconstraint.c (+22, -9) (Diff)
/source/blender/src/editipo.c (+1535, -2821) (Diff)
/source/blender/src/editkey.c (+6, -10) (Diff)
/source/blender/src/editnla.c (+417, -581) (Diff)
/source/blender/src/editobject.c (+5, -2) (Diff)
/source/blender/src/editview.c (+7, -5) (Diff)
/source/blender/src/glutil.c (+22, -0) (Diff)
/source/blender/src/headerbuttons.c (+23, -133) (Diff)
/source/blender/src/header_action.c (+17, -23) (Diff)
/source/blender/src/header_ipo.c (+282, -43) (Diff)
/source/blender/src/header_nla.c (+2, -2) (Diff)
/source/blender/src/poseobject.c (+12, -11) (Diff)
/source/blender/src/resources.c (+9, -1) (Diff)
/source/blender/src/SConscript (+3, -1) (Diff)
/source/blender/src/space.c (+2, -2) (Diff)
/source/blender/src/transform_conversions.c (+23, -23) (Diff)
/source/blender/src/usiblender.c (+11, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021