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
2015-04-13Graph editor:Antony Riakiotakis
Normalization feature now uses the full range of the data instead of just one semiaxis for the maximum size.
2015-04-06Fix: It was difficult to select control points for NLA Control FCurves in ↵Joshua Leung
the Graph Editor
2015-02-15Revert/Remove "Auto View" FeatureJulian Eisel
Turned out that I misinterpreted the feature request, plus there are some minor issues with the commit that would need to be corrected. After all, I decided to just remove it again as it seems to not be really useful for the users.
2015-02-06rename SIPO_AUTOVIEW -> SIPO_AUTO_VIEW_SELECTEDCampbell Barton
The term auto-view on its own isn't very meaningful
2015-02-06Graph Editor: Auto Viewjulianeisel
Auto View automatically adjusts the view based on selection, so that the view is always focused on the current selection. A checkbox in the header is used to access it and it works for the following selection methods: Toggle All, Border, Circle, Lasso, Left, Right, More, Less, Linked, Column (so all except of single selection, in which this can be a bit annoying) Reviewed by @Aligorith (thanks for that :) )
2014-12-20Fix T42972: fcurve lasso select crashCampbell Barton
2014-12-09Gooseberry request, circle select for graph editorAntony Riakiotakis
2014-05-18Fix T40201: Keyframe edits fail to update the viewportCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-21View2d: check UI_view2d_view_to_region_clip succeeds before using the resultCampbell Barton
2014-04-21View2d: API Cleanup for view<->region conversionCampbell Barton
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-09Graph Editor: add lasso select for fcurvesCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2013-12-20Fix for border select doesn't work with normalization enabledSergey Sharybin
Some lazy developer named Sergey typed zero instead of actual mapping flag in unit mapping function in the original f-curve normalization commit.
2013-10-29Project Pampa request: FCurves normalized displaySergey Sharybin
Added two options to a header of FCurve editor: - Normalize which makes it so every individual curve is fit into -1..1 space. - Auto-normalize, which probably is to be called "Lock" which "locks" curve normalization scale. This is useful to prevent curves from jumping around when tweaking it. It's debatable whether it need to be a button to normalize curves n purpose only, and it's fully depends on animator's workflow. Here during Project Pampa we've got Francesco who get used to auto-renormalization and Hjalti who prefers locked behavior. Docs are to be ready soon by Francesco. Thanks Brecht for the review!
2013-10-29Make anim system safer for threadingSergey Sharybin
Remove usages of ANIM_unit_mapping_apply_fcurve in favor of runtime scale factor apply. There're still calls to ANIM_nla_mapping_apply_fcurve are hanging around, they're the next t be cleaned up!
2013-10-22Ctrl+Alt+SelectMouse now does "Select all keyframes in same channel" inJoshua Leung
DopeSheet too Previously, it only worked in the Graph Editor, though I thought I had implemented it here too.
2013-09-03Graph Editor: Preserve active curve when using AKEY to toggle selection statusJoshua Leung
of keyframe verts Previously, every time you toggled the selection of all keyframes (using AKEY), the active curve would get deselected and deactivated. However, this was a pain when trying to tweak the shape of a particular curve, as doing this would cause that curve to either fade into the background or into the jumble of other curves.
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
takes a key as an arg and isnt popping any element from the hash as you might expect). add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.
2013-03-16Assorted anim editor fixesJoshua Leung
* Click-select operators don't have "register" flag anymore * Graph Editor click select can be undone, just like everything else * "Current frame" -> "Current Frame" for consistency with rest of menu
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-09style cleanup:Campbell Barton
also remove some redundant conversions int -> short -> int
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-09utility functions for getting/setting rectangles for operators.Campbell Barton
2012-08-08Disable saving property defaults for many of the properties for animation-editorJoshua Leung
click activated operators to prevent any further errors
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-05-09style cleanup: graph & armatureCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.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-13Fix #29879: ctrl+B border select with handles in the graph editor not selectingBrecht Van Lommel
the right keys/handles.
2011-12-16remove duplicate if'0'd functions, same versions are in drawarmature.c.Campbell Barton
also added note of function to de-duplicate.
2011-11-16Fix #29260: Missing "Extend" parameter for Border SelectSergey Sharybin
Added "Extend" flag to border select operators for editors: - UV Editor - Sequencer - NLA - Info Space - Graph Editor - File Browser - Clip Editor - Action Editor - Channels and markers regions Can be used for custom keymaps.
2011-11-15Follow-up commit to r.41765Joshua Leung
Reviewed behaviour of selection operators, and decided that ultimately, it's better if select left/right/column didn't change the channel selections at all. This is because with the highlighting of the active curve nowadays, it's a bit distracting to suddenly lose track of it after performing these operations, when you may have been trying to select all of the keyframes on that curve for further tweaking.
2011-11-12Bugfix [#29212] Select before/after current frame deselects all channels inJoshua Leung
graph editor No need to deselect all channels when doing the select left/right operator, since we don't replace the selection afterwards with anything useful. This would be a problem when the "Only Show Selected" option is enabled (as it is by default), as this results in the curves being worked on disappearing from view. F-Curves though will still get deselected as a result of the code to deselect keyframes. Will need to review whether this is still a good idea (original intention was so that only curves with keyframes selected would remain selected).
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-17Minor: fixing other UI typos.Bastien Montagne
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-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-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-05-24remove some warnings and possible use of un-initialized vars.Campbell Barton
2011-05-20was using the wrong rna type for GRAPH_OT_select_leftrightCampbell Barton