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-24UI: Fix alignment for recently added/edited iconsAlessio Monti di Sopra
The patch slightly modifies two recently added icons "FILE_BLEND" and "CURRENT_FILE" to better align them to the pixel grid, and change the design of "FILE_BACKUP" to avoid alignment and readability issues, as well as avoiding the outline version of the Blender logo which violates the official logo guidelines. Differential revision: https://developer.blender.org/D13346
2021-11-24Merge branch 'blender-v3.0-release'simon
2021-11-24Fix T93352: Material previews lost render samplesSimon Thommes
There are few layers of things which lead to the situation of more noisy material preview: the do-version of the preview.blend did not happen (at least from the Python side as we did not investigate the C side deep). This made Cycles to use default integrator settings for the preview file ever since the Cycles X was merged. Those settings are adaptive sampling with max 4K samples, noise threshold 0.01. Opening the file in Blender 3.0 for edit did run the versioning code which effectively lowered the number of samples used for rendering. This change makes it so the preview file is configured with the exact effective settings as seen by Cycles prior to the file was re-saved (adaptive sampling with the parameters noted above). This fix does not chaneg the fact that the versioning code is not used for preview.blend, it only solves the regression in the quality of previews. The fix is done and reviewed with collaboration with Dalai and Sergey.
2021-11-23Merge branch 'blender-v3.0-release'Bastien Montagne
2021-11-23Icons: Replace .blend file icons, add "Current File" iconJulian Eisel
The Blender icon must not be used to refer to anything that is not Blender itself. Using the Blender icon on its own to refer to .blend files or the currently open file is a no-go, which was brought up by Ton. This does the following changes to the icon file: * Add new "Current File" icon * Change the .blend file icon to contain a file icon with the Blender logo, but not merely the Blender logo. * Change the backup .blend file icon accordingly. The new "Current File" icon is used in the Asset Browser, but could/should be used in the Outliner as well. That needs more design discussion though.
2021-11-23Fix: Const warning in editmesh_knife.cErik
Fixes a warning caused by freeing a const pointer. This commit removes the const modifier. Differential Revision: https://developer.blender.org/D13321
2021-11-22Merge remote-tracking branch 'origin/blender-v3.0-release'Dalai Felinto
2021-11-22Material Preview: Fix Sphere object (squared UV and poles)Dalai Felinto
A good sphere preview material has a 1:1 UV ratio (so we see squares as least distorted as possible), as well as good poles. Square UV: The original sphere expected a 2:1 panorama to be mapped to it. This patch changes that (I scaled Y by 0.5) so that square textures look ok. Poles: The original sphere had a low initial resolution, so no ammount of subdivision would fix the poles. The sphere has a subdivision modifier with 0 resolution. Later (3.1?) I want to try to change the resolution on-the-fly based on whether the material has a displacement map. Old sphere (1.9K vertices): {F11845752, size=500px} New sphere (2.0K vertices): {F11845710, size=500px} Differential Revision: https://developer.blender.org/D13309
2021-11-19Update splash for Blender 3.x development seriesPablo Vazquez
CC-BY Blender Studio https://studio.blender.org Update the splash artwork for the daily builds (`master`) to celebrate the beginning of a new major series in Blender. The badges of the Development Fund membership levels have been removed for a simpler design, and the font matches the one used elsewhere in blender.org
2021-11-18Node Editor: Change minimum zoomErik
Now with Geometry Nodes in Blender, trees can become much bigger than before. This changes the minimum zoom value in the node editor. Differential Revision: https://developer.blender.org/D13254
2021-11-17Fix T90412: Inconsistency in mask strip colorRichard Antalik
This seems to be oversight in 271231f58ee3 where strip color was defined only for light theme.
2021-11-17cleanup: fix typos in comments and docsluzpaz
Followup to https://developer.blender.org/D10288 Reviewed By: Blendify Differential Revision: https://developer.blender.org/D10346
2021-11-17Merge branch 'blender-v3.0-release'Aaron Carlisle
2021-11-17Cleanup: Correct copy paste error in commentAaron Carlisle
Mistake from rB2743d746ea4f38c098512f6dd6fc33d5a62429d3
2021-11-05UI: Fix minor theme mismatchPablo Vazquez
Pie menu got wrong item highlight and options settings were outdated.
2021-11-05UI: Fix minor theme mismatchPablo Vazquez
Pie menu got wrong item highlight and options settings were outdated.
2021-11-05Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-05UI: Various theme fixes related to contrastPablo Vazquez
* Animation channels (Fixes T92612) * Curve widget (Fixes T92595) * Pie menu (Fixes T92590) * Radio and toggle buttons background * Checkbox background * Fix highlighted marker name on Dopesheet (text highlight on Dopesheet) #### Master {F11697667, size=full} #### This Patch {F11697669, size=full} {F11697849, size=full} {F11697833, size=full} {F11697852, size=full} Reviewed By: #user_interface, campbellbarton, Severin Maniphest Tasks: T92595, T92612, T92590 Differential Revision: https://developer.blender.org/D13087 # Conflicts: # source/blender/blenkernel/BKE_blender_version.h
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-04Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-04Fix T92812: Startup has "Standard" View Transform Instead of "Filmic"Hans Goudey
A repeat of the problem I caused last time I edited the startup file. Never do it with a lite build! Also align the toolbar widths in all editors to the smallest size they snap to.
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-03Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-03Fix: Startup file geometry nodes viewport inconsistent orientationHans Goudey
Copy the orientation from the "Layout" workspace 3D view.
2021-10-27Revert "3.0 splashscreen"Dalai Felinto
This reverts commit 78c1c719880cc97fc2719e6a7f67509459cc9e6c.
2021-10-273.0 splashscreenDalai Felinto
Credit: Blender Animation Studio
2021-10-27UI: Theme refresh for Blender v3.0Pablo Vazquez
{F11548100, size=full} To celebrate the beginning of a new series, it feels like the right time to give the theme a fresh look while improving on what already works. The aim of this refresh is to keep a familiar look but with polishing touches here and there. Like new paint on the walls of your well known house. The theme for Blender 2.8 was well received but presented a few flaws. * Transparency on menus and tooltips reduce readability * Mismatch on certain colors, especially outlines of connected widgets * Active/open menus highlight was not prominent enough * Header background mismatch in some editors At the same time we can make use of new features in 3.0: * Make panels look like panels again (like in v2.3!) * Make use of roundness in more widgets * Since nodes are no longer hard-coded to be transparent, tweak opacity and saturation * Tweak colors for the new dot grid This update does not include: * Meshes in edit mode to match greenish object-data color. This needs tweaks in the code to improve contrast. * A copy of the Blender 2.8x legacy theme. This could be added to the community themes (shouldn't cost much maintenance, I hope) There will be certainly small tweaks to do here and there, I've been working using this theme for months but there can be areas that are missing update. The overall style is presented here. This commit bumps the file subversion. Reviewed By: #user_interface, Severin Differential Revision: https://developer.blender.org/D13008
2021-10-26Node Editor: Style update to nodesPablo Vazquez
This patch changes how nodes look visually, in an attempt to fix a number of issues: * The header background is currently drawn using a theme color fully opaque, this limits the colors we can use because the node name/label is drawn on top. * Hard-coded transparency makes nodes hard to read. The node backdrop already has alpha so if the user wants it they can set it. This patch uses alpha from the theme. * Better muted status indicator, instead of simply making everything transparent and the wires inside red, draw a red outline around the node, darken the header and backdrop. * On muted nodes, display wires behind the backdrop to not interfere with text/widgets inside the node. Nodes: * Darken header to improve readability of node label. * Draw a line under the header * Thicker outline. * Do not hard-code transparency on nodes, use the theme's node backdrop alpha component. * Use angle icon instead of triangle (to be consistent with the [[ https://developer.blender.org/D12814 | changes ]] to panels) Style adjustment to sockets drawing: * Do not hard-code the socket outline color to black, use `TH_WIRE` instead * Do not use `TH_TEXT_HI` for selected sockets, use `TH_ACTIVE` (active node outline) * Do not draw sockets background transparent on muted nodes. * Thicker outline to help contrast and readability {F11496707, size=full} Reviewed By: #user_interface, HooglyBoogly Differential Revision: https://developer.blender.org/D12884
2021-10-26Distance Scrambling for for Cycles X - Sobol versionWilliam Leeson
Cycles:Distance Scrambling for Cycles Sobol Sampler This option implements micro jittering an is based on the INRIA research paper [[ https://hal.inria.fr/hal-01325702/document | on micro jittering ]] and work by Lukas Stockner for implementing the scrambling distance. It works by controlling the correlation between pixels by either using a user supplied value or an adaptive algorithm to limit the maximum deviation of the sample values between pixels. This is a follow up of https://developer.blender.org/D12316 The PMJ version can be found here: https://developer.blender.org/D12511 Reviewed By: leesonw Differential Revision: https://developer.blender.org/D12318
2021-10-26GPencil: Fix(unreported) Dash modifier wrong logic.YimingWu
When the modifier iterates to an empty layer with no frame it will return, while the correct logic is to continue.
2021-10-26UI: Change node editor grid into a dot gridHans Goudey
This patch makes the background grid of the node editor a grid of dots instead of lines. This makes the background look a bit more subtle and reduces visual complexity. The dots are meant to provide a reference when panning and zooming. Based on the design of @pablovazquez, and a patch originally authored by @fabian_schempp. The "Grid Levels" controls how many levels of dots are drawn. As the editor zooms in, the higher levels of dots fade in, making them closer together visually. The zoom factor at which each grid starts and ends fading in is controllable in the code, and could be tweaked further in the future. The new default value is 7, out of a range from 0 to 9. Differential Revision: https://developer.blender.org/D10345
2021-10-25UI: Use flat colors for NLA strip drawingPablo Vazquez
The NLA editor is in need of a design overhaul, hopefully for 3.1 or 3.2. This should be a project on itself, however, the worst offender currently is the use of gradients on strips. Something that can be fixed easily. {F11390293, size=full, loop, autoplay} A simple replace of `UI_draw_roundbox_shade_x` for `UI_draw_roundbox_4fv` brings strips in line with how other areas are drawn. This patch also: * Remove embossed lines around active action channel. * Highlight the strip while being moved. This patch does not include any theme changes. This will be tackled separately. Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D12968
2021-10-22UI: Fix misaligned iconsGilberto Rodrigues
This patch corrects the misalignment of some icons. Some of them can't be centered because they would look blurry, but look better if shifted to the right instead of shifted to the left. {F10864196 size=full} {F10864202 size=full} {F10864216} {F10864228} {F10864231 size=full} {F10864234 size=full} {F10867008 size=full} {F10867015 size=full} Reviewed By: #user_interface, pablovazquez Differential Revision: https://developer.blender.org/D12789
2021-10-22Fix T90638: Inconsistent object data behavior when link-duplicating collections.Bastien Montagne
Camera, lattice and speaker object types were missing there own proper `USER_DUP_` flags, leading to not properly handling duplication of their object data. NOTE: We could probably simply opions here, by using categories (like 'GEOMETRY', 'SHADING', etc.) instead of exact object types. But this is beyond bugfix scope.
2021-10-21Node Editor: Introduce color overlay and dashed wires theme settingPablo Vazquez
This patch includes code from D9891 and D12754, so credit goes to Juanfran and Dalai. I updated the patches to work with `master` and with the new overlay toggle. The reason to include both changes as part of one patch is that the dimmed dashed lines work much better together with colored wires. Theme setting for dash opacity: {F11370574, size=full} {F11286177, size=full, autoplay, loop} {F11149912, size=full} For adding the overlay I used `SpaceImageOverlay` as reference, although I'm not familiar with this code so there might be mistakes. Reviewed By: #user_interface, HooglyBoogly Differential Revision: https://developer.blender.org/D12886
2021-10-20Fix: Add cast to atof for CYCLES_CONCURRENT_STATES_FACTOR env variable parsing.William Leeson
The conversion from double to float was causing a build failure. Differential Revision: https://developer.blender.org/D12946
2021-10-17UI: Visual style update to panelsPablo Vazquez
Back in Blender 2.30, the GUI project brought panels into Blender among other important visual updates. For the first time it was possible to move the wall of buttons around. Providing a clear separation between sections (it even allowed the grouping of panels in tabs!) During the 2.5 redesign, the separation between panels became a line on top of each panel, and panels received theme settings for background and header colors. The default theme used the same color for both. In 2.8 the background color of panels was different from headers in the default theme, so the separator line was removed. While the separator line wasn't elegant (only on top, non-themeable, hard-coded emboss effect), it provided a sort of separation between panels. This patch solves the panels-separation by simply adding a margin space around them (not visible in default theme yet). Even though the margin reduces the width of the working area slightly, it makes room for the upcoming always-visible scrollbars. Other adjustments: * Use arrow icon instead of triangle to collapse/expand * Use rounded corners to match the rest of the UI (editor corners, nodes, etc). {F10953929, size=full} Margin on panels makes use of the `style->panelouter` property that hasn't been used in a while. Also slight tweaks to `boxspace` and `templatespace` style properties so they are multiples of 2 and operations on them round better. There is technically no need to update the themes for them to work, so no theme changes are included in this patch. {F10953931, size=full} {F10953933, size=full} {F10953934, size=full} {F10954003, size=full} ---- A new theme setting under Style controls the roundness of all panels (added it to Style instead of ThemeSpace because I think controlling the panel roundness per editor is a bit overkill): {F11091561, size=full, autoplay, loop} Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D12814
2021-10-15UI: View2D: Align vertical indicators to viewPablo Vazquez
In editors with vertical scale indicators, such as Graph Editor, Drivers, or VSE, display the values aligned to the view. Also add a shadow (similar to the 3D View info) to improve readability when the text is on top of curves, strips, or other content. {F10987240, size=full} Reviewed By: Severin Differential Revision: https://developer.blender.org/D12809
2021-10-08User Interface: Use theme alpha for the nodes frames backgroundDalai Felinto
This bump subversion.
2021-10-04Cleanup: Reverting submodules hashDalai Felinto
This partially reverts commit e62ce9e08e919f25aad444f378947f6be932730f.
2021-10-04Fix camera border bug in passepartout render viewSimon Lenz
{F10761402} With active viewport render from camera view, the camera border shows up, even when passepartout and overlays are disabled. By moving the line-drawing code to the passepartout section, it is effectively disabled when passepartout is off. Reviewed By: sebastian_k Differential Revision: https://developer.blender.org/D12745
2021-09-29VSE: Add color tags to stripsFalk David
This patch adds color tags to VSE strips, an overlay option to toggle the colors on and off, a section in the theme settings to define the 9 possible colors and two ways of changing the color tag through the UI. You can change the color through the right-click context menu, or in the strip side panel next to the strip name. Color tags are defined in user preferences and they can be disabled in overlay settings. Reviewed By: campbellbarton, ISS Differential Revision: https://developer.blender.org/D12405
2021-09-27Nodes: Change wire color to increase contrastDalai Felinto
If the theme used by the user did not touch the wire or the wire outline colors this will update them as well. This was supposed to be a part of a bigger UI theme change for 3.0. But it was expedited because of the recent change in line thickness for the noodles (2bd02052157). Theme change by Pablo Vazquez. Differential Revision: https://developer.blender.org/D12649
2021-09-26LineArt: Smooth tolerance value for chaining.YimingWu
smooth out jaggy lines with a given threshold. For each point in a stroke, the ones with in a given distance of its previous segment will be removed, thus "zig-zag" artefacts can be cleaned up. Reviewed By: Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D12050
2021-09-22Geometry Nodes: Curve Fillet Nodedilithjay
This node can be used to fillet splines at control points to create a circular arc. The implementation roughly follows T89227's design. The node works in two main modes: Bezier and Poly * Bezier: Creates a circular arc at vertices by changing handle lengths (applicable only for Bezier splines). * Poly: Creates a circular arc by creating vertices (as many as defined by the Count fields input) along the arc (applicable for all spline types). In both modes, the radius of the created arc is defined by the Radius fields input. The Limit Radius attribute can be enabled to prevent overlapping when the defined radius exceeds the maximum possible radius for a given point. Reviewed By: Hans Goudey Differential Revision: https://developer.blender.org/D12115
2021-09-17UI: Automatic Blend Thumbnail SelectionHarley Acheson
Adds an "Auto" option to blend thumbnail types that will automatically use Screenshot if there is no camera and 3dview, or workbench render with shading settings from the largest 3dview. See D12407 for more details. Differential Revision: https://developer.blender.org/D12407 Reviewed by Campbell Barton
2021-09-15GPencil: Dot dash modifier.YimingWu
Create dot-dash effect for grease pencil strokes. User can manually edit the length, gap and styles for each segment of dashed lines. The values in each segment can all be key-framed to make animations. Reviewed By: Hans Goudey (HooglyBoogly), Antonio Vazquez (antoniov) Differential Revision: http://developer.blender.org/D11876
2021-09-10Revert startup.blend changes from commit a00507c482e2Brecht Van Lommel
It appears an old version of this file was committed by accident. The intended change to remove sculpt layers was done in versioning code and does not require a modified startup.blend.
2021-09-10Templates: remove masking layers from the default startup fileCampbell Barton
Remove sculpt mask layer from the default cube, added in 444934632a8d8e239bc0c6d79a638ec0943152a6.