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-05-17Preferences: Moved Sculpt texture paint to prototypes.Jeroen Bakker
Sculpt texture paint should not be considered as a new feature just yet. There are many designs still missing that could drive changes.
2022-05-17Cleanup: formatCampbell Barton
2022-05-16VSE: Delete Strip and Scene Data in one stepAntonio Vazquez
Actually, delete the strip only deletes the container, but not the linked data. This patch adds the option to delete the scene also. This is very handy for storyboarding. Reviewed By: ISS Maniphest Tasks: T97683 Differential Revision: https://developer.blender.org/D14794
2022-05-16VSE: Add new Scene and StripAntonio Vazquez
This operator allows to add a new scene at the same time that the strip. This is very handy for storyboarding. Reviewed By: ISS Maniphest Tasks: T97678 Differential Revision: https://developer.blender.org/D14790
2022-05-16VSE: New Change Scene option in Change menuAntonio Vazquez
This is a new option in `C` key menu. Reviewed By: mendio, ISS Maniphest Tasks: T97711 Differential Revision: https://developer.blender.org/D14807
2022-05-16Merge remote-tracking branch 'origin/blender-v3.2-release'Sybren A. Stüvel
2022-05-16Fix: Node editor "Group" panel displays for embedded node treesHans Goudey
Embedded node trees are not groups, since their inputs and outputs are not exposed anywhere. So these panels should not be displayed.
2022-05-15Merge branch 'blender-v3.2-release'Joseph Eagar
2022-05-15Fix T81715: Unprojected radius mode messes up sculpt texture radiusJoseph Eagar
We really need to fix how unprojected radius (scene unit) works. What happened is the paint code updates the brush's normal radius with the current unprojected pixel radius, which was then used by texture brush tiled mode. To fix this I just cached the pixel radius at stroke start in UnifiedPaintSettings->start_pixel_radius.
2022-05-13Merge branch 'blender-v3.2-release'Hans Goudey
2022-05-13Fix: Incorrect order in geometry nodes add menuHans Goudey
2022-05-12UI: Tweak Sculpting Trim iconsDalai Felinto
Update the trim icons so they don't show a dashed line. Instead they have now a continuous red line. This is important because the sculpting tools are planning to use the same icons for selection as the regular tools. And those icons use dashed line to represent selection. Note the icon file has two new icons which are not used at the moment (they are in the Unused collection): * ops.generic.select_paint * ops.generic.select_line
2022-05-12Curves: add operator to convert hair particle system to new curvesJacques Lucke
This creates a new curves object with the name of the particle system. The generated curves match the current evaluated state of the active hair particle system. Attachment information is not transferred currently. Differential Revision: https://developer.blender.org/D14908
2022-05-12Cleanup: formatCampbell Barton
2022-05-11Curves: Adjust sculpt mode UI layoutsHans Goudey
This patch adjusts the UI layouts for the tool header and the tool properties in sculpt mode in a few ways. The goals are to better group related settings, keep fundamental settings easily accessible, fix the availability of some options, and make better use of space. 1. Remove ID template in tool header 2. Rename "Add Amount" to "Count" for add brush 3. Add "use pressure" toggles to radius and strength sliders 4. Move strength falloff to a popover 5. Move many "Add" brush settings to popover called "Curve Shape" 6. Move two "Grow/Shrink" options to a popover called "Scaling" 7. Don't display "Falloff" panel in properties when it has no effect See the differential revision for screenshots and more reasoning. Differential Revision: https://developer.blender.org/D14922
2022-05-11Mesh: Add Auto Smooth option to Shade Smooth operatorPablo Vazquez
Add a property to the **Shade Smooth** operator to quickly enable the Mesh `use_auto_smooth` option. The `Angle` property is exposed in the **Adjust Last Operation** panel to make it easy to tweak on multiple objects without having to go to the Properties editor. The operator is exposed in the `Object` menu and `Object Context Menu`. === Demo === {F13066173, size=full} Regarding the implementation, there are multiple ways to go about this (like making a whole new operator altogether), but I think a property is the cleanest/simplest. I imagine there are simpler ways to achieve this without duplicating the `use_auto_smooth` property in the operator itself (getting it from the Mesh props?), but I couldn't find other operators doing something similar. Reviewed By: #modeling, mont29 Differential Revision: https://developer.blender.org/D14894
2022-05-11Cleanup: Use single quotes for Python enum stringHans Goudey
2022-05-11Fix: Hide empty panel in curves sculpt mode tool settingsHans Goudey
This panel is empty after rB5b24291be1e0
2022-05-11Fix: Curves interpolate point count option missing from panelsJun Mizutani
Added in 8852191b779e880fe4d5116f2bee3fcddb8aced4 Differential Revision: https://developer.blender.org/D14919
2022-05-10UI: Geometry Nodes IconDalai Felinto
Geometry Nodes (new) icon. So far we were using the generic node-tree icon for geometry nodes, not anymore. The new icon is composed of 4 spheres that is a reference to the original pebbles demo. Scattering points was also the turning point for the project (which originally was focusing on dynamic effects), and to this day is one of the first steps for everything procedural such as hair. Note that the modifier icon is still showing as white in the outliner. The alternative is to be blue everywhere. Patch review and feedback by Hans Goudey. Icon creation in collaboration with Pablo Vazquez.
2022-05-10Curves: Interpolate point count in add brushHans Goudey
This commit adds an option to interpolate the number of control points in new curves based on the count in neighboring existing curves. The idea is to provide a more automatic default than manually controlling the number of points in a curve, so users don't have to think about the resolution quite as much. Internally, some utilities for creating new curves are extracted to a new header file. These can be used for the various nodes and operators that create new curves. The top-bar UI will be adjusted in a separate patch, probably moving all of the settings that affect the size and shape of the new curves into a popover. Differential Revision: https://developer.blender.org/D14877
2022-05-10Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-10Fix T96520 Node editor: Tweak fails with unselected nodesCampbell Barton
Use the same method for node selection and dragging that is used in the 3D viewport and UV editor. Instead of relying on a modal operator - use the keymap to handle click/drag events. Details: Failure to transform unselected nodes was caused by [0] & [1] however detecting drag relied on specific behavior which I don't think we should be depending on. This error happened when selection was defined both in the key-map for the tool and for the node-editor. - The left mouse button would activate selection in both the tool and "Node Editor" keymap. - The first selection would return `FINISHED | PASS_THROUGH` when selecting a previously unselected node. - The same PRESS would trigger a second selection would return `RUNNING_MODAL | PASS_THROUGH`, (starting a NODE_OT_select as a modal operator). - In 3.1 (with tweak events) the modal operator would then exit and fall-back to the tweak event which would transform the selected nodes. - In 3.2 (as of [0]) the PRESS that starts the modal operator is considered "handled" and prevents drag event from being detected. The correct behavior in this case isn't obvious: If a modal operator starts on pressing a button, using that same the release to generate drag/click events is disputable. Even in the case or 3.1 it was inconsistent as tweak events were generated but click events weren't. Note: after investigating this bug it turns out a similar issue already existed in 2.91 and all releases afterwards. While the bug is more obscure, it's also caused by the tweak event being interrupted as described here, this commit resolves T81824 as well. [0]: 4d0f846b936c9101ecb76a6db962aac2d74a460a [1]: 4986f718482b061082936f1f6aa13929741093a2 Reviewed By: Severin Ref D14499
2022-05-10DrawManager: Hide lock acquire behind experimental feature.Jeroen Bakker
The acquire locking of the draw manager introduced other issues. The current implementation was a hacky solution as we know that the final solution is something totally different {T98016}. Related issues: * {T97988} * {T97600}
2022-05-10DrawManager: Hide lock acquire behind experimental feature.Jeroen Bakker
The acquire locking of the draw manager introduced other issues. The current implementation was a hacky solution as we know that the final solution is something totally different {T98016}. Related issues: * {T97988} * {T97600}
2022-05-10Merge branch 'blender-v3.2-release'Joseph Eagar
2022-05-10D14887: Fix artifacts in hue filterRamil Roosileht
The hue color filter now wraps correctly. Fixes T97768. Reviewed By: Julien Kaspar & Joseph Eagar Differential Revision: https://developer.blender.org/D14887 Ref D14887
2022-05-09UI: Layout tweaks to Curve Guide force field min/max distancePablo Vazquez
For consistency with other force fields and other areas in Blender. * Align "Use Max" and "Maximum Distance" in one line. * Rename "Maximum Distance" to "Max Distance" * Rename "Minimum Distance" to "Min Distance" * Move "Minimum Distance" below maximum.
2022-05-09Merge branch 'blender-v3.2-release'Bastien Montagne
2022-05-09Tweak i18n messages extraction script to avoid unwanted messages.Bastien Montagne
Code would add a bit too often the identifier of an RNA class to translated messages, this is only needed if there is no valid label available for it.
2022-05-09Fix T97915: Regression: Blender doesn't translate viewpoint menu items.Bastien Montagne
Another mistake in rBdb3f5ae48aca.
2022-05-07UI: Remove weird looking right aligned text in texture propertiesJulian Eisel
The text would start somewhere in the middle of the line, and just look placed wrong. Plus it would seem like it's cut off (esp. since we don't add a period).
2022-05-06bpy_extras: Add utilities for getting ID referencesDemeter Dzadik
An alternate to D14839, implemented in Python and relying on bpy.data.user_map(). That function gives us a mapping of what ID is referenced by what set of IDs. The inverse of this would also be useful, which is now available from bpy_extras.id_map_utils.get_id_reference_map(). From there, we can use get_all_referenced_ids() to get a set of all IDs referenced by a given ID either directly or indirectly. To get only the direct references, we can simply pass the ID of interest as a key to the dictionary returned from get_id_reference_map(). Reviewed By: mont29 Differential Revision: https://developer.blender.org/D14843
2022-05-06Cleanup: Trailing white-spaceDalai Felinto
2022-05-06UI: Expand the Snap Curves to Surface operatorDalai Felinto
The different methods are too different. It is worth having them as individual choices by the users. Differential Revision: https://developer.blender.org/D14873
2022-05-06Curves: use old Add > Curve menu for new curves objectJacques Lucke
* Removes the `Curves` menu (leaving only `Curve`). * The `Curve > Random` option is still useful for testing, but it's under the second experimental flag so that it is turned off when only the "master ready" features are enabled. Differential Revision: https://developer.blender.org/D14861
2022-05-05Curves: move curve sculpt settings out of advanced panelJacques Lucke
2022-05-05Curves: control number of control points in new curvesJacques Lucke
Previously, the number of control points in a new curve was hardcoded. Differential Revision: https://developer.blender.org/D14857
2022-05-05Curves: show Front Faces Only option in tools panelJacques Lucke
2022-05-05Curves: unify "Front Faces Only" name with mesh sculpt modeJacques Lucke
2022-05-05Cleanup: formatCampbell Barton
2022-05-05UI: Add Gizmos toggle to SpaceImageJuanfran Matheu
This patch adds the show_gizmo and show_gizmo_navigate properties to the Image and UV editors. Image Editor: {F13026317} UV Editor: {F13026319} VIDEO: {F13026324} Reviewed By: #user_interface, campbellbarton Differential Revision: https://developer.blender.org/D14755
2022-05-04Nodes: Add general Combine/Separate Color nodesHallam Roberts
Inspired by D12936 and D12929, this patch adds general purpose "Combine Color" and "Separate Color" nodes to Geometry, Compositor, Shader and Texture nodes. - Within Geometry Nodes, it replaces the existing "Combine RGB" and "Separate RGB" nodes. - Within Compositor Nodes, it replaces the existing "Combine RGBA/HSVA/YCbCrA/YUVA" and "Separate RGBA/HSVA/YCbCrA/YUVA" nodes. - Within Texture Nodes, it replaces the existing "Combine RGBA" and "Separate RGBA" nodes. - Within Shader Nodes, it replaces the existing "Combine RGB/HSV" and "Separate RGB/HSV" nodes. Python addons have not been updated to the new nodes yet. **New shader code** In node_color.h, color.h and gpu_shader_material_color_util.glsl, missing methods hsl_to_rgb and rgb_to_hsl are added by directly converting existing C code. They always produce the same result. **Old code** As requested by T96219, old nodes still exist but are not displayed in the add menu. This means Python scripts can still create them as usual. Otherwise, versioning replaces the old nodes with the new nodes when opening .blend files. Differential Revision: https://developer.blender.org/D14034
2022-05-04Curves: show direction in panel for Grow / Shrink brush settingsJacques Lucke
2022-05-04Curves: add second experimental option for new curves toolsJacques Lucke
Now there are two experimental feature options: * "New Curves Type": Enables the new data type and a couple of tools that are meant to be in the first release that comes with the new curves object. * "New Curves Tools": This is only available when the new curve type is available as well. It mainly exists to keep some tools experimental even after the initial curves object is release officially. * For now this only includes the curves edit mode which is not usable yet and probably won't be for the initial release. Differential Revision: https://developer.blender.org/D14840
2022-05-04Curves: support symmetry in curves sculpting brushesJacques Lucke
This adds support for X/Y/Z symmetry for all brushes in curves sculpt mode. In theory this can be extended to support radial symmetry, but that's not part of this patch. It works by essentially applying a brush stroke multiple with different transforms. This is similiar to how symmetry works in mesh sculpt mode, but is quite different from how it worked in the old hair system (there it tried to find matching hair strands on both sides of the surface; if none was found, symmetry did not work). Differential Revision: https://developer.blender.org/D14795
2022-05-04Cleanup: make formatCampbell Barton
2022-05-03Sculpt Curves Puff iconDalai Felinto
2022-05-03BPY types: add default Geometry Node poll functionKévin Dietrich
Contrary to `CompositorNodeCustomGroup` or `ShaderNodeCustomGroup`, `GeometryNodeCustomGroups` have to define their own poll function. This is because their is no predefined poll function for `GeometryNode`, and it may not be clear for addon developers why `GeometryNode` would be special here. This adds `GeometryNode` to `bpy_types.py` and defines such a function for it like for other builtin node types. Differential Revision: https://developer.blender.org/D14775
2022-05-03Merge branch 'blender-v3.2-release'Campbell Barton