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
2011-09-05Code cleanup: remove context from RNA update functions, only one left.Brecht Van Lommel
2011-09-02Bugfix [#28435] Key Visual transform and Parenting not workingJoshua Leung
After reviewing this code, it seems that this case can work after all. However, several things needed to be tweaked: 1) Removed check which stopped parented objects from getting the visual keying coordinates determined. This actually wasn't doing anything, given that this case would never occur as... 2) Tweaked the visualkey_can_use() function to also consider parenting as a cause for visual-keying to be necessary.
2011-09-02fix [#28460] SEGFAULT when trying to make empty display as imageCampbell Barton
2011-08-30fix for some warnings with the recent merge, also tag unused args.Campbell Barton
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-28Assorted comment clarification in response to code review notesJoshua Leung
2011-08-27- use %u rather tham %d for unsigned ints in string formatting funcs.Campbell Barton
- replace (strlen(str) == 0) with str[0]=='\0'
2011-08-22Rearrange anim channels - quick hotkey tweakJoshua Leung
Use PageUp/Down for moving up/down, and Shift PageUp/Down for moving to top/bottom. This is more comfortable than the old combinations involving shift+ctrl.
2011-08-21Bugfix [#28308] Crashes when individual channels are moved in ActionJoshua Leung
Editor
2011-08-15Select by Keying Set...Joshua Leung
* Split off code to refresh relative/builtin KeyingSets for the current context before they get used to a separate function. * Hooked this up to a new PyAPI/RNA function: KeyingSet.refresh(). Call this before checking the paths that a Keying Set has, especially if it is not "absolute" * Added option for "Select Grouped" operator (for Objects), which will select all objects affected by the active Keying Set. This is probably more useful for absolute KeyingSets, where changing the selection is less likely to affect the result. - The equivalent for bones is currently still in development, but is likely to be more useful for animators, where rigs are the primary animation entities they deal with
2011-08-14Bugfix [#28244] Setting vector handle in fcurve can failJoshua Leung
So apparently this was a regression from 2.4x, since vector handles were one of the handle types which could be set independently for each handle (vs both needing to be the same, for example, Auto Handles)
2011-08-12Bye bye vile relics of extinct version control systems,Joshua Leung
Causing a flurry of refresh file prompts post-commit, Confusing local diffs and causing merge conflicts, Stating the obvious; redundant and useless... We shall not miss thou, blasted expand $keywords$
2011-08-07Sound clip NLA Strips for NexyonJoshua Leung
These are basically just for specifying when a speaker should fire off it's soundclip, and as such, many NLA operations are irrelevant for it. They can only be specified on object-level for speaker objects. I've still got some UI tweaks I'll need to work on in order for these to be able to be added even when the speaker doesn't have any NLA tracks yet. (EDIT: while typing this, I had an idea for how to do this, but that'll be for next commit). In the mean time, you'll need to add a single keyframe for the object, snowflake that action and delete the NLA strip before you can start editing.
2011-08-05Assorted loose ends for auto-clamped handles workJoshua Leung
* Tweaked order of handle types to make it easier to find Auto/Auto- clamped in the list * Fixed a number of places which were still just checking for auto- handles when they should have included auto-clamped too, including handle rotation
2011-08-04Bassam Feature Request: "Auto Clamped" handles can now be set perJoshua Leung
handle/key This used to be a weird per-curve setting which would happen to get applied/work correctly if handles were set to "auto", and was a source of constant confusion for both old and new animators. The main effect of this handle-type/option was really to just ensure that auto-handles stayed horizontal, instead of tilting as the keys were moved. This commit simply changes this from a per-curve to per keyframe/handle setting.
2011-08-03Speaker Object icons, thanks Phil Gosch.Joerg Mueller
2011-08-03Animation channels can now be renamed by Ctrl-Clicking on them, as inJoshua Leung
the Outliner Channels which can be renamed include: - Scenes, Objects, World, Material, Texture, etc. (i.e. "ID-blocks", or the dark and light blue channels) - Action Groups (green channels) - Action expanders (i.e. "CubeAction", "WorldAction", etc.) - Grease Pencil stuff Channels which CANNOT be renamed, as they mostly use hardcoded values or otherwise include: - Drivers expander - FCurves (they don't technically have a "name"; what is shown is just a user-friendly representation of their rna_paths)
2011-08-013D Audio GSoC:Joerg Mueller
Adds new speaker object type. Notes: * Needs some nice icons * Quickily review by Joshua Leung (5 mins) * Properties UI updated (with help of Thomans Dinges) * Speakers have their own theme color * No real audio functionality yet. * Minor bug regarding lamps/lattices fixed in interface_templates.c I personality tested: * Creation, Deletion, Duplication * Saving, Loading * Library linking (incl. make local) * Tracking * Dope Sheet, Outliner * Animation * Drawing (incl. Theme)
2011-07-22Merge with trunk up to r38584.Joerg Mueller
2011-07-21Attempted bugfix: don't perform any keyframe remapping stuff ifJoshua Leung
rendering, to prevent any race condition problems I've noticed some weird and random crashes recently while rendering, which I suspect have been arising from having an Action Editor open while rendering. Previously only the timeline was patched against these problems, though the issues may be more widespread. Hence, solving this problem at the root cause instead.
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-16Bugfix [#27157] keyframing a constrained bone does not work as beforeJoshua Leung
Visual Keyframing was broken by r.34685, which used another method which, at the time, appeared to work perfectly fine. Apparently not. Also, extend/fixed visual keying to work for axis-angle rotations too. Needs some testing, but should probably work
2011-07-12Timeline Drawing - Time cursor draws extra wide in timeline so thatJoshua Leung
keyframe lines are wrapped up nicely by it Ideally it could be made so that it only became wide when it is on a frame with a keyframe, though that could end up causing performance problems, so this will have to do (if a bit "chunky" looking at times).
2011-07-12Bugfix [#27548] Timeline view - 2D drawing issuesJoshua Leung
* Keyframe lines were being drawn too short when frame number box was enabled. The code for drawing this was modifying the View2D view-space to get it's stuff in the right place, but the timeline code was not accounting for this. * In order to make the time ticks more visible outside the frame range, I've moved the start/end frame drawing stuff in timeline to occur after the grid drawing, and to draw semi-transparent, just like the preview range curtains in the other animation editors
2011-07-12Bugfix [#27650] graph editor -> drivers -> Delete Channels (X) deletesJoshua Leung
wrong entries if obdata selected In this case, the problem was that there were some lingering F-Curves that were unselected by still had "active" flags set (a problem caused by the old filtering channel visible vs list visible bug). Now, "active" flag is treated separately from "selected" flag (bringing this back into line with bones), leaving no confusion.
2011-07-09Compiler warning fixJoshua Leung
2011-07-08Deleting Grease Pencil layers from Action-Editor works againJoshua Leung
2011-07-07Grease Pencil ActEdit Mode: Filtering CleanupJoshua Leung
* Ported filtering code for Grease Pencil frames editing to the newer- style refactored stuff * Decoupled active status of layers from selection status, bringing this into line with everything else again
2011-07-07NLA Drawing - Second attempt at providing options for streamlining theJoshua Leung
view for transforming strips When the "Include animation data blocks with no NLA data" toggle (action icon) is off, action lines are only shown if they have keyframes. So when this option is off, only NLA blocks that have NLA tracks will be shown, and of those, only those which currently have an active action with keyframes will have their red action lines shown. Combined with the vertical-space tweak when show control curves is turned off, this should be good enough for most cases.
2011-07-06NLA Drawing - When "Show Control Curves" option in View menu isJoshua Leung
disabled, the strips are drawn so that they take up less vertical space. Originally, the primary reason why these were taller than those in the other animation editors was really so that these control curves could be visualised adequately. So, when these aren't shown, we can afford to collapse the strips vertically. This should make it possible to fit more strips on screen to retime them. in some staggered fashion.
2011-07-05Merging from trunk up to r38119.Joerg Mueller
2011-07-04bind marker camera now uses active object rather then scene camera (was ↵Campbell Barton
requested a few times)
2011-07-04First stages of easier "expressions" creation...Joshua Leung
It is now possible to create "scripted expression" drivers by simply clicking on some property, and typing some short Python expression prefixed with a '#'. This will result in a scripted expression driver, with the typed-in text being created. For example, you can click on X-Location of the default cube, and type: #sin(frame) and a new driver will be created for the x-location of the cube. This will use the current frame value, and modulate this with a sine wave. Do note though, that the current frame is a special case here. In the current implementation, a special "frame" driver variable, which references the current scene frame is created automatically, so that this simple and (assumed) common case will work straight out of the box. Future improvements: - Explore possibilities of semi-automated extraction of variables from such expressions, resulting in automated variable extraction. (Doing away with variables completely is definitely 100% off the agenda though) - Look into some ways of defining some shorthands for referencing local data (possibly related to variable extraction?)
2011-07-01NLA Strip Drawing TweaksJoshua Leung
* Removed frame-number display from NLA strips. Indeed doing so makes things look cleaner/easier to identify. * When transforming NLA strips, the "temp-metas" (purple strips) get their frame extents drawn on either end, like in the sequencer, which seems to be easier to read than the ones inside the strips. --- The downside of this tweak is that there is no longer any visual feedback for which strips run reversed instead of forwards, as that used to be shown using the frame extents stuff.
2011-07-01Icons!Joshua Leung
Animation Editor toggle tweaks: * By popular request, curve visibility toggles in the Graph Editor are now represented using the eyeball icons * Muting is now represented by a speaker icon (a speaker for this purpose seems fairly common?) New icons: * Keying Sets now have their own icons (as found in a proposal on jendrzych's "Pixel Sized" blog) * Drivers also have their own icon now. This is just a hacky one I've devised which doesn't look that great. Suggestions on this are very welcome.
2011-06-30Animation Channels Filtering Refactor - Part 5Joshua Leung
Channels can now be used as "animation containers" to be filtered further to obtain a set of subsidiary channels (i.e. F-Curves associated with some summary channel). The main use of this is that object and scene summary channels can now be defined without defining the filtering logic in three different places - once for channel filtering, once for drawing keyframes in action editor, and once for editing these keyframes. An indirect consequence of this, is that the "Only selected channels" option in Timeline will now result in only the keyframes for a selected bones getting shown (when enabled), instead of all keyframes for the active object. This was requested by Lee during Durian, and is something which has only become possible as a result of this commit.
2011-06-30Some tweaks to naming of channels in animation editors - thanks MattJoshua Leung
* F-Curves no longer show the name of the datablock of the property they affect if this is an ID-block. For example, transform curves for a cube won't get the "... (Cube)" suffix anymore. In these cases, it's relatively clear that these belong to the parent datablock, so doing this should be fine (and reduces clutter). However, for non-id data (i.e. subsurf modifier settings) or bones, this info still gets shown. In these cases, there is some ambiguity. * "ActiveAct: <...>" is no longer shown for NLA action channels (i.e. just the name of the action gets shown). This should make it easier to see at a glance what action is being used.
2011-06-28Refactoring code for filtering actionsJoshua Leung
- This is still quite convoluted unfortunately... - I can't quite figure out what a bug note I left in the code was about anymore. Removed.
2011-06-27Small bug fixes:Joshua Leung
* Removing the last of the owner/ownertype stuff. The bulk of this stuff was removed in Part3 of the refactor, but it seems I forgot to actually remove these struct members at the end of that. * Texture datablocks without animdata aren't skipped immediately anymore. This could lead to texture nodetrees on animdata-less textures getting skipped.
2011-06-27Texture Nodes AnimEdit supportJoshua Leung
2011-06-27AnimChannelFiltering - Material Nodes supportJoshua Leung
Animation for Material nodes is now shown in Animation Editors :)
2011-06-26AnimChannels Filtering Refactor - Part 4Joshua Leung
This commit is aimed at cleaning up the filtering code by changing the filtering idiom/pattern used. While the old code used a "check then do" approach, the new code does a "grab then assimilate". The main benefits are that: * the code duplication that used to exist has now been removed, making it easier to add new channel types for data * a recursive "peeking" ability now means that the old problems with data existing deep in the tree (i.e. figuring out whether a channel should be shown based on whether it will have any descendents) should now work much better than before. In the process, I've found and fixed a few previously unnoticed bugs with how some channels were constructed, so hopefully things work a bit better now. TODO's: * Action-Group filtering stuff hasn't been refactored yet. This was causing some grief in the past, so I still need to check this carefully. * Material Nodes support (missing in trunk) should be easy to slot in now :)
2011-06-22Bugfixes for recent commits:Joshua Leung
* Insert Key on Selected Channels in Action Editor was broken * Transform/Select All tools in Action Editor were broken as result of filtering changes. * Set Visibility operator, when used from Graph Editor now does similar things to the TabKey lock/unlock operator with regards to the flags it uses for filtering
2011-06-22Bugfix [#21276] The Tab key is not working in the Graph Editor whenJoshua Leung
the list of animated curves is closed At long last, this old bludger can be put out to pasture. I figured it would involve some of the visibility-filtering stuff I added, but this required a bit extra effort than anticipated.
2011-06-22Animation Channel Filtering Refactor - Part 3 (Visibility Flag Split)Joshua Leung
* This (big) commit is aimed at cleaning up the filtering flags used by the animation channel filtering code. The list of filtering flags has been growing a bit "organically" since it's humble origins for use in the Action Editor some 3 years (IIRC) ago now during a weekend hackathon. Obviously, some things have ended up tacked on, while others have been the product of other flag options. Nevertheless, it was time for a bit of a spring clean! * Most notably, one area where the system outgrown its original design for the Action Editor was in terms of the "visibility" filtering flag it was using. While in the Action Editor the concept of what channels to include was strictly dictated by whether the channel hierarchy showed it, in the Graph Editor this is not always the case. In other words, there was a difference between the data the channels represented being visible and the channels for that data being visible in the hierarchy. Long story short: this lead to bug report [#27076] (and many like it), where if you selected an F-Curve, then collapsed the Group it was in, then even after selecting another F-Curve in another Group, the original F-Curve's properties would still be shown in the Properties Region. The good news is that this commit fixes this issue right away! * More good news will follow, as I start checking on the flag usage of other tools, but I'm committing this first so that we have a stable reference (of code similar to the old buggy stuff) on which we can fall back to later to find bugs (should they pop up). Anyways, back to the trenches!
2011-06-21AnimFiltering Code Cleanups - Part 2Joshua Leung
* Changed all int's to size_t's, where the int's were used for size of channel list returned * Object vs Base is now passed to filtering functions - was relic from old owner/ownertype code which required access to bases * Found bug in NLA code where filter was being overwritten and then used again as input for some other function unintentionally * Found bug where trying to select a NLA strip would crash if lamp data was around
2011-06-21Animation Channel Filtering Refactor - Part 1Joshua Leung
* Removed list-expanders for Materials, Textures, and Particles. So instead of: Object Materials Material 1 ... material 1 anim data ... we now have Object Material 1 ... material 1 anim data ... This makes it faster+easier to get to these items. If you don't want to see all of these, you can still use the data-block filters from the header to hide these. * Internal cleanup - removed "owner" and "ownertype" settings from bAnimListElem. The purpose of these was muddled, and more of a hassle to maintain than doing anything useful - it was only really used for the stuff above. * Removed need for "sa->spacedata.first" casts all over the show for animation editor tools which needed access to editor data. This can now be retrieved directly.
2011-06-14Merge with trunk r37475.Joerg Mueller
2011-06-10Alignment tweaks to F-Modifier header buttons.Joshua Leung
I was going to include this change along with support for moving FModifiers around on the stack, though that looks like it might be a bit more involved than first though. To be dealt with later...
2011-06-10Adding properties to Keying Sets via the Scene properties will now setJoshua Leung
"entire array" property on by default, making it easier to add transforms to Keying Sets. This doesn't affect Keying Set paths added via Python or any other means.