Blender Git Commit Log

Git Commits -> Revision a34e2e1

Revision a34e2e1 by Joshua Leung (master)
January 26, 2009, 11:33 (GMT)
Animato/2.5 - Graph Editor (i.e. the new 'IPO Editor')

This commit brings back the drawing code for the 'Graph Editor'. I've decided to call it this, as currently it can show either F-Curves for Animation stored in Actions, or F-Curves for Drivers.

Currently, it shows all curves, since some of the necessary filtering code (i.e. for limiting curve visibility) hasn't been put in place yet. At least this serves as good proof that we can have F-Curves from multiple sources at least.

It should be noted that the code still has to be modified to work with some of the new Animato features, such as F-Curve Modifiers (cycles are an example of one of the features that use this). Also, a nicer way to set the colours of the curves needs to be investigated.

Notes:
* Fixed a few bugs in RNA User-Preferences wrapping

* The keyframe drawing uses the new-style drawing for handles from AnimSys2. There's a minor bug that sometimes occurs, where a distorted handle gets drawn at the origin of the grid on the first run. Hints anyone?

* Removed most of the old data from SpaceIpo struct, as the new code uses that. Maybe later, the directories/files at least should get renamed.

* Removed ancient hack for NVidia/TNT drivers. It is probably no longer needed, but could be restored if someone needs it.

Commit Details:

Full Hash: a34e2e1427413b6e116c99e81a58d4535e521a2b
SVN Revision: 18679
Parent Commit: bf05827
Lines Changed: +921, -487

16 Modified Paths:

/source/blender/blenkernel/BKE_fcurve.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/ipo.c (+0, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -75) (Diff)
/source/blender/editors/animation/anim_draw.c (+7, -16) (Diff)
/source/blender/editors/animation/anim_filter.c (+53, -21) (Diff)
/source/blender/editors/include/ED_anim_api.h (+4, -2) (Diff)
/source/blender/editors/interface/resources.c (+3, -0) (Diff)
/source/blender/editors/space_action/action_draw.c (+1, -0) (Diff)
/source/blender/editors/space_ipo/ipo_draw.c (+638, -287) (Diff)
/source/blender/editors/space_ipo/ipo_header.c (+28, -6) (Diff)
/source/blender/editors/space_ipo/ipo_intern.h (+9, -1) (Diff)
/source/blender/editors/space_ipo/space_ipo.c (+132, -55) (Diff)
/source/blender/makesdna/DNA_action_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+21, -18) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021