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-08-30fix for some warnings with the recent merge, also tag unused args.Campbell Barton
2011-08-12Drat... missed oneJoshua Leung
2011-08-12Fixing compiler warningJoshua Leung
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-06Graph Editor "Active Keyframe" settingsJoshua Leung
This commit makes some tweaks to the way that the "active keyframe" settings in the Properties region in the Graph Editor work (for the better, hopefully). Basically, the problem was that previously, these were clunky and non- intuitive to use, since they were just directly displaying the RNA properties for those keyframes for editing purposes. But due to limitations of RNA (i.e. from a RNA pointer to a keyframe, you couldn't see which F-Curve you came from), several things were impossible, notably: 1) Doing proper updates, including validating that the handles are in a valid state - that requires access to the F-Curve to provide to the F-Curve-based curve validity checking functions 2) Having the values of the keyframes display in whatever unit that the property the F-Curve affects displays as - for this, you once again need to know the F-Curve in order to resolve the property that it affects; also the fact that only a single unit could be set for RNA properties further limited things This commit basically gets around these problems by moving away from a layout-engine based approach to one where we attach custom update callbacks and also override the units of the y-co widgets when creating the widgets for these, thus allowing the buttons to work in the ways that animators expect.
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-04Bugfix: Setting of new default settings for new Graph Editors was doneJoshua Leung
in wrong place, leading to loss of settings everytime the view changed (i.e. after open/saving)
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-07-30Bugfix: When only one handle was selected in Graph Editor, the line ofJoshua Leung
the other handle were not drawn This only happened when the "only on selected keyframes" option was enabled
2011-07-26startup.blend Theming/AnimEditor Defaults TweaksJoshua Leung
- Default size of Graph Editor handle vertices is now 4 (up from 3). This "small" change seems to be enough to make a substantial difference when it comes to actually differentiating between these - "Only Selected" DopeSheet filter is enabled for new Graph Editor instances by default. It helps hone in on the F-Curves of the data most animators hope to just be refining the motion for (i.e. the selected stuff) - "Only Selected Keyframe Handles" is now enabled, to reduce clutter from handles of nearby keys getting in the way.
2011-07-26F-Curve Drawing - Smoother curvesJoshua Leung
Bezier curves are now drawn smoother (i.e. less segmented), especially for curve segments where there is a very large vertical displacement over a short period of time (i.e. 120 degrees rotation over 1 frame) and/or often when zoomed in a bit too. - Made the resolution calculation take the vertical distance into account too, instead of just the horizontal distance. - Segment multiplier changed from 3 to 5, as this seems to give better zoomed-in performance.
2011-07-26Experimental drawing tweak: make active F-Curve get drawn with thickerJoshua Leung
line width This should help make it stand out better from the background, though it has the risk that values may not be so clearly picked up visually
2011-07-22Merge with trunk up to r38584.Joerg Mueller
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-07Animation Goodie: Cyclic "Extrapolation" can be toggled from the "SetJoshua Leung
Extrapolation" tool again Added "Make Cyclic" and "Clear Cyclic" options to "Set Extrapolation" tool (found from Channels menu) in Animation Editors. These options simply add or remove (respectively) Cycles FModifiers from the selected F-Curves, making them have cyclic extrapolation with a single click, instead of having to go through the FModifiers UI (or Graph- Editor only "Add FModifier" operator), which should make it easier to do this apparently common chore.
2011-06-27Bugfix: Selecting nodes now updates animation editorsJoshua Leung
Noticed while testing the material nodes commit
2011-06-23Merge with trunk r37757.Joerg Mueller
2011-06-23cmake option to build without an audio library.Campbell Barton
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-14Bugfix: Distance DVar doesn't work with new Local SpaceJoshua Leung
Fixed references in UI to the old property, and adapted the backend code to work for the new options too.
2011-06-13Transformation Channel Driver Variables - "Proper Localspace"Joshua Leung
By popular demand, the "Transformation Channel" driver variable type now has a "local space" transform space option which uses the same magic that constraints use for defining local-space. This is what many bug reporters and feature requesters have moaned about for a while now, so after reviewing several of the bug reports which lead to the current situation, here is what has been much-wanted for so long! In order to implement this, I've: - renamed the old "Local Space" option here to "Transformation Space", in order to prevent old rigs breaking. This has also been kept, as it is useful for #21384 (though perhaps with this new option it isn't needed anymore) - reviewed my fix for #20870 (IIRC, a Durian-era bug), which related to the non-uniqueness of matrix->euler decomposition
2011-06-06Added cancel callbacks to modal operators which allocates memorySergey Sharybin
in invoke callback. This prevents unfreed memory blocks when quiting Bledner with modal operator running.
2011-06-04Merge with trunk revision 37149.Joerg Mueller
2011-06-01Usability Tweak [#27469]Joshua Leung
Adding/Rename markers (M/Ctrl-M) were restricted to only being available when the mouse was hovering just over the time scroller at the bottom of animation editors, as otherwise we'd get nasty keymap conflicts where markers keymap would block all the primary function keymaps. However, in the case of Adding/Renaming markers, there are no other keys which currently conflict with these in such cases. Hence, it is fine to let these ones be able to be run from anywhere within the animation editors, which should make it easier to add markers for lipsyncing purposes again for example.
2011-05-31cmake maintenanceCampbell Barton
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python). also only build wm_apple.c on apple+carbon configuration.
2011-05-29Merge with trunk r36987.Joerg Mueller
2011-05-25Swapped hotkey for setting interpolation from Shift-T to TKEY, sinceJoshua Leung
this is more commonly used that the TimeSlide tool (which is DopeSheet only). Noticed that this does bring this out of line with the hotkey for setting extrapolation, but then again, extrapolation is a per-curve setting.
2011-05-24remove some warnings and possible use of un-initialized vars.Campbell Barton
2011-05-24Bugfix [#27453] Copy Paste fcurve modifers is brokenJoshua Leung
Wrong poll was getting used
2011-05-20was using the wrong rna type for GRAPH_OT_select_leftrightCampbell Barton
2011-05-20use event->mval rather then subtracting ar->winrct.x / y from event->x / yCampbell Barton
2011-05-20use BKE_area_find_region_type in place of inline loops (no functional changes).Campbell Barton
2011-05-20int values were not drawing curve handles, yet the handles could still be ↵Campbell Barton
selected and transformed, and different handle types set. disable this check and draw curve handles for int fcurves.
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-04-29corrections for redundant null checks & transform printing a string into its ↵Campbell Barton
self.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-06fix for cmake glew includes (tested with mingw), also made qtcreator project ↵Campbell Barton
generator work with mingw again
2011-04-03quiet various warnings, also disable -Wdouble-promotion with cmake since it ↵Campbell Barton
gives warnings with variable length args.
2011-04-01fix [#26713] Video Sequencer: Audio mute after making meta strip copy/pasteCampbell Barton
was not recursively restoring sound strips on paste. also found many duplicate functions were defining the transform mode as in int but getting as an enum, use enum for both now.
2011-03-31Pose Propagate - Further Tweaks:Joshua Leung
- Pose Propagate and Pose Sliding tools now work in the same way as Pose Library previewing, with regards to selections. If some bones are selected, then only those will be affected. But if no bones are selected, then the whole rig gets affected. - Added a "On Selected Markers" option, which only propagates poses to frames where there's a selected marker. Animators can combine this with a "select markers whose name contains..." operator to get an effective way to manage hand-keyed walk cycles, etc.
2011-03-28- quiet new warnings with gcc 4.6Campbell Barton
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.
2011-03-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
2011-03-25Graph Editor: Euler Filter ported from Py to CJoshua Leung
Ported joeedh's Euler Filter code from Python to C so that this is more in line with the other Graph Editor tools - i.e. joeedh's version only worked on the active bone's curves, while standard tools could work with multiple bones/objects at the same time. To use this new version of this operator: 1) Select all the F-Curves for all 3 of the components (XYZ) for the euler rotations you wish to clean up. In the Graph Editor, they must be one after the other (i.e. you can't have "RotX, RotY, something else, RotZ") 2) Activate the operator from the Key menu in the Graph Editor In an old test file I have floating around, this method did not appear to be good enough to fix a very clear discontinuity in the middle of the action, so I'll test some additional methods too
2011-03-22properties were being used with wrong type functions, this resulted in bad ↵Campbell Barton
memory access when getting int from an enum.
2011-03-19Safety checks for macro definesJoshua Leung
2011-03-17Bugfix [#26505] zoom in selected keys on graph editorJoshua Leung
Not really a "bug", but it was on my todo anyways. Based on patch [#26508] by Campbell, with a few modifications including extending this to the Action/DopeSheet editor too.