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
2022-08-09I18n: make more parts of the UI translatableDamien Picard
- "Name collisions" label in mesh properties - "Threshold" labels in Vertex Weight Edit modifier - "Particle System" label in Particle Instance modifier - Slot number in the Shader Editor - Status bar keymap items during modal operations: add TIP_() macro to status bar interface template - On dumping messages, sort preset files so their messages are stable between runs Ref. T43295 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15607
2022-08-09I18n: add extraction of modal event names.Bastien Montagne
Alternative fix to the one proposed in D15607. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D15643
2022-08-09I18n: remove Window class from message extraction blacklistDamien Picard
Messages from the bpy.types.Window class were blacklisted in the message extraction script. This change allows a few new messages to be translated, including at least two which show up in the UI. There are only 12 new messages in the .po files, so even if some never need to be translated, that's not too many. Ref. T43295 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15628
2022-08-08Merge branch 'blender-v3.3-release'Germano Cavalcante
2022-08-08Revert "Fix T100280: GG not toggling the offset transform mode in tracker"Germano Cavalcante
This reverts commits b72eddac6190353714745756dcc335f98cda1369 and f8b5706a1ffe61ae3bdd949ad851d6e9ff3fe188. And fixes T100265. It brings more problems than solutions.
2022-08-06BLF: Remove Unwanted Font FileHarley Acheson
Remove "Material Icons" font file, mistakenly added. See D15627 for details Differential Revision: https://developer.blender.org/D15627 Reviewed by Brecht Van Lommel
2022-08-05EEVEE-Next: Depth Of Field: Use random sampling in slight focus gatherClément Foucault
This replace the previous square rings approach by sampling a disk the footprint of the search area. This avoids sampling in areas in corners where there isn't any weight. This results in much less samples needed to acheive a good enough result. The max number of samples for an area of 11x11 px is hard coded to 16 and still gives good results with the final clamp. The number of samples is adaptative and is scaled by the search area (max CoC). The High Quality Slight Defocus is not required anymore. If there is a quality parameter to add, it would be sample count option. But I consider the temporal stability enough for viewport work and render can still render many full scene samples. So I don't see a need for that yet.
2022-08-05EEVEE-Next: Depth Of Field: Improve Temporal stabilityClément Foucault
This implement a full TAA pass on the depth of field input. An history buffer is kept for each view needing Depth of field. This uses a swap with a `TextureFromPool` in order to not always 2 textures allocated. Since this uses luma weighting without any input, the firefly parameter is now obsolete and has been removed. There is some tiny difference with the Film TAA so the implementation is mostly copy pasted. Also this implementation uses a LDS cache to speedup the TAA computations.
2022-08-04Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-04I18n: make several parts of the UI translatableDamien Picard
- batch rename - keyframe settings - tool name in Tool properties header - tool name in Tool properties Drag (fake) enum - new file templates - new preset - new text datablock - new collection datablock - new geometry nodes (modifier and node group) - new grease pencil data (layers and materials) Ref. T43295 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15533
2022-08-04Fix T100129: Status bar incorrectly shows "[G] Move" after pressing G once ↵Germano Cavalcante
in Edit Mode Add specific modal keyitem for Vert/Edge Slide or TrackBall. Note that there is a workround to avoid repeated keys in the status bar. Reviewed By: campbellbarton Maniphest Tasks: T100129 Differential Revision: https://developer.blender.org/D15597
2022-08-04Fix T100129: Status bar incorrectly shows "[G] Move" after pressing G once ↵Germano Cavalcante
in Edit Mode Add specific modal keyitem for Vert/Edge Slide or TrackBall. Note that there is a workround to avoid repeated keys in the status bar. Reviewed By: campbellbarton Maniphest Tasks: T100129 Differential Revision: https://developer.blender.org/D15597
2022-08-03Cleanup: make formatChris Blackbourn
2022-08-03UI: Improve circle drawing of cursor for uv sculptingChris Blackbourn
Calculate segments based on radius. Differential Revision: https://developer.blender.org/D15591
2022-08-02EEVEE-Next: Depth Of Field: Port implementation to compute shaderClément Foucault
This is a port of the previous implementation but using compute shaders instead of using the raster pipeline for every steps. Only the scatter passes is kept as a raster pass for obvious performance reasons. Many steps have been rewritten to take advantage of LDS which allows faster and simpler downsampling and filtering for some passes. A new stabilize phase has been separated from another setup pass in order to improve it in the future with better stabilization. The scatter pass shaders and pipeline also changed. We now use indirect drawcall to draw quads using triangle strips primitives. This reduces fragment shader invocation count & overdraw compared to a bounding triangle. This also reduces the amount of vertex shader invocation drastically to the bare minimum instead of having always 3 verts per 4 pixels (for each ground).
2022-08-02EEVEE-Next: Expose Motion blur shutter curve in render panelClément Foucault
It is now fully supported. Also reorder panels to keep EEVEE-Next panels in the same ordered as EEVEE's ones.
2022-08-01Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-01tweaks & fixes to UI messages.Bastien Montagne
2022-08-01I18n: make presets translatableDamien Picard
Presets are used all over the Blender UI, but were so far untranslatable. This adds the translation code as well as a new `dump_preset_messages()` function in the message extraction. This goes over all bundled preset file names and extracts them. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15570
2022-07-29BLF: New Font Stack for Better Language CoverageHarley Acheson
Replace our existing two fonts with a stack of new fonts to increase and improve language coverage and to add many new symbols and icons. Covers glyphs of top 44 languages - 1.5 billion more potential users. See D10887 for lots of details. Differential Revision: https://developer.blender.org/D10887 Reviewed by Brecht Van Lommel
2022-07-28Cleanup: Remove unused node "add and link node" operatorHans Goudey
The link drag search from 11be151d58ec0ca9 implements this now. It was added in 3ebe7d970e77 but never used.
2022-07-28EEVEE-Next: UI: Make Vector pass greyed out when motion blur is enabledClément Foucault
Also clears the render result to 0 to avoid invalid motion vectors.
2022-07-28EEVEE-Next: Motion Blur new implementationClément Foucault
The new implementation leverage compute shaders to reduce the number of passes and complexity. The max blur amount is now detected automatically, replacing the property in the render panel by a simple checkbox. The dilation algorithm has also been rewritten from scratch into a 1 pass algorithm that does the dilation more efficiently and more precisely. Some differences with the old implementation can be observed in areas with complex motion.
2022-07-27Revert "Blender 3.3 splashscreen"Thomas Dinges
This reverts commit d61ab45385eba116dbfcbf6c5ccfb997be7e324f.
2022-07-27Blender 3.3 splashscreenThomas Dinges
Credits: Piotr Krynski
2022-07-27Geometry Nodes: Shortest Paths nodesErik Abrahamsson
This adds three new nodes: * `Shortest Edge Paths`: Actually finds the shortest paths. * `Edge Paths to Curves`: Converts the paths to separate curves. This may generate a quadratic amount of data, making it slow for large meshes. * `Edge Paths to Selection`: Generates an edge selection that contains all edges that are part of a path. This can be used with the Separate Geometry node to only keep the edges that are part of a path. For large meshes, this approach can be much faster than the `Edge Paths to Curves` node, because less data is created. Differential Revision: https://developer.blender.org/D15274
2022-07-27UI: Sort tools in curves sculpting modeDalai Felinto
The previous order was based on the order of when the tools were developed. Instead we now cluster them based on similar functionality: * Selection * Add/Remove * Deform/Transform * Annotation Done in collaboration with Pablo Vazquez.
2022-07-26GPencil: Small UI change in overlay for consistencyAntonio Vazquez
To keep consistency is better add the word `Inactive` for `Fade Layers` and `Fade Objects` to keep the same naming used in other areas of the overlay panel. Reviewed by: Matias Mendiola
2022-07-26Fix T99984: Small GPencil overlay UI bugs in Edit ModeAntonio Vazquez
This commit fixes the opacity for curves hiding the option. Actually, the curve points and handles drawing is using the same code that mesh curves and the opacity is not supported. While this feature will be added for mesh curves and gpencil, now it's better to hide this option. Reviewed: Matias Mendiola Note: The handle problem reported in this task was fixed in a separated commit: 203e7ba3320e7ed978ec094efa0c1b22137fb12a
2022-07-26Cleanup: formatCampbell Barton
2022-07-25EEVEE-Next: Display compatible properties panelsClément Foucault
Only a few are kept not available as their features are not yet supported.
2022-07-24EEVEE-Next: Add back background opacity toggleClément Foucault
2022-07-23Update RNA to User manual mappingsAaron Carlisle
2022-07-21EEVEE-Next: Add back option to disable TAA (Viewport DenoisingClément Foucault
2022-07-21Spreadsheet: Implement selection filter for curves sculpt modeHans Goudey
The spreadsheet can retrieve the float selection using the same utilities as curves sculpt brushes. Theoretically this can work in original, evaluated, and viewer node modes, at least when the sculpt selection attributes are able to be propagated. Differential Revision: https://developer.blender.org/D15393
2022-07-21Cleanup: formatCampbell Barton
2022-07-20Use appropriate context for the DopeSheet Action Custom Properties panel.Alexander Gavrilov
Refactor D14646 to use context.active_action for the Action Custom Properties panel, matching the already existing Action panel. This has the advantage that it allows access to the properties of any actions with channels visible in the Dope Sheet, e.g. Shape Keys, Materials etc; while using just the active object is limited to just the object animation. Also move both panels from Item to the Action tab. Differential Revision: https://developer.blender.org/D15288
2022-07-20I18n: fixes to add-on message extractionDamien Picard
This commit fixes several issues in add-ons UI messages extraction code: - In multi-file modules, the script would crash because it tried to write to the dir instead of a `translations.py` file; - The add-on message extraction works by enabling the add-on, getting all messages; disabling the add-on, getting all messages; then comparing the two message sets. But often a bug happens where a class gets a description from somewhere else in memory. I couldn’t debug that, so a workaround is to check that the message isn’t a corrupted one before removing it; - `printf()` doesn't exist in Python and would crash the script; - `self.src[self.settings.PARSER_PY_ID]` can be replaced by `self.py_file` in class `I18n`, since a property exists to do that; - At one point a generator was printed instead of its values, so let's unpack the generator to get the values. Maybe the print could be deleted entirely; - Use SPDX license identifier instead of GPL license block, to be more in line with other scripts from the codebase. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15474
2022-07-20Add a 'Apply and Delete All' operation to shapekeys.Bastien Montagne
Adds a new option to the 'Delete ShpaKeys' operator, which first applies the current mix to the object data, before removing all shapekeys. Request from @JulienKaspar from Blender studio. Reviewed By: JulienKaspar Differential Revision: https://developer.blender.org/D15443
2022-07-19UV: add Snap Cursor to OriginTomek Gubala
Similar to snapping to the world origin in the 3D viewport. This can be found in the Shift+S pie menu and UV > Snap menu. Differential Revision: https://developer.blender.org/D15055
2022-07-19Curves: Hide snapping menu in curves sculpt modeHans Goudey
The menu/popover doesn't affect anything in the mode, and precision operations that would use snapping are meant for edit mode anyway.
2022-07-19Fix T97559: Undoing of NLA strip duplication requires two undo stepsColin Basnett
Fix the issue where undoing a "duplicate NLA strip" operation would require two undo steps. The cause of this was that the operator was not using the operator macro system to combine both the duplication and the translate operators into one. Instead, the old code was simply manually invoking invoking the translate operator after the duplicate operator had completed. This patch requires the default keymap to be modified to include the two new macro operators, `NLA_OT_duplicate_move` and `NLA_OT_duplicate_linked_move` in favour of the old keymap that simply called `NLA_OT_duplicate` and passed along a `linked` argument. `duplicate_move` and `duplicate_move_linked` are two different enough operations to justify having their own operators from user's point-of-view, especially since we cannot yet have different tool-tips based on an operator's settings. Reviewed By: sybren, mont29 Differential Revision: https://developer.blender.org/D15086
2022-07-18Context: implement an active_action property that returns a single action.Alexander Gavrilov
Although e.g. in the dopesheet there is no specific concept of active action, displaying panels requires singling out one action reference. It is more efficient and clearer to implement this natively in the context rather than using selected_visible_actions[0]. - In the Action Editor the action is taken from the header. - In the Dope Sheet the first selected action is chosen, because there is no concept of an active channel or keyframe. - In the Graph Editor the action associated with the active curve is used, which should also be associated with the active vertex. This case may be different from selected_visible_actions[0]. Differential Revision: https://developer.blender.org/D15412
2022-07-18Context: implement indexing for list properties in path_resolve.Alexander Gavrilov
The real RNA path_resolve method supports indexing lists, but the python version on the Context object does not. This patch adds the missing feature for completeness. Differential Revision: https://developer.blender.org/D15413
2022-07-18I18n: translate add node operator tooltipsDamien Picard
The tooltips from the Add Node menu were extracted, but not translated. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15467
2022-07-18Subdiv: remove unused GPU device choice, fix crash with libepoxy on initBrecht Van Lommel
openSubdiv_init() would detect available evaluators before any OpenGL context exists, causing a crash with libepoxy. This test however is redundant as we already check the requirements on the Blender side through the GPU API. To simplify things, completely remove the device detection in the opensubdiv module and reduce the evaluators to just CPU and GPU. The plan here is to move to the GPU module abstraction over OpenGL/Metal/Vulkan and so all these different backends no longer make sense. This also removes the user preference for OpenSubdiv compute device, which was not used for the new GPU subdivision implementation. Ref D15291 Differential Revision: https://developer.blender.org/D15470
2022-07-17Sculpt: Fix scene spacing mode (phase 1)Joseph Eagar
The scene spacing code was failing to check if a raycast failed, which can happen when sculpting the edges of objects in negative mode. Note I removed what I suspect was a hack put in to fix this, spacing was clamped to 0.001 scene units. Scene spacing mode is actually quite broken, so it will be fixed in a series of phases.
2022-07-16Audaspace: minor formatting fix for last commit.Jörg Müller
2022-07-15Render: camera depth of field support for armature bone targetsDamien Picard
This is useful when using an armature as a camera rig, to avoid creating and targetting an empty object. Differential Revision: https://developer.blender.org/D7012
2022-07-15I18n: Add suport for labels from modifiers' subpanels.Bastien Montagne
Was a bit oif a struggle since those functions take a first string which is not our label, but should work fine now. Reported/detected as part of D15418.