Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-07-19 15:46:37 +0400
committerJoshua Leung <aligorith@gmail.com>2007-07-19 15:46:37 +0400
commitecaafbb70c21137db1fa2cc628ce910f18ccb82a (patch)
treeceb4c438e1329ae15d66942c9d5335736a0b9bb1 /source/blender/makesdna/DNA_ipo_types.h
parent6789b8fd82059b6ee67c636cdd3115df18454edb (diff)
== SDNA - Code Comments ==
Added a few comments about various Animation-System Related structs. Hopefully, these will be helpful for people trying to get familiar with the code.
Diffstat (limited to 'source/blender/makesdna/DNA_ipo_types.h')
-rw-r--r--source/blender/makesdna/DNA_ipo_types.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_ipo_types.h b/source/blender/makesdna/DNA_ipo_types.h
index 9321dce2ca3..57f44e22334 100644
--- a/source/blender/makesdna/DNA_ipo_types.h
+++ b/source/blender/makesdna/DNA_ipo_types.h
@@ -39,17 +39,20 @@
#include "DNA_ID.h"
+/* IPO Data-Block */
typedef struct Ipo {
ID id;
- ListBase curve;
- rctf cur;
- short blocktype, showkey;
- short muteipo, pad;
+ ListBase curve; /* A list of IpoCurve structs in a linked list. */
+ rctf cur; /* Rect defining extents of keyframes? */
+
+ short blocktype, showkey; /* blocktype: self-explanatory; showkey: either 0 or 1 (show vertical yellow lines for editing) */
+ short muteipo, pad; /* muteipo: either 0 or 1 (whether ipo block is muted) */
} Ipo;
-/* sometimes used */
+/* NOTE: IpoCurve struct is defined in DNA_curve_types.h, not in here... */
+/* sometimes used */
typedef short IPO_Channel;
/* defines: are these duped or new? */