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
2020-01-05Fix T72682: Regression when moving markers while holding ctrlJacques Lucke
In 2.79 when moving a marker with `G` while holding `ctrl` the marker would snap to one-second movements. This was (probably accidentally) removed when the Timeline Editor was removed in rB5374865523faf253. Reviewers: mano-wii Differential Revision: https://developer.blender.org/D6527
2020-01-05GPencil: Add missing update in previous commit of task T72897Antonio Vazquez
2020-01-05Fix T72897: Move Channels operator moves Grease Pencil Layers wronglyAntonio Vazquez
This operator was pending of fix.
2020-01-03Fix T71495: Some Textures with AnimData not visible in DopesheetSybren A. Stüvel
T71495 describes two problems with animation of textures not showing up in the dope sheet: 1. textures connected to force fields 2. textures of brushes This patch resolves the first case. An alternative would be to switch to iteration of dependencies using `BKE_library_foreach_ID_link()`. This is a good idea to do at some point, but adding these few lines was considerably easier & safer to do.
2020-01-02Fix T57111: Particle texture keyframes missing from Graph EditorSybren A. Stüvel
The entire particle system was skipped when the particle system itself did not have any animation data. This caused the animation data on the texture to be skipped.
2019-12-21GPencil: Hide dopesheet slider options for AnnotationsAntonio Vazquez
2019-12-05Cleanup: Removes double notificationAntonio Vazquez
2019-12-05Fix T72182: Fade Layers Option does not work when activating a layer from ↵Antonio Vazquez
Dope Sheet or Outliner The layer was activated, but the datablock was not tagged to recalc GPU cache.
2019-12-04Make curve decimation only take into account the selected curve pointsSebastian Parborg
Previously the decimation would take the whole curve into account when decimating and not just the selected part. This also contains various smaller bug fixes for the fcurve decimation. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6286
2019-12-04GPencil: Fix error in previous patchAntonio Vazquez
By error, a previous version of the patch was used and there was a small change in the order of the columns in dopesheet.
2019-12-04GPencil: Add Opacity y Onion switch to DopesheetAntonio Vazquez
Add new icons and panels Grease Pencil Dopesheet to manage layers without having the properties panel visible. Also, the icons are in the same order in Dopesheet, Layers and Material list to keep consistency. As the number of columns for icons is limited to 3 and we also need use a factor, I have impleted the change using slider area. Also, the slider option is enabled by default for 2D Template. See T72026 for more info. Reviewed By: mendio, pepeland, billreynish Differential Revision: https://developer.blender.org/D6328
2019-11-30UI: allow to hide markers region per editorAlessio Monti di Sopra
Instead of having the option to show marker lines, make the marker region optional. - Added a Show Markers entry in the View menu of the animation editors. - If the markers region is not active then the Marker menu gets hidden. - Removed marker menu from the driver editor and don't allow to use marker operators.
2019-11-22UI: Changes to Graph Editor selection and transformJulian Eisel
When introducing "drag-all-selected" support all over Blender, we figured this wouldn't work well with the Graph Editor selection/transform behavior. Hence, William and I worked on the following changes, although we used this chance to improve the behavior in general too. For more info see T70634. * Handles now always move with the key, regardless if they are selected or not. * Selecting the key doesn't select the handles anymore, their selection is separate. * Multiple keys and handles can now be dragged. * Dragging a handle moves all selected handles **on the same side**. * Tweak-dragging any handle can never affect any keyframe location, only handles. * G/R/S should behave as before. * Changing the handle type with a key selected always applies the change to both handles. * Box selection with Ctrl+Drag now allows deselecting handles (used to act on entire triple only). * Box selection //Include Handles// option now only acts on visible handles, wasn't the case with Only Selected Keyframes Handles enabled. * Box selection //Include Handles// is now enabled by default in all bundled keymaps. The changes have been tested for some days by the animators here in the Blender Animation Studio. Some changes are based on their feedback. Also, this improves/adds comments for related code. Differential Revision: https://developer.blender.org/D6235 Reviewed by: Sybren Stüvel, William Reynish
2019-11-21Add curve decimate in the graph editorSebastian Parborg
Added a animation curve decimate operator in the graph editor Reviewed By: Sybren Differential Revision: http://developer.blender.org/D4841
2019-11-05Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-05Fix T71356: Motion Paths no longer updateSergey Sharybin
2019-11-05Motionpath: Fix memory leak on early outputSergey Sharybin
This is a part of T71356.
2019-10-12Cleanup: warningsCampbell Barton
2019-10-09Local Collections: Allow users to show hidden collectionsDalai Felinto
Users now can turn on in a viewport collections that are temporarily hidden (eye) in the view layer. Design task: T61327 As for the implementation, I had to decouple the visibility in the depsgraph from the visibility in the view layer. Also there is a "bug" that in a way was there before which is some operators (e.g., writing a text inside of a text object, tab into edit mode) run regardless of the visibility of the active object. The bug was present already (with object type visibility restriction) in 2.80 so if we decide to tackle it, can be done separately (I have a patch for it though P1132). Reviewed by: brecht (thank you) Differential Revision: D5992
2019-10-04UI: Move all Selected Markers when DraggingJulian Eisel
Part of T57918. Selecting and dragging items were conflicting actions previously when both were using the same mouse button. This avoids the conflict. See 056fcdfe7bbed3 for details on behavior.
2019-10-03Cleanup: argument naming, redundant NULL checksCampbell Barton
2019-10-02Implement a user preference for the default Auto Handle Smoothing mode.Alexander Gavrilov
The default was changed with an initial implementation of the feature. With the feedback from animators, having a behavior which affects curves outside of a changing range is not convenient for professional animators working on high quality character animation. On the other hand, automatic smoothing is better for casual animation of object motion. This change adds an ability to change the default via User Preferences. Differential Revision: https://developer.blender.org/D5875
2019-10-02UI: add NLA track and channel theme colorBrecht Van Lommel
Patch contributed by Paul (Thirio). Differential Revision: https://developer.blender.org/D5967
2019-10-01Cleanup: remove unused variablesSybren A. Stüvel
2019-10-01Fix T70281: Changing Default interpolation also changes curve of new driversSybren A. Stüvel
Having a constant FCurve doesn't make sense for drivers; either linear or Bezier should be used. Since the code is already creating a Bezier curve, I just added the flag to not look at the user preferences in this case. Reviewed by: angavrilov Differential Revision: https://developer.blender.org/D5921
2019-09-27Cleanup: Replace 'add mode' short for driver FCurve creation with an enumSybren A. Stüvel
The 'add mode' was a `short` between -1 and 2 inclusive, and magic numbers sprinkled throughout the code. It's now an enum with descriptive names. No functional changes.
2019-09-25Motion paths: Use minimal possible dependency graphSergey Sharybin
This change makes it so motion paths are using minimal possible dependency graph which is sufficient to evaluate required motion path targets. Disclaimer: granularity is done on ID level, but it is possible to go more granular if really needed. Brings time down to 0.5 sec when updating motion path for the Rain animation file used for benchmarks in the previous commits. Reviewers: brecht Differential Revision: https://developer.blender.org/D5874
2019-09-25Motion paths: Limit updates to changed frame range onlySergey Sharybin
The idea is to only update parts of motion paths which lies between keyframes around changed frame. The changed frames are considered to be from second previous to second next one to work correctly with bezier handles interpolation. Brings updates in the Rain test animation file from around 11 sec down to 1 sec.
2019-09-25Motion paths: Refactor, make update range more explicitSergey Sharybin
Allows to have a higher versatility in the API. Should be no functional changes.
2019-09-25Motion paths: Cleanup, de-duplicate codeSergey Sharybin
2019-09-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-09-14UI: quiet warning when drawing markersJacques Lucke
The compiler was warning that it assumed that crfa - 4 < cfra is always true even though that might not be the case due to overflow. This patch just removes the condition that caused the assumption.
2019-09-13Cleanup: unused headers (GPU)Campbell Barton
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-09-07Fix T69597: Changing Grease Pencil Layer in Dopesheet unlocks all layersAntonio Vazquez
The Dopesheet was unlocked all layers because it was using the same logic used in UI panel, but this was wrong.
2019-09-03GPencil: Fix unreported autolock layers using DopesheetAntonio Vazquez
When select a layer in Dopesheet, the autolock layer was not working. Now the Dopesheet code calls the function for autolock. Also some code cleanup to move the logic to new function.
2019-08-30Cleanup: spellingCampbell Barton
2019-08-30Fix interger number buttons increment/decrement arrows not working inPhilipp Oeser
some cases Since rB78b56fa7d973 defining a button with 'but->a1 = 0' wasnt automatically setting its step value to 1 in 'ui_do_but_NUM' anymore. Instead of handling this more forgiving in 'ui_do_but_NUM', went over the remaining cases of buttons and and defined them with a step value of 1. Fixes T69305 Reviewed By: brecht Maniphest Tasks: T69305 Differential Revision: https://developer.blender.org/D5631
2019-08-27Fix marker name drawing without intended offset in some casesBrecht Van Lommel
Order of arguments matters here.
2019-08-23RNA: Cleanup PointerRNA structJacques Lucke
The old layout of `PointerRNA` was confusing for historic reasons: ``` typedef struct PointerRNA { struct { void *data; } id; struct StructRNA *type; void *data; } PointerRNA; ``` This patch updates it to: ``` typedef struct PointerRNA { struct ID *owner_id; struct StructRNA *type; void *data; } PointerRNA; ``` Throughout the code base `id.data` was replaced with `owner_id`. Furthermore, many explicit pointer type casts were added which were implicit before. Some type casts to `ID *` were removed. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5558
2019-08-22Revert "Fix T68971: Copy As New Driver from Material node creates a bad ↵Bastien Montagne
reference." This reverts commits 54fd8176d7e91, 4c5becb6b1 and 8f578150e. Those kind of commits must be reviewed and approved by project owners. That one: * Broke Collada building by not properly updating all calls to modified function. * Broke *whole* ID management by not properly updating library_query.c. And in general, I am strongly against backward ID pointers, those are *always* a serious PITA for ID management. Sometimes they cannot be avoided, but in general other ways to get that kind of info should be investigated first.
2019-08-22Fix T68971: Copy As New Driver from Material node creates a bad reference.Alexander Gavrilov
NodeTree structures of materials and some other data blocks are effectively node group data block objects that are contained inside the parent block. Thus, direct references to them are only valid while blender is running, and are lost on save. Fix Copy As New Driver to create a reference that goes through the owner data block, by adding a new runtime field to bNodeTree.
2019-08-22Nodes: Support for socket shapes other than circleCharlie Jolly
Previously there was already "draw_shape" property, but it was doing nothing. This commit renames the property to "display_shape". Furthermore, different shapes like SQUARE and DIAMOND are supported now. Currently, the shapes are drawn using the shader that also draws keyframes. In the future we might want to separate this. The new shapes are not used anywhere yet, but they can be used by addon developers and will probably be useful when we want to support different kinds node systems later. For example, different shapes can be used to distinguish between data and control flow. Differential Revision: https://developer.blender.org/D2829
2019-08-17Cleanup: spellingCampbell Barton
2019-08-16Cleanup: spellingCampbell Barton
2019-08-14Fix T68487: double free when inserting keyframe outside of action clip rangeJacques Lucke
2019-08-14Fix T68597: GPencil Dope Sheet can fail to display active GP objectAntonioya
Now, the dopesheet is activated if the object is in any Edition mode.
2019-08-05Cleanup: use unsigned char for theme colorsCampbell Barton
Nearly all byte-color functions use 'uchar' causing casts when then colors were passed in. Declare as uchar to remove the need for casts.
2019-08-04Add a new Copy As Driver context menu option for properties.Alexander Gavrilov
It is a very common need to create drivers that set the value of a property to the value of some other property, but it currently requires multiple actions: Copy Data Path on the input property, adding a driver to the output property, selecting the input ID reference, and pasting the path. This adds a new Copy As Driver context menu option, which creates a complete driver in the clipboard that reads the current property, so all that remains is to paste it to the output property. It is also possible to paste just the new driver variable into an existing driver to combine multiple inputs. Reviewers: brecht, billreynish Differential Revision: https://developer.blender.org/D5382
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz