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-01-07UI: Use Eyedropper Cursor with Sample Weight ToolJuanfran Matheu
While using the Sample Weight tool in Weight Paint mode, user eyedropper mouse cursor. Differential Revision: https://developer.blender.org/D9431 Reviewed by Pablo Vazquez
2021-01-07UI: Show Weight Value with Sample Weight ToolJuanfran Matheu
While using the Sample Weight tool in Weight Paint mode, show weight value in tool header. Differential Revision: https://developer.blender.org/D9432 Reviewed by Pablo Vazquez
2021-01-07Fix T84469: Online manual raises an exception with key-map optionsCampbell Barton
Report an error instead of raising a Python exception. Currently these properties aren't written to the manual so it's best to show an error.
2021-01-07UI: Fix various issues with UI textYevgeny Makarov
- Use the name "Point Cloud" instead of "Pointcloud" - Fix a typo in UV_OT_smart_project. - Use the name "Install Light" to for the installation operator for MatCaps, HDRIs, and Studio Lights. Fixes T83585, T65291, and T54921 Differential Revision: https://developer.blender.org/D9867
2021-01-06Fix T70316: Custom "Delete Keyframes" shortcut still requiresPhilipp Oeser
confirmation Deleting keyframes in the dopesheet or graph editor always required confirmation, even if used ouside of the "Delete" menus. Now add a "confirm" option [same as for deleting objects], which can be disabled for immediate keyframe deletion. This will also change the default behavior and bring this in line with how object deletion works so there is one shortcut for bringing up the menu/confirmation and another shortcut to delete immediately without requiring confirmation / another click: - Blender Default keymap: "X" for menu, "Del" for immediate - Industry Compatible: "Backspace" for menu, "Del" for immediate Maniphest Tasks: T70316 Differential Revision: https://developer.blender.org/D9651
2021-01-05Fix T78681: "Add Primitive" icons are cropped in tool headerHans Goudey
The issue can be simply resolved by moving the primitives and plus icons slightly. They still bump up against the top and bottom of the header but it looks much better now.
2021-01-05Fix T78017: Broken layout in "View Lock" panel with armatureHans Goudey
The property split layout was broken when the bone dialog appeared, because the name field was not set. Theoretically property split should work in this case, but it makes sense to use the label anyway.
2021-01-05UI: Fix typo in operator descriptionHans Goudey
2021-01-03Update RNA to manual url mappingsAaron Carlisle
2021-01-03Fix Unreported: Run time error in UI codeAaron Carlisle
Steps to reproduce: 1. Add clip to clip editor 2. Open the tracking settings & tracking settings extra panels To fix this the sub panel is only drawn if a track is active. The main panel will exit early and display a "No active track" message. This is consistent with other panels in the clip editor. Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9727
2021-01-01Fix T84024: Empty image opacity labeled transparencyHans Goudey
This value really is the opacity, or the alpha, since a value of 1.0 means that the image is fully visible, not invisible like "full transparency" would suggest. Mistake in rBea4d28aea0343a. Differential Revision: https://developer.blender.org/D9920
2020-12-29Fix T83749: Better handling of alpha in generic Nodes material wrapper for ↵Bastien Montagne
IO add-ons. Try to detect if a given image may have valid alpha data or not (based on number of channels and depth). This may be a bit doggy in theory, but in practice it should cover most fields as expected. We can always adjust the euristic here in other wrong cases appear. This will affect all import add-ons using that node shader wrapper (at least OBJ and FBX ones).
2020-12-28Cleanup: UI messages fixes.Bastien Montagne
2020-12-28UI: List library overrides in the OutlinerJulian Eisel
Having a centeral place to find a list of all library overrides should be useful for managing production scenes where library overrides are used a lot. This change adds the individually overridden properties of a data-block under the data-block itself. Just how we show modifiers, constraints or pose channels there. This way we can also expose library override operations/options better in future. There's also a filter option for the library overrides now, so they can be hidden. It is only available in the View Layer display mode though, like the other filter options. One internal change this has to do is adding more informative return values to undo pushes and the library override functions called by it. That way we can send a notifier when library overrides change for the Outliner to know when to rebuild the tree. Differential Revision: https://developer.blender.org/D7631 Reviewed by: Andy Goralczyk, Bastien Montagne, William Reynish
2020-12-27Fix T84101: Duplicate operator not available for some data-block selectorsJulian Eisel
In some operators that previously allowed duplicating the selected data-block, the operator would not be available now. 2250b5cefee7 split the "new" operators into "new" and "delete" to allow clearly differentiating between the two. But I apparently didn't amend all affected data-block selectors to use the added "duplicate" operators. I went over all operators that were split now and made sure all affected data-block selectors are updated.
2020-12-24UI: Cleanup spelling of compound wordsYevgeny Makarov
Approximately 138 changes in the spelling of compound words and proper names like "Light Probe", "Shrink/Fatten", "Face Map". In many cases, hyphens were used where they aren't correct, like "re-fit". Other common changes include: - "Datablock" -> "data-block" - "Floating point" -> "floating-point" - "Ngons" -> "n-gons" These changes help give the language used in the interface a consistent, more professional feel. Differential Revision: https://developer.blender.org/D9923
2020-12-24Cleanup: Fix capitalization in various UI stringsYevgeny Makarov
Approximately 195 changes of capitalization to conform to MLA title style. UI labels and property names should use MLA title case, while descriptions should be capitalized like regular prose, generally with only the start of a sentence capitalized. Differential Revision: https://developer.blender.org/D9922
2020-12-23Geometry Nodes: new Rotate Points nodeJacques Lucke
This node updates the "rotation" attribute on points. Multiple ways to specify the rotation are supported. Differential Revision: https://developer.blender.org/D9883 Ref T83668.
2020-12-23Fluid: Added new viscosity solverSebastián Barschkis
Mainly updated the Mantaflow version. It includes the new viscosity solver plugin based on the method from 'Accurate Viscous Free Surfaces for Buckling, Coiling, and Rotating Liquids' (Batty & Bridson). In the UI, this update adds a new 'Viscosity' section to the fluid modifier UI (liquid domains only). For now, there is a single 'strength' value to control the viscosity of liquids.
2020-12-22Animation: Bake Action, improved discontinuity filter for bonesSybren A. Stüvel
Perform the same filtering as e5528904f12104ee31e7b67b54f2a4b3f14cec1e introduced for object rotations, for bone rotations.
2020-12-22UI: Properties editor popover and outliner syncNathan Craddock
This adds a popover to the properties editor. Currently the only setting is for controlling outliner to properties syncing. Because we cannot define a perfect heuristic to determine when properties editors should change tabs based on outliner icon selection, we need an option to enable or disable this behavior per properties editor. There are 3 options for controlling the syncing. Auto uses the heuristic to only allow tab switching when a properties editor and outliner share a border. On and off enable and disable syncing respectively. Differential Revision: https://developer.blender.org/D9758
2020-12-21Fix part of T84004: Some 2.92 alpha UI strings can't be translated.Bastien Montagne
Adding 'new' (?) `heading` parameter of some UILayout functions...
2020-12-21Fix part of T84004: Some 2.92 alpha UI strings can't be translated.Bastien Montagne
Not sure why, but py files from `bl_operators` were never considered for i18n string extraction... They do define some UI strings though.
2020-12-21Some more UI messages fixes...Bastien Montagne
2020-12-21Fix some UI messages and update i18n spellcheck utils.Bastien Montagne
2020-12-20UI: Fix text padding in some list widgetsYevgeny Makarov
Normally, pure text buttons have no padding at their edges so they align with edges of buttons, see D9058. However, in several cases there are labels aligned to the right side of a list widget row, so they're missing padding against the right edge. The fix is to use emboss = 'NONE' for such labels, which changes the drawing style, adding padding on the right edge. (Normally so labels aligned with the text from non-embossed buttons). This is not necessarily intended, but it works properly. For more information, see the revision. Differential Revision: https://developer.blender.org/D9874
2020-12-20UI: Slightly improve alignment in selection tool iconsHans Goudey
Parts of the tool icons for box, circle, lasso, and tweak select that were meant to be flat or at a 45 degree angle were slightly misaligned, making the edge look blurry.
2020-12-20VSE: Add options to select neighboring handlesPeter Fog
Options added to `sequencer.select_handles()` operator. Reviewed By: ISS Differential Revision: https://developer.blender.org/D7707
2020-12-20VSE: Remove cost calculation from cacheRichard Antalik
This value was meant to be used for keeping images that are slowest to render in cache. Method of measurement was flawed, because it doesn't take UI overhead into consideration. Cache panel is to be removed because users should not have to tweak settings like this. It is not useful for development either, therefore it is removed completely.
2020-12-19Movie Clip: Annotation UI ImprovementsAaron Carlisle
Previously, the Annotation panels were a bit buggy in the movie clip editor. This commit fixes the issue of the panel in the sidebar would disappear when selecting "Tracks" if no tracks were added to the clip. To solve this issue the user if given a label text saying "No annotation source" This commit also removes some grease pencil operators from the toolbar that do not work with the new annotation system. This commit also moves the data source choice from the toolbar to the sidebar. This is needed to migrate the current toolbar to the new tool system (see T83612) Some old invalid code was also removed. Reviewed By: #grease_pencil, antoniov Differential Revision: https://developer.blender.org/D9729
2020-12-19Compositor: New Exposure NodeAaron Carlisle
This new node increases the radiance of an image by a scalar value. Previously, the only way to adjust the the exposure of an image was with math node or using the scene's color management. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D9677
2020-12-19Fix T83868: Button animation states no longer visible without embossHans Goudey
This bug was caused by making it so that non-embossed modifier icon buttons could become an operator button and retain their red highlight for disabled modifiers. The icon button needs emboss turned off, but in earlier versions of Blender, `UI_EMBOSS_NONE` would be overridden by animation or red alert states. Instead of abusing "NONE" to mean "none unless there is animation or red alert", this commit adds a new emboss flag for that situation, `UI_EMBOSS_NONE_OR_STATUS`, which uses no emboss unless there is an animation state, or another status. There are only a few situations where this is necessary, so the change isn't too big. Differential Revision: https://developer.blender.org/D9902
2020-12-18UI: Redesigned data-block selectorsJulian Eisel
The previous design is rather old and has a couple of problems: * Scalability: The current solution of adding little icon buttons next to the data-block name field doesn't scale well. It only works if there's a small number of operations. We need to be able to place more items there for better data-block management. Especially with the introduction of library overrides. * Discoverability: It's not obvious what some of the icons do. They appear and disappear, but it's not obvious why some are available at times and others not. * Unclear Status: Currently their library status (linked, indirectly linked, broken link, library override) isn't really clear. * Unusual behavior: Some of the icon buttons allow Shift or Ctrl clicking to invoke alternative behaviors. This is not a usual pattern in Blender. This patch does the following changes: * Adds a menu to the right of the name button to access all kinds of operations (create, delete, unlink, user management, library overrides, etc). * Make good use of the "disabled hint" for tooltips, to explain why buttons are disabled. The UI team wants to establish this as a good practise. * Use superimposed icons for duplicate and unlink, rather than extra buttons (uses less space, looks less distracting and is a nice + consistent design language). * Remove fake user and user count button, they are available from the menu now. * Support tooltips for superimposed icons (committed mouse hover feedback to master already). * Slightly increase size of the name button - it was already a bit small before, and the move from real buttons to superimposed icons reduces usable space for the name itself. * More clearly differentiate between duplicate and creating a new data-block. The latter is only available in the menu. * Display library status icon on the left (linked, missing library, overridden, asset) * Disables "Make Single User" button - in review we weren't sure if there are good use-cases for it, so better to see if we can remove it. Note that I do expect some aspects of this design to change still. I think some changes are problematic, but others disagreed. I will open a feedback thread on devtalk to see what others think. Differential Revision: https://developer.blender.org/D8554 Reviewed by: Bastien Montagne Design discussed and agreed on with the UI team, also see T79959.
2020-12-18Geometry Nodes: move Boolean node to mesh categoryJacques Lucke
This node works on meshes specifically.
2020-12-18Function Nodes: Input VectorDalai Felinto
Ref: T82651 Normally people use "Combine XYZ" to input a vector, but it is more interesting to have an explicit vector input. So this is basically "Combine XYZ" without any input sockets, the values are stored in the node itself. Differential Revision: https://developer.blender.org/D9885
2020-12-18Fix mistake in Bake Action discontinuity fixSybren A. Stüvel
Fix mistake in e5528904f12 where one change accidentally wasn't included in the commit.
2020-12-18Fix T83351: Baked object rotation has discontinuitiesSybren A. Stüvel
Fix Euler discontinuities in the Bake Action operator, by explicitly using the previous Euler angles when converting from matrix to rotation. This basically follows the same approach as used in e4ca1fc4ea43, although the Euler Discontinuity Filter also performs single-channel filtering which the Bake Action operator doesn't.
2020-12-18UI: Don't use abbreviations in label textYevgeny Makarov
Expand abbreviations for words like "Bright" (instead of "Brightness"), "Premul", "Lib", "Dir", etc. Differential Revision: https://developer.blender.org/D9862
2020-12-17Geometry Nodes: Point separate and attribute compare nodesHans Goudey
This patch adds two related nodes, a node for separating points and mesh vertices based on a boolean attribute input, and a node for creating boolean attributes with comparisons. See the differential for an example file and video. Point Separate (T83059) The output in both geometries is just point data, contained in the mesh and point cloud components, depending which components had data in the input geometry. Any points with the mask attribute set to true will be moved from the first geometry output to the second. This means that for meshes, all edge and face data will be removed. Any point domain attributes are moved to the correct output geometry as well. Attribute Compare (T83057) The attribute compare does the "Equal" and "Not Equal" operations by comparing vectors and colors based on their distance from each other. For other operations, the comparison is between the lengths of the vector inputs. In general, the highest complexity data type is used for the operation, and a new function to determine that is added. Differential Revision: https://developer.blender.org/D9876
2020-12-17Geometry Nodes: add Attribute Color Ramp nodeJacques Lucke
Differential Revision: https://developer.blender.org/D9861 Ref T82585.
2020-12-17Fix asset data-block name button not showing up in custom repositoriesJulian Eisel
The Python syntax was wrong, as noted by Campbell in 0ae15e68c785.
2020-12-16Fix T83861: Snapping panel from shortcut dissapears after clickHans Goudey
This simple change sets the call_panel operator's "keep_open" property to True for the viewport snapping panel called with `ctrl-shift-tab`. There are quite a few settings in this panel, it often makes sense to change more than one of them at a time, especially because multiple snap elements can be active at the same time.
2020-12-16VSE: Improve motion-picture workflowRichard Antalik
This commit resolves problem introduced in e1665c3d3190 - it was difficult to import media at their original resolution. This is done by using original resolution as reference for scale. All crop and strip transform values and their animation is converted form old files. To make both workflows easy to use, sequencer tool settings have been created with preset for preffered scaling method. This setting is in sequencer timeline header and add image or movie strip operator properties. Two new operators have been added: `sequencer.strip_transform_fit` operator with 3 options: Scale To Fit, Scale to Fill and Stretch To Fill. Operator can fail if strip image or video is not loaded currently, this case should be either sanitized or data loaded on demand. `sequencer.strip_transform_clear` operator with 4 options: Clear position, scale, rotation and all (previous 3 options combined). Reviewed By: sergey, fsiddi Differential Revision: https://developer.blender.org/D9582
2020-12-16Sculpt: Multires Displacement SmearPablo Dobarro
This tool implements smearing for multires displacement over the limit surface, similar to how smearing for colors and topology slide works. When used the displacement values of the vertices "slide" over the topology, creating the effect of smearing the surface detail. As the brush just modifies displacement values instead of coordinates, the total displacement of the affected area doesn't change. This means that this smearing effect can be used multiple times over the same area without generating any artifacts in the topology. When the brush is used with the pinch or expand smear modes, displacement differences are pushed into the same area, creating hard surface effects without pinching the topology. As any other brush that relies on the limit surface (like displacement erasers), this will work better after using apply base. Reviewed By: sergey, JulienKaspar, dbystedt Differential Revision: https://developer.blender.org/D9659
2020-12-16Fix exported keymaps loading in 2.91 and olderCampbell Barton
The generated keymaps used a keyword argument that doesn't exist in older Blender versions.
2020-12-16Fix 3D View is red when using stereoValdemar Lindberg
Fix T83415: 3D View is red when using stereo The red view was caused by SRGB not being enabled for an SRGB texture attached to the framebuffer. Currently, when configuring a framebuffer, the first texture attachment needs to be an SRGB format in order for the framebuffer to be binded with SRGB enabled. Thus, simply changing the SRGB texture attachment as the first texture attachment removes the red color in the view. Reviewed By: #eevee_viewport, jbakker Maniphest Tasks: T83415 Differential Revision: https://developer.blender.org/D9845
2020-12-16Geometry Nodes: rename node to Attribute RandomizeJacques Lucke
Previously, the node was called Random Attribute. For consistency reasons, we move the "Attribute" part of the name to the front.
2020-12-16Assets: Add operator & button to regenerate the automatic previewJulian Eisel
This makes it possible to trigger a refresh of the data-block preview, available next to the preview in the Asset Browser sidebar. The previews get easily outdated and automatically refreshing it all the time is not an option because it would be a consistently running, quite expensive process. So a button to cause a refresh should be reasonable. This button can also be used to switch back from a custom preview to a generated one. Although that may not be clear, and we should probably think of a way to explain that better. Addresses T82719.
2020-12-16Asset Browser UI: Changes to the sidebar layoutJulian Eisel
The current layout wasn't great at all, and it was planned to polish this. This does a first round of improvements, some more tweaking may follow. * Place name button at the top, with no panel and no leading label. * Add "Preview" panel, people may not want to see the preview all the time, it's already visible in the file list. * Move button to browse for a custom preview to the right of the preview, as icon-only. We have a similar layout in other places (UI-lists, matcaps). * Don't make the details panel a sub-panel. Looked weird because the parent doesn't have a header. * Add info icon to "No asset selected", looks a bit friendlier. * Minor cleanups in the UI script. Based on designs and feedback by William Reynish.
2020-12-16Assets UI: Tweak position of the "Add Asset Library" icon-button in PreferencesJulian Eisel
It's weird to have a button that adds a new item at the bottom be placed at the top. So rather move it below the list of custom asset library paths.