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
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-09-07Fix T41740: Different behaviour of custom hotkeyBastien Montagne
Quick fix, this is actually a demonstration of why we should use modal keymaps! We can give any event to *start* the op, but then hard-code how to *end* it... tsk.
2014-08-31Fix crash part of T41561: custom properties don't see in drivers windiwBastien Montagne
Do not try to access ID_OB data from an ID_MA one (or anything else)!
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-10Fix for invalid memory access in graph editor when deleting the lastLukas Tönne
vertex in a fcurve.
2014-07-01Fix T40895: Curves panel, zooming out a lot crashes BlenderSergey Sharybin
2014-06-24Ctrl-F now activates the filter-by-name functionality for Animation EditorsJoshua Leung
2014-05-28FCurve: Setting extrapolation needs to recalc handlesCampbell Barton
2014-05-18Fix T40201: Keyframe edits fail to update the viewportCampbell Barton
2014-05-14FCurve: move add modifiers logic from menu into dynamic enumCampbell Barton
2014-05-14Fix for FCurve keyframe editing left handle from button failing if not selectedCampbell Barton
2014-05-08Bugfix: "Lock time to frame range" didn't work in the Graph EditorJoshua Leung
This uses a different operator than the other time editors (as it needs to support the setting of the value-cursor too), so the changes here didn't get propagated through.
2014-05-01Code cleanup: remove file handling headers where they arent neededCampbell 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-28Fix T39911: Unpredictable behaviour when editing y-coordinate of right ↵Joshua Leung
handle via Active Key panel (for aligned handles) Editing the y-coordinate of the right handle of a keyframe via the Active Keyframe panel in the Graph Editor, while both handles are selected and are both of type "aligned" resulted in weird behaviours such as the x-coordinate of the right handle changing (and rapidly starting to overshoot) but nothing else. However, this problem doesn't occur when only a single handle is selected. It turns out that the "order of computation" logic in calchandleNurb_intern() gets confused in the case of both handles being selected, and results in a sub-optimal handling of the right handle being the one that's been changed. We hack around this here by temporarily making it so that just the right handle is selected when doing the updates here.
2014-04-28Graph Editor: Added buttons for editing handle types on the active keyframe ↵Joshua Leung
(from NKEY region)
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-24Fix T39851: F-curve noise modifier on a bone: change selection when ↵Joshua Leung
modifying value When the dopesheet was open, "keyframe edited" events from the graph editor (i.e. fired whenever any properties on keyframes or FModifiers are changed) would trigger the dopesheet to synchronise selection states of anim channels and ensure that FCurve autocolours are initialised correctly. This however was undesired when editing properties in the graph editor. Now, made it so that keyframe adding/removing operators use different notifier flags to specify that the channels might have changed + need colour syncing, and adjusted the dopesheet updating logic to fit
2014-04-23WhitespaceJoshua Leung
2014-04-23Applying same fix for snapping keyframes in Graph EditorJoshua Leung
2014-04-23Fix T39850: Graph Editor - 'Mirror Over First Selected Marker' mirrors over ↵Joshua Leung
frame 0 instead Problem was introduced back in 2.70 during Project Pampa when the FCurve Normalisation feature was introduced. The cause was that the normalised cursor value was always getting passed to the KeyframeEditData context, even when it wasn't needed.
2014-04-21Code cleanup: view2d api namingCampbell Barton
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-11Code cleanup: use boolCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-22A few spelling fixesJoshua Leung
2014-03-22More driver linting messages - procedural animation and no-variables for ↵Joshua Leung
average,etc. Inspired by T39315, this commit adds a few more driver "linting" messages used for providing users with tips on how to use drivers better. This time, we specifically address 2 cases: 1) Drivers being abused for procedural animation, due to the misconception that procedurally generating F-Curves using F-Modifiers means that drivers are needed to wire such procedural motion-sources to properties. 2) Setting up Average/Sum/Min/Max driver types without any input variables - you can't expect anything to happen (unless of course, your intention was to lock the property to 0.0)
2014-03-21Patch T22084: Robert Penner Easing Equations for FCurvesJoshua Leung
This commit introduces support for a number of new interpolation types which are useful for motion-graphics work. These define a number of "easing equations" (basically, equations which define some preset ways that one keyframe transitions to another) which reduce the amount of manual work (inserting and tweaking keyframes) to achieve certain common effects. For example, snappy movements, and fake-physics such as bouncing/springing effects. The additional interpolation types introduced in this commit can be found in many packages and toolkits (notably Qt and all modern web browsers). For more info and a few live demos, see [1] and [2]. Credits: * Dan Eicher (dna) - Original patch * Thomas Beck (plasmasolutions) - Porting/updating patch to 2.70 codebase * Joshua Leung (aligorith) - Code review and a few polishing tweaks Additional Resources: [1] http://easings.net [2] http://www.robertpenner.com/easing/
2014-03-09Graph Editor: add lasso select for fcurvesCampbell Barton
2014-03-08Drivers UI: Add explicit warnings about use of bpy.data and bpy.context in ↵Joshua Leung
expressions In order to combat the problem of users frequently trying to use inlined bpy.data/bpy.context paths for data access in their driver expressions and then finding/complaining that these don't update correctly, the UI now flags these as the error conditions that they are (with suggestions on how to fix this). Also tweaked the "Add Variable" button to have more descriptive text about what exactly variables are and why to use these, along with some other visual tweaks (icons!).
2014-02-18Fix FCurve reading freed themes, assert to prevent further misuseCampbell Barton
2014-02-18NDOF: add keymapping for the 'fit' button for other 2d viewsCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2014-01-15Code Cleanup: use iroundfCampbell Barton
also increase precision of rctf print functions
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-12-20UI: restore confirmation popups for delete operators.Brecht Van Lommel
It turned out this was leading to accidental deleting in some cases when the info message was missed by users. Fixes T37801.
2013-12-11User Interface: add colon separator for number buttonsCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-25UI: remove unnecessary confirmation popupsEmanuel Claesson
This makes a number of operators no longer ask for confirmation, rather it will show an info message after performing the operation. Ref T37422 for decision. In particular, these were changed: * Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers. * Clear and delete keyframes in the 3D view. * Align bone to parents. * Separate bones from armature. * Group/ungroup metastrips in sequencer. * Copy/paste objects to/from buffer. Reviewed By: brecht, dingto Differential Revision: http://developer.blender.org/D35
2013-11-04Fix for uninitialised varJoshua Leung
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-26remove null checks for macro definitions, if these fail then something is ↵Campbell Barton
broken elsewhere, better not fail silently.
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-10-22Adding comments to clarify each set of modifier mappings for animation editorsJoshua Leung
selection ops
2013-10-02fix [#36919] Cannot delete keyframe of animated simulation parameter if ↵Campbell Barton
simulation has been disabled