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
2012-05-09style cleanup: graph & armatureCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.
2012-04-02code cleanup:Campbell Barton
always use if (...) even if the macros dont require it (confuses parsers) define macros without the ';'s included.
2012-03-31code cleanup: use uppercase defines and change drawFCurveFade into static ↵Campbell Barton
function.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22Quick Mango request: Adjustable contrast/intensity for unselected F-Curves inJoshua Leung
Graph Editor Under User Preferences -> Editing, there's a new setting "F-Curve Visibility" which controls the how much F-Curves blend in with the background colour. Increasing this value makes F-Curves stand out more, at the expense of making it less obvious which F-Curve is active.
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-01Spelling CleanupCampbell Barton
2012-01-11minor cleanup for string use - no functional changesCampbell Barton
- use more logical names for strings, noticed too many strings called `str` when reviewing name patch. - pass __func__ macro to uiBeginBlock(), quite a few names were wrong (copy/paste error).
2011-11-05macro formatting & remve some unused code.Campbell Barton
2011-10-15spelling corrections in comments and quiet warningCampbell Barton
2011-08-30fix for some warnings with the recent merge, also tag unused args.Campbell Barton
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-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-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-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-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-09Graph Editor: Added option to turn off AA drawing for performanceJoshua Leung
gains when using really heavy files
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-11-17Keyframing Operators: Improved Error MessagesJoshua Leung
* Keyframing operators now use the reports system for displaying all its error messages. - The benefit of this is that users no longer need to check the console for error messages if keyframing fails. - Unfortunately, reports are not currently viewable in any space/view in Blender, so... * Added a temporary operator (UI_OT_reports_to_textblock), which can be accessed in the UI from the button which appears in place of the icon when more than one report exists. This dumps the current list of reports to a textblock "Recent Reports", from which they can be viewed. This isn't really nice, but at least we now have a way to view these again, which makes debugging some things a pain. * Bugfix #24606 - when trying to add keyframes to F-Curves with F-Modifiers already which alter the curve significantly enough that the keyframes will have no effect, there are now warnings which aim to alleviate any confusion.
2010-10-16editors/space_* build without unused args warningsCampbell Barton
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-05-12fix for hanging while drawing fcurves, the function made some attempt to ↵Campbell Barton
avoid the problem but when the view is zero pixels wide it still hung for some time.
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-04-01Bugfix #21763: extremly zooming into graph editor via ctrl+mmb locks up blenderJoshua Leung
Curve sampling minimum 'sampling frequency' for display could get too low causing a hang (with really-slow convergence). Clamping with a coarses limit now.
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-12- Hhighlight active nurb in edit modeSergey Sharybin
- Replaced hardcoded nurbcol array with theme colors - Send notification in duplicate curve operator (this operator could reset/change active nurb) - Edge seam color added to the user preferences dialog
2010-02-17Cleanup tweaks:Joshua Leung
1) Decreased the alpha value for unselected F-Curves in the Graph Editor, making them more invisible to help make the selected ones stand out more. 2) Removed various outdated settings from pose bone RNA
2010-02-12correct fsf addressCampbell Barton
2010-01-31Bugfixes:Joshua Leung
* Old files imported to 2.5 with curves that got cycles FModifiers added during version patching, would not have their keyframes shown for editing. * #20893: Can't see/show the Properties area in the NLA I don't know why this worked on a few of my test files several months ago, and yet now fails for many files today.
2010-01-30[#20892] Locking animation curves with Tab Key don't hide the curves handlesCampbell Barton
drawing handles for fcurves wasnt checking ((fcu->grp) && (fcu->grp->flag & AGRP_PROTECTED))
2010-01-30View2D/TimeCode Drawing:Joshua Leung
This commit introduces a few cleanups and tweaks to the way that timecodes (i.e. the timing indications used instead of frame numbers) get displayed. 1. Custom Spacing of TimeCodes/Gridlines Made the minimum number of pixels between gridlines/timecode indications a user-preference, instead of being a hardcoded constant. This allows to set the spacing tighter/looser than the defaults, and is also used for the other changes. 2. Default timecode display style, (now named 'minimal') uses '+' as the delimeter for the sub-second frames. This hopefully makes it a bit clearer what those values represent, as opposed to the '!', which can sometimes look too much like a colon. 3. Added various timecode display styles as user-preference. - These include always displaying full SMPTE, to showing milliseconds instead of frams for sub-second times, and also an option to just show the times as seconds only. - When changing the timecode style, the spacing setting is automatically modified so that the timecodes are spaced far apart enough so that they won't clash (under most circumstances). This automatic modification is only done if the spacing is too tight for the style being set. 4. Unified the code for generating timecode strings between the View2D scrollbar drawing and the current frame indicator drawing.
2010-01-26Finishing off the Transform code changes for Degrees/Radians:Joshua Leung
Added flags for the mapping function offering more control over what values were affected and when. In the WIP code, the values for unselected verts were getting the restoration conversion being repeatedly applied, resulting in the values tending to zero.
2010-01-26Radians vs Degrees: The Second AttemptJoshua Leung
F-Curves now internally store radians again instead of degrees. - This solves problems with inconsistencies when working with drivers. - No need to version patch old files, potentially screwing them up. As such, removed the version patching for F-Curves. - Is better suited to optionally showing radians throughout the UI instead or degrees. As a result, values are now converted on the fly in the Graph Editor for display and operators that operate on values. I've made the conversion system for this rather general, so that other unit type conversions can also be hooked up with the type conversion backend. Also, made some tweaks to F-Curve RNA wrapping to make it represent the data better. TODO: - Transform code currently still needs to be corrected to work with these changes. Currently moving keyframes for rotation curves will make them change too rapidly vertically when using degrees.
2010-01-15Reverting changes made in r25940 with the NLA unmapping. Joshua Leung
The reverted code was just blindly restoring the old state of the keyframes; changes to selection state, value changes, handle type, etc. were overridden, and the cases where keyframes were deliberately retimed or otherwise were also ignored. I'm not sure what problems these changes were meant to be solving, but will reassess the situation when I get more info on this.
2010-01-13NLA: fix keyframes getting messed up when making strips longer. For drawingBrecht Van Lommel
and other operations the nla mapping would be applied to the curves, but not restored correctly. The unmap function was not the inverse of the map function, and it's not clear to me it's even possible to make it so due to repeat, so now the old coordinates are backed up in a list and then restored afterwards.
2009-11-30Durian Graph Editor Request: Only show handles of selected keyframesJoshua Leung
This option for the Graph Editor means that only the handles for selected keyframes get shown in the view, eliminating clutter. Currently, the selection code isn't aware of this option, so clicking anywhere near where a handle might be may often trigger it to show up. This may/may not be desireable, but we'll see how Lee goes with this first :)
2009-11-29Animation Editor (mostly Graph Editor) bugfixes:Joshua Leung
* Durian Report / Own Todo: Action Groups with no F-Curves in them visible were still shown in the animation editors. After several failed attempts in the past, finally got this working by making a little shuffling + a simpler solution. * Bugfix #20134: Graph Editor Keys -> Transform Menu was using the wrong operators. C+P error from copying menus over from Dopesheet * Muting Action Groups didn't draw all F-Curves contained in group as being muted too.