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
AgeCommit message (Collapse)Author
2008-07-23soc-2008-mxcurioni: merged changes to revision 15705Maxime Curioni
2008-06-29Action Editor - Group drawing tweaks:Joshua Leung
* When all the action-channels for a group are hidden (i.e. their related bones are not visible), the group in question is also not drawn. This helps reduce clutter. (slikdigit funboard request) * When a group has no channels belonging to it, the expand icon/button isn't drawn for that group.
2008-06-15bugfix, simple crash in drawactionCampbell Barton
2008-05-13last commit had a typo, also adjusted teh and colour instancesCampbell Barton
2008-04-28== Action Editor - Group Colors ==Joshua Leung
Made option to show group colors the default. If this is too colourful for you, disable it in the View menu.
2008-04-28== Action Editor - Action Groups finishing touches ==Joshua Leung
* Added a new tool "Synchronise with Armature" (found under Channels->Grouping), which synchronises the grouping of action-channels and the grouping of their relevant bones. This only works when the active object is an armature, and the action isn't pinned. All of the action's action-channels are removed from their groups, and are added back into groups according to the current grouping of their corresponding bones. A bit of testing for weird cases is needed. * Group colours are now not drawn if the group originally was using the 'default' colour-set.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-04-16== Action Editor - Group Colours for Channels ==Joshua Leung
It is now possible for Action Channels to be displayed using the colour of its group. The colour for an Action Group is only set when it is auto-created by keyframing (controls to tweak this may/may-not be added, time permitting). To enable the display of these colours, the View -> 'Use Group Colors' must be enabled. However, this is disabled by default.
2008-03-20* Bugfix #8599a:Joshua Leung
Deleting the first Action Channel in an Action Group acted odd. In some cases it crashed, other times it corrupted stuff (removing all subsequent Action Channels). Was missing a call to remove the Action Channel from group(s). * Fixed whitespace in many places...
2008-03-17Bugfix: keyframes of hidden actions in action groups were stillBrecht Van Lommel
drawing in the group row.
2008-03-02Bugfix:Joshua Leung
Disabled fully OpenGl-based drawing of keyframes in the Action Editor. This was apparently causing problems on some Intel cards...
2008-02-17== Action Editor Drawing - Optimisation Attempt ==Joshua Leung
Another attempt at further optimising Action Editor drawing without doing any drastic changes.
2008-02-07== Action Editor - Bugfixes ==Joshua Leung
* With "AfterTrans Delete Duplicates" and NLA-scaling on, IPO-curve handles were not updated after the operation. * Sliders drew in the wrong places. Now they are drawn using the Action-Editor api stuff, so they should appear in the right places. I've also tweaked this so that sliders are now shown for ANY selected action channel's ipo-channels and constraint-channels, provided that the channel is in view.
2008-02-06Bugfixes:Joshua Leung
* Action Editor "Open/Close Level" now works with Action Groups. Groups have priority over Action Channels for collapsing/expanding. * Custom bone shapes using the new 'wire' option, were drawing with the wrong wireframe colour at times (i.e. when out of posemode, this happened quite often). * Fixed/added a few comments in various places
2008-02-06== Action Editor - Drawing Optimisation ==Joshua Leung
Keyframes are now drawn as GL_QUADS instead of using icons. The visual difference is slight, even though the new ones are slightly larger and have no fancy '3D-effects' (such as bevelling). However, they now seem to draw faster.
2008-02-032 Tweaks:Joshua Leung
* Action Editor now doesn't draw channels which are out of view at all, which should help to provide (some minimal) improvements in some situations * Typo in comment in constraints code
2008-02-01Action Editor Bugs/Regressions:Joshua Leung
* Insert Key and Column Select should be working again * Last channel in group's keyframes now appear in summary too
2008-01-30Bugfix for Action Editor Optimisations:Joshua Leung
Horizontal keyframe filtering is now optional per editor (off by default). This option may be removed in future, but currently it's there so that users can use it at their own risk. Apparently this has been causing people grief.
2008-01-29Bugfix for Action Editor keys clipping: Joshua Leung
Keyframes in the NLA Editor could mysteriously disappear sometimes when manipulating the view in the NLA-editor, when an Action Editor was open beside it.
2008-01-27== Action Editor Drawing - Optimisations (Part 2 out of ?) ==Joshua Leung
Keyframes are now checked for whether they are visible or not before they are prepared for drawing. This should provide some improvements for large data-sets... In general there don't appear to be any major issues, although in a few situations, long-keyframes may end up appearing/disappearing.
2008-01-26== Action Editor Drawing - Optimisations (Part 1 out of ?) ==Joshua Leung
Now the Action Editor doesn't bother drawing channels which are out of view. This should give some performance improvements when there are many channels with heaps of keyframes, as the keyframes that occur in that channel don't need to be sampled (which is a major performance bottleneck).
2008-01-20== Bone Groups ==Joshua Leung
I'm committing some work-in-progress code for "bone groups" now, as I there have been are some major bugs caused by the timeoffset stuff (some of my test files were not loading, and other files were showing all sorts of weird problems). Anyway, in this commit, the following things for "bone groups" have been done: * Bone groups are stored per armature (internally, this is per bPose block) * Added controls for editing bone-groups per armature - "add", "remove", "rename". These can be found in the "Links and Materials" panel in PoseMode, beside the settings for PoseLib. * Reorganised buttons for editing selected bones in PoseMode. I've replaced the "dist" and "weight" buttons (they existed in EditMode anyway) with a menu to choose the bone-group and the custom-shape-ob field. In the place of the old custom-shape-ob field, I've restored the "Hide" button. This might break muscle-memory a bit, but there isn't a lot of space to play with there. Some stuff I'd been originally planning to do before committing: * When adding keyframes for bones, an action-group with the same name as the bone's group will be added to the action, and the action-channel will be made a member of that. * New action/bone groups have unique names (renaming/adding new should check if name exists before assigning it) * There's a setting under Bone-Groups stuff which sets which custom-colour set is used to colour that group's bones. Currently, this is non-functional, as the necessary drawing code for armatures is not in place yet.
2008-01-19add the option to add the parents time offset value.Campbell Barton
2008-01-18== Action-Groups - Drawing Tweak ==Joshua Leung
Now action-group channels are drawn with a green-ish strip background instead of the usual colours to help distinguish them from other channels, making it easier to identify them.
2008-01-18== Action Editor - Groups for Action Channels (Peach Request) ==Joshua Leung
Now, you can assign Action Channels to named (folder-like) groups, which help to organise the channels (important for more complex rigs). These are collapsible, can be "protected", and show a "summary" of the keyframes in the channels the Group contains. They are drawn as bright-green (active) or a darker shade of green (not active) channels. * Each Action has its own set of Groups. * An Action-Channel can only occur in one Group at a time. It can also not occur in any group. * Action-Channels can be moved between Groups * Groups + grouped-channels always occur BEFORE un-grouped channels Important Hotkeys: * Shift-G : Adds the selected Action-Channels to the Active Group. This will create a new group if need be * Ctrl-Shift-G : Always adds a new group, and adds the selected Action-Channels to it * Alt-G : Removes selected Action-Channels from their groups * Ctrl-Shift-Alt-G : (Note: this will be removed soon) This is a simple debugging-hotkey I added, which just prints a list of the groups, channels, and their addresses... * NKey / Ctrl-LMB: While hovering over the name of a group, this shows a popup like for other channels, which allows the editing of the channel's name, etc. Assorted Notes: * Some tools may not work yet with this (Ctrl Numpad+/- for example) * Fixed some bugs in various places in Action Editor code * Added theme colours for group channels * The nomenclature of these tools may change in future when a better alternative is found * The ability to auto-assign action-channels to groups when they are keyframed will be coming up shortly
2007-12-30== PoseLib - Overhauled Implementation ==Joshua Leung
Based on feedback from Ton, I've recoded the way "PoseLibs" are implemented/exposed. Therefore, quite a bit of code has been changed to fit this in better. Now, ANY ACTION can be a "PoseLib". A set of Markers which belong to the Action (it's taken a year, but they're finally back), are used to tag "poses" in the Action. These markers are shown using diamond-shaped blue icons (designed by Matt Ebb) in three shades - unselected/normal, selected, active. Notes: * Each Armature Object has an Action which acts as a PoseLib. * Improved UI presented in buttons panel for this -- added proper buttons for action assigning -- renamed "Validate PoseLib" to "Auto-Sync PoseLib" (this option auto-tags poses based on keyframes found) Like in the 3d-view, use the hotkeys: * Shift-L to add a local marker * Ctrl-Shift-L to rename a local marker * Alt-L to delete selected local markers Note: transforms, etc. are not currently available with these markers == PoseLib Preview == Added a few features here: * Left/Right-Arrow keys now change the poses too (previous and next respectively) * Up/Down-Arrow keys also change the poses, but "jump" to a pose 5 steps away in their respective directions
2007-12-20== Action Editor - Show Hidden Channels ==Joshua Leung
This option (found in the View menu) shows all Action Channels, regardless of whether the data they represent is visible or not. It's better than having to have multiple pinned Action Editors open to be able to move all keyframes of all bones at once (when blocking for example). Also, fixed some compile errors caused by previous commit...
2007-12-19== Action Editor - Long Keyframes ==Joshua Leung
Now Long-Keyframes in the Action Editor (yellow/pink strips between keyframes) take into account whether the keyframe handles which help control the interpolation between the two keyframes stay at the same value as the keyframes do. This way, long keyframes are not drawn when the keys have the same value, but there's still movement between them.
2007-12-02== Bone Path Drawing - More Tweaks Again ==Joshua Leung
Bugfixes: * "Clear Paths" change from last commit wasn't complete yet. Now it REALLY only clears the paths of the selected bones * Button layout in "Armature Visualisation" panel has been reorganised a bit to better present the options (clearer separation between Display and Calculation buttons) New Stuff (Yay!): * Paths of active bones now draw more visibly than those of unselected bones. This makes it easier to identify the path that is taken by the bone * The part of path on the current frame is now drawn in green (the same shade that is used for the current-frame line in the Animation Editors). This nicely blends between the black and blue parts of the path (before and after current frame, respectively), and looks much nicer. * The colour of the current-frame marker in the Animation Editors and the 3D-View, are now theme-colours. This is needed to make the previous option work.
2007-10-17SequencerCampbell Barton
- Draw a verticle line for markers - Added an option to transform selected markers in the sequencer - useful for Extending time
2007-10-02Action Editor - Sliders Bugfix:Joshua Leung
The Action Editor slider callbacks were missing depsgraph update calls, so the 3d-view wasn't correctly updated after using to sliders to add keyframes
2007-09-18A user submitted a BVH file that took a long time to import (I didnt end up ↵Campbell Barton
finishing since it was so slow) this is mainly because adding pose keyframes recalculates every handle so importing became increasingly slow. added a 'fast' argument to insertkey that python api's insertPoseKey can make use of since it alredy accepts a 'fast' option. The ~4450 frame, 31 bone BVH imports in ~108sec now Seperated editmode switch statement in space.c's event handling, if editmode is disabled, or the images is a render or composite, UV editing operations are ignored. In previous releases it has given an annoying warning if selecting or scaling is attempted when out of UV/Face mode.
2007-09-17== Action Editor - Copy and Paste Tools ==Joshua Leung
Now it is possible to do Copy+Paste in the Action Editor, like in the IPO Editor. There are two new buttons in the Action Editor header for this, using the familiar icons. * To copy... Select the keyframes you wish to copy, and the channels that they occur in (except for ShapeKey mode, where it is not possible to select channels). Click copy button. * To paste... Place the current frame where you want the first of the keyframes from the buffer is to be pasted. Select all channels you wish the keyframes to be pasted into. Click paste button. Currently, keyframes are only pasted into 'compatible' curves (i.e. LocX keyframes can only go to LocX, and so on). This may change after user feedback, if this is found to be too restrictive. == Code Changes == I've made a few changes which allow this code to be nicer. * renamed insert_vert_ipo to insert_vert_icu, as that represents its actual purpose better (and changed all occurrences I could find) * created a new function, insert_bezt_icu, which does the actual inserting of provided BezTriple data to a given IpoCurve * recoded insert_vert_icu to use this new function, and also the IPO-Editor keyframe pasting (i.e. pasting in Editmode)
2007-08-22Minor Code Cleanup (ShapeKeys):Joshua Leung
Added a new API method for ShapeKeys, which is useful for finding a certain KeyBlock from a Key.
2007-08-15== Action Editor Bugfixes (BugReport #7049) ==Joshua Leung
This commit fixes several issues related to using the Action Editor with Shapekeys. I've known about most of them for a while, so now's the time to fix that. 1) When the shapekey anim data for an object comes from an Action (key's IPO block is linked to the "Shape" action-channel), the names of the individual shapekeys is now shown. They will only do so if the Action Editor is not pinned though. 2) Slider limits for the case described above should now be sane again 3) "Add New" option from the popup menu in the Action Editor header will now convert shapekey animation data from IPO to Action if the action editor is displaying Shapekey data at the time. Many users have often found the old way of having to toggle the "running man" in the IPO-editor header, too clumsy and confusing.
2007-07-23== Action Editor - Bugfixes ==Joshua Leung
* It is now possible to work on keyframe data/scrub the timeline when the Action Editor is squished up so that the left-hand panel disappears. * I'm not sure whether I've eliminated a bug with long-keyframes where sometimes the selection status was show incorrectly (keyframe after keyframe marking end of long-keyframe is selected, results in long-keyframe selection). * Changed a few obscure comments
2007-07-06== Action Editor Bugfixes ==Joshua Leung
Resolved Issues: * My drawing cleanup commit the other day broke shapekey keyframe selection - was using wrong filter for Action Editor data * Removed the old hack to limit vertical scrolling so that shapekeys were visible. It wasn't really needed anymore, and was causing problems with HomeKey. Unresolved Issues: * Vertical placement of sliders is slightly off * In a test file I obtained, shapekey sliders don't work immediately after the file is loaded.
2007-07-03== Action/IPO Mute Icons ==Joshua Leung
Added new defines for the icons used to show this, on the request of Matt Ebb. For now, the eye icons have simply been duplicated to the new spaces, but 'more descriptive' icons should be made.
2007-07-02== Action Editor ==Joshua Leung
Some cleanups of the Action Editor drawing methods. These now make use of the filtering stuff I added for the backend cleanup. Unfortuantely I still cannot get Blender's ui widgets to really work properly, so that toggle icons can have tooltips. There were some severe scaling issues.
2007-06-26== Action/IPO Editors - Code Cleanup ==Joshua Leung
Added two macros which are used to test if the active Action/IPO editor is displaying data from a scaled NLA-strip.
2007-06-22== IPO Muting ==Joshua Leung
It is now possible to temporarily 'mute' and IPO-block or IPO-curve. This functionality has been requested by the Plumiferos team, and is based off Patch #6866 by Juho Vepsäläinen (bebraw). Usage: * In the IPO Editor header, there is a toggle button (open/closed eye used for Outliner Visibility restriction) beside the IPO-blocktype menu, when there is an active IPO-block in the IPO Editor. * In the Action Editor, beside the 'lock' icon for channel protection on Action/Constraint channels, there is the open/closed 'eye' that can be toggled to set the mute status of said channel's IPO-block. * Also in the Action Editor, you can mute individual IPO-curve channels in a similar manner.
2007-06-19== Action Editor - Long Keyframes ==Joshua Leung
I've recoded the way long keyframes work a bit, so that more cases are handled accurately. Now, it takes into account the number of IPO-curves that have keyframes in them on the start/end frame of the long-keyframe, instead of just taking the total number of IPO-curves present for the channel being drawn.
2007-06-05== Action Editor - Major Recode ==Joshua Leung
I've just spent two days rewriting the Action Editor to unify its code and bring it under control again (it was 107kb, now it is around 73 kb). * This means that there are no longer separate functions for each tool for Actions and Shapekeys in the Action Editor, and also no more missing tools for either. * Also, I've gotten rid of the need for those complicated, hierarchial loops used for action channels, as they were a pain to keep consistent with each other. * Baking functions have been removed. See user-level-changes for more details. * Reorganised and completely rewrote code in editaction.c, thus the lengthy diff. User Level Changes: * For the meantime, border-selecting Action Channels has been disabled * Baking functions have been removed. As far as I have been able to find out, these were really non-functional anyway. Besides, I don't think they really belonged in editaction.c * Editing Shapekey keyframes now yields the same feature set as for those in Action Channels. * There shouldn't be any major bugs left, but I might have missed something. Further Work: * Do a cleanup like this to the Action Editor drawing code in drawaction.c * Baking??? (harkyman seems to be doing something about this)
2007-05-23== Action Editor ==Joshua Leung
Now Action/IPO-Curve/Constraint Channels draw so that they open downwards. The only noticeable differences are that when expanding/collapsing channels, all the channels above won't get shunted out of the way again. Also, on loading some older files, all the channels may be out of view (TODO: make version patch for this...)
2007-05-17== Action Editor ==Joshua Leung
Hiding bones in the 3d-view with the (HKEY) now hides the corresponding Action Channels too.
2007-05-07== Action Editor - Bugfix #6660 ==Joshua Leung
When trying to expand the IPO-curves for Shapekey Action Channels, Blender crashed due to that being a previously un-handled case. For some reason, the names of IPO curve channels are still not drawing on some machines. I've also disabled the display of shapekey channels when there is an action as the two used to overlap and muck up the drawing matrices of each other.
2007-05-05Quite a few bugfixes:Joshua Leung
* Constraint sliders in Action Editor didn't update buttons window * Homekey in IPO Editor didn't respect scaling. * With Preview Range set, using the SKEY and EKEY hotkeys in the Timeline to change the extents of it, resulted to the NLA editor not being refreshed. (Note: I haven't actually seen this happening) * Keyframing options 'Avail' and 'Needed' didn't work for Objects when they had an ObAction. The problem was that the code assumed that the object had an ipo-block associated with it, but that is not the case when you have an Object Action for that object.
2007-05-04Hopefullly this commit shall resolve the issues drawing issues I saw with ↵Joshua Leung
the Action Editor IPO-Curve channel names on a computer with an Intel G965 Express graphics card.
2007-04-25== Action Editor ==Joshua Leung
In the Action Editor, sliders are now drawn beside IPO-Curve and Constraint Channels and for the active Action Channel when the 'Show Sliders' option in the View menu is turned on. This behaves like for shapekeys. You can change the limits of the sliders by either Ctrl-Clicking or NKEY over the name of the relevant IPO-Curve channel. Also, documented the IPO-curve struct a bit. There are a few variables there that I'm not sure what they are used for.
2007-04-13== Action Editor - Individual IPO-Curves Now Shown ==Joshua Leung
Continuing on from my previous 'Expandable/Collapsable Action Channel' commit, this commit introduces the ability to show/hide the keyframes in each ipo-curve represented by an Action Channel. When you expand an Action-Channel by clicking on the triangle beside its name, you will now be presented with options to show/hide the ipo-curves represented by the Action-Channel, and/or the Constraint Channels belonging to that Action-Channel. Actual ipo-curves will not be drawn in the Action-Editor, but the keyframes will be shown. Screenshot: * http://wiki.blender.org/index.php/Image:244_ActionEditor_SubTracks_01.png Possibly Coming Soon/Further Work: * 'Protection' options for ipo-curves (currently disabled in code, as all IPO-related tools will need to be made aware of this) * Sliders for IPO-Curve Channels of the active Action-Channel