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
2021-11-08Merge branch 'blender-v3.0-release'Julian Eisel
2021-11-08Fix performance issues with pose library sidebar and many posesJulian Eisel
When the asset view in the sidebar of the pose library would contain more than a few handful poses, interaction and animation playback performance would be impacted considerably. This was because our icon drawing scales image buffers using a rather slow method on the CPU. This commit changes it so the asset icons are scaled using the GPU. Note that this is a temporary change. I'd like all icon code to use GPU-side scaling, see D13144. But such a change is too risky to do in the release branch at this point, so this fix is specifically for the 3.0 release.
2021-11-08Merge branch 'blender-v3.0-release'Alexander Gavrilov
2021-11-08Fix T92043: Relax/Push Pose does nothing for quaternion rotation.Alexander Gavrilov
As can be confirmed by checking generic code for this operation, it is supposed to blend between the result of Breakdown based on actual frame range, and the current pose. However for some reason the quaternion specific code was blending between the current pose and the current keyframed pose. This means that the operation does nothing if invoked without modifying the pose first. This rewrites the code to match the non-quaternion behavior. Differential Revision: https://developer.blender.org/D13030
2021-11-08GPencil: New option to export PDF full sceneAntonio Vazquez
This new mode export all frames of the scene. Reviewed By: pepeland Differential Revision: https://developer.blender.org/D13055
2021-11-08Nodes: store socket declaration reference in socketJacques Lucke
Previously, to get the declaration of a socket, one had to go through `node->declaration`. Now this indirection is not necessary anymore. This makes it easier to add more per-socket information into the declaration and accessing it in various places. Currently, this system is used by socket descriptions and node warnings for unsupported geometry component types.
2021-11-08Fix reading the 3rd value of 2D cursors when transformingCampbell Barton
Out of bounds read and potential out-of-bounds write when transforming the 2D cursor for image editor and sequencer. While this didn't cause user visible bugs in my tests, it's error prone and should be avoided. Use TransData2D for 2D cursors.
2021-11-08Cleanup: Grammar in commentsHans Goudey
2021-11-08Fix reading the 3rd value of 2D cursors when transformingCampbell Barton
Out of bounds read and potential out-of-bounds write when transforming the 2D cursor for image editor and sequencer. While this didn't cause user visible bugs in my tests, it's error prone and should be avoided. Use TransData2D for 2D cursors.
2021-11-08Cleanup: quiet compiler warningsCampbell Barton
2021-11-08Cleanup: remove references to non-existent 'mtexpoly'Campbell Barton
2021-11-08Cleanup: spelling in commentsCampbell Barton
2021-11-08Cleanup: compiler warningsCampbell Barton
2021-11-08Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-08Fix snap cursor not active even if gizmo is availableGermano Cavalcante
Error introduced in rB69d6222481b4 and partially fixed in rB24310441ddc8. When gizmo was turned on but the scene has more than one 3D viewport, one of them the snap cursor did not appear.
2021-11-06Cleanup: remove window_manager & editor includes from BLFCampbell Barton
Remove the need to include the window manager & editor functions in low level font rendering code. - The default font size is now set when changed in the preferences. - Flushing cache is set as a callback.
2021-11-06Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-06Cleanup: Decrease variable scope, rename functionsHans Goudey
2021-11-06Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-06Fix: Property editor icon jittering in some casesLeon Leno
In the tools tab, the tool icon would be offset when it intersected the bottom of the editor. With some screen resolutions, the icons on the left side of the editor would also move when intersecting the bottom of the editor. This happened because of the truncation in the implicit conversion from float to int. Instead, use explicit conversion functions. Differential Revision: https://developer.blender.org/D11097
2021-11-05Cleanup: Use reference for non-optional C++ parameterJulian Eisel
A reference makes clear that NULL is not an expected value. So it's the prefered way of passing a `const` input parameter (at least if it may not be cheap to copy).
2021-11-05Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-05UI: Use arrow icon on context pathsPablo Vazquez
The current `ICON_SMALL_TRI_RIGHT_VEC` uses dark hard-coded colors ([`0.2`, `0.2`, `0.2`]) which makes it impossible to theme and hard to see in dark contexts. Use `ICON_RIGHTARROW` to match the Outliner's breadcrumbs. This icon uses `TH_TEXT` so it's visible as long as the rest of the text is. ##### Master (Properties editor background made red on purpose to be able to see the triangle icon) {F11713038, size=full} #### This patch {F11713039, size=full} Reviewed By: #user_interface, Severin, HooglyBoogly Maniphest Tasks: T92771 Differential Revision: https://developer.blender.org/D13106
2021-11-05Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-05VSE: Remove separator lines between rowsPablo Vazquez
The VSE grid theme setting is currently used for two things: * Indicate time intervals (vertical lines) * As separator between channels (horizontal lines) This adds visual noise because for the time interval to be visible, the grid color needs to be bright, resulting in a rectangle-grid backdrop. Recently, the VSE got a theme setting to customize alternate-row background color. This should be sufficient to tell the channels apart without the need for a line in between. Additionally, this patch makes the VSE background use the theme setting as-is, without hard-coded darkening, to ease the tweaking of themes. This aligns the style of the VSE backdrop with the rest of Blender (Outliner rows, File Browser, Spreadsheet, Info and animation editors). Related reports: T92581 Related task: T92792 #### Before {F11680317, size=full} #### After {F11694981, size=full} Reviewed By: #user_interface, Severin Maniphest Tasks: T92581 Differential Revision: https://developer.blender.org/D13072
2021-11-05Merge branch 'blender-v3.0-release'Bastien Montagne
2021-11-05Cleanup (UI): Add/use type for operator context enumJulian Eisel
Adds a `wmOperatorCallContext` typedef for the existing `WM_OP_XXX` operator context enum. This adds type safety, allows the compiler to produce better warnings and helps understanding what a variable is for. Differential Revision: https://developer.blender.org/D13113 Reviewed by: Campbell Barton
2021-11-05Fix T92807: Incorrect display planar tracking.Jeroen Bakker
Issue introduced in {7e66616b7e15} where the shader was replaced with a 2d image shader. This patch reverts several commits that removed the 3d image shader.
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Cleanup: use (s) postfix for messages that may be pluralCampbell Barton
Ref 01c824ac88a0ff95a26c26be09f7a8853e47e446
2021-11-05Fix T70768: Python gizmo-groups not working in the sequencerCampbell Barton
2021-11-05Cleanup: use doxy sections in graph editor moduleCampbell Barton
2021-11-05Cleanup: spelling/typosCampbell Barton
2021-11-05Cleanup: move code in graph_slider_opsChristoph Lendenfeld
Future operators can use the same code, so it is moved up to disassociate it from decimate No functional changes Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12489 Ref: D12489
2021-11-05Cleanup: renames in graph_slider_opsChristoph Lendenfeld
This patch renames: * tDecimateGraphOp to tGraphSliderOp * dgo to gso (to match with the struct rename) * decimate_reset_bezts to reset_bezts to indicate it can be used by other functions No functional changes Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12490 Ref: D12490
2021-11-04GPencil: New option to Merge All layers in active oneAntonio Vazquez
This new option allows to combine all layers in the active one. Also the merge down option has been improved. Reviewed By: mendio, pablo vazquez (UI) Differential Revision: https://developer.blender.org/D13054
2021-11-04Cleanup: Remove operator context override for drop-box operatorsJulian Eisel
Drop-boxes should act on the context determined through the exact cursor location. There should be no need to override that, basically by the nature of how drop-boxes work. So Campbell and I agreed on removing this. If we wanted to support it, we'd have to restore the operator context when drawing drop-boxes, see https://developer.blender.org/T92501#1247581.
2021-11-04Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-04UI: Fix UIList item using "regular" widget colors while editedPablo Vazquez
Simply removing the check for `UI_STATE_TEXT_INPUT` makes it inherit the "List Item" User Interface theme settings. This patch changes the default theme to match the colors of text input fields. #### Master {F11680556, size=full} #### This patch {F11680557, size=full} All the included commmunity themes seem to work well (only Deep Grey might need more contrast but that's a different patch). Related reports: T92720 Reviewed By: #user_interface, Severin Maniphest Tasks: T92720 Differential Revision: https://developer.blender.org/D13073
2021-11-04Merge remote-tracking branch 'origin/blender-v3.0-release'Julian Eisel
2021-11-04Fix T92814: improve automatic linking when inserting Float Curve nodeJacques Lucke
This solves the issue in a more general that can also be used to solve similar issues for other nodes in the future. Nodes can specify their "main" socket in their declaration so that we don't have to rely on heuristics. Differential Revision: https://developer.blender.org/D13108
2021-11-04Fix T92501: Crash when dragging material assets over 3D View regionsJulian Eisel
Issue was that the context used for dropbox handling and polling didn't match the one used for drawing the dropbox and generating the tooltip text (which would determine the material slot under the cursor, requiring context). The mismatch would happen with overlapping regions. Actually, this patch includes two fixes, each fixing the crash itself: * Store the context from handling & polling and restore it for drawing. * Correct the hovered region lookup for drawing to account for overlayed regions. Note that to properly set up context for drawing, we should also account for the operator context, which isn't done here, see https://developer.blender.org/T92501#1247581.
2021-11-04Cleanup: fix compiler warningsJacques Lucke
Those were introduced in rBccead2ed9c6121c42a516712da38a2faec877e2f.
2021-11-04Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-04Fix T92791: collapsed nodes scaling widget wrong with interface scalePhilipp Oeser
Size, position and scale of the "two-line" widget (the one to scale a node horizontally) was not taking interface scale into account. In the case of the report, it could happen it draws behind an output socket. before (at 2.0 interface scale) {F11698493} after (at 2.0 interface scale) {F11698501} Maniphest Tasks: T92791 Differential Revision: https://developer.blender.org/D13088
2021-11-04Fix the GPencil stroke not sticking to other strokesGermano Cavalcante
Issue seen when setting `Stroke Placement` of type `Stroke`. Regression introduced in {rBaa0ac0035a0d3601672a0c732e3f8f932a36fc04}.
2021-11-03Spreadsheet: Display geometry volume component gridsHans Goudey
This shows a geometry's volume grids in the spreadsheet. Three columns are displayed: - Name: The text name of each grid - Data type: Float, Vector, etc. - Class: Fog volume, Level Set, or unkown In the future, values of the voxels themselves could be displayed, but that is a much more complex problem, with important performance implications, etc. Differential Revision: https://developer.blender.org/D13049
2021-11-03GPencil and Annotation: Use cached depth to perform depth testing operationsGermano Cavalcante
Operations such as erasing with occlusion and drawing on the surface require reading the depth buffer. However, this is being done with minimal efficiency. Currently, to read the depth corresponding to each point of the new stroke, a ReadPixel is called to send a message to the GPU and read the depth of the corresponding pixel in the VRAM. The communication between GPU and CPU is known to be a slow operation so it is good to be avoided. Therefore, save the entire depth buffer in a cache to be read directly from the RAM. (Also the `ED_view3d_autodist_depth` and `ED_view3d_autodist_depth_seg` have been removed since they are no longer used). Reviewed By: antoniov, fclem Differential Revision: https://developer.blender.org/D10894
2021-11-03Include node name for socket animation channel UIPhilipp Oeser
The channel names were often indistingushable in animation editors. Now include the node _name_ (unfortunately, getting the _label_ could result in bad performance in some circustances -- see previous version of D13085). Similar to what rB77744b581d08 did for some VSE strip properties. ref. T91917 Maniphest Tasks: T91917 Differential Revision: https://developer.blender.org/D13085