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>2009-01-01 03:18:23 +0300
committerJoshua Leung <aligorith@gmail.com>2009-01-01 03:18:23 +0300
commitc2de1373d1c61815e3030f88c196e6c42cb1c5fc (patch)
treea5947fea741d57578066e3e7623bfccd67638b3e /source/blender/editors/space_action/action_ops.c
parentea42e70cb98713571704b2a48fd88cffc7bcbfb8 (diff)
2.5:
First commit for 2009! Started of porting of Animation Editor Channels stuff. This code will be used for both the Action and IPO editors, so any existing code involving this has now been moved to the Animation module. * Added mouse-click operator for this channels view. Note: the selection stuff currently uses temporary toggling code only (i.e. it only toggles the selection of the channels in the editor, but does not update status of rest of database). * Fixed bugs in View2D listview functions. Reduced the amount of code needed, and makes the code here simpler. * Renamed action_edit_keyframes.c to action_edit.c, since channels are not handled there anymore. * Dopesheet now refreshes correctly when object selection elsewhere changes.
Diffstat (limited to 'source/blender/editors/space_action/action_ops.c')
-rw-r--r--source/blender/editors/space_action/action_ops.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/action_ops.c b/source/blender/editors/space_action/action_ops.c
index b9c3b711da5..b68cd145e1c 100644
--- a/source/blender/editors/space_action/action_ops.c
+++ b/source/blender/editors/space_action/action_ops.c
@@ -61,8 +61,6 @@
void action_operatortypes(void)
{
- /* channels */
-
/* keyframes */
/* selection */
WM_operatortype_append(ACT_OT_keyframes_clickselect);
@@ -145,7 +143,10 @@ void action_keymap(wmWindowManager *wm)
ListBase *keymap;
/* channels */
- keymap= WM_keymap_listbase(wm, "Action_Channels", SPACE_ACTION, 0);
+ /* Channels are not directly handled by the Action Editor module, but are inherited from the Animation module.
+ * All the relevant operations, keymaps, drawing, etc. can therefore all be found in that module instead, as these
+ * are all used for the IPO-Editor too.
+ */
/* keyframes */
keymap= WM_keymap_listbase(wm, "Action_Keys", SPACE_ACTION, 0);