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-10-14Geometry Nodes: Field version of mesh to curve nodeHans Goudey
This commit adds a fields version of the mesh to curve node, with a field for the input selection. In order to reduce code duplication, it adds the mesh to curve conversion to the new geometry module and calls that implementation from both places. More details on the geometry module can be found here: T86869 Differential Revision: https://developer.blender.org/D12579
2021-10-14Python API: implement `PoseBone.children` via `Bone.children`.Alexander Gavrilov
Currently `PoseBone.children` is implemented by a linear scan of the list of armature bones. This is doubly inefficient, since not only is it scanning all bones, the `obj.data.bones` list is actually synthetic and generated from Bone children lists. Instead, use the `Bone.children` native RNA property. Differential Revision: https://developer.blender.org/D12727
2021-10-14Geometry Nodes: Add White Noise textureCharlie Jolly
Port White Noise shader to geometry nodes. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D12719
2021-10-14Geometry Nodes: Reorganize Add MenuJohnny Matthews
- Move Converters to 'From' menus - Create Instances Menu - Realphabetize the Curve Menu Differential Revision: https://developer.blender.org/D12860
2021-10-13Geometry Nodes: Fields version of edge split nodeHans Goudey
This changes the edge split node to have a selection input, which is more aligned with the other design changes. This loses the ability to split edges based on an angle, but the edge angle can be added as a field input node in the future, which will make for a much more flexible system. Differential Revision: https://developer.blender.org/D12829
2021-10-13Geometry Nodes: Rotate Instances NodeErik Abrahamsson
Adds a node that can rotate each of a geometry's instances in global (to the modifier object) or local space (of each point) by a specified angle around a pivot point. In the future, separating the local-global choice for the pivot and the rotation might be useful. However, for now the node is kept simple. Differential Revision: https://developer.blender.org/D12682
2021-10-13Cleanup: Remove data duplication from SMAA lookup tablesJesse Yurkovich
These 2 large tables, `areaTexBytes` and `searchTexBytes`, contributed ~176kb worth of duplicate data into the `blender` executable due to the header being used in multiple places. We were lucky that only 2 translation units had included this header so only 1 duplicate copy of each was wasted. Define the tables as `extern` to address this. Reviewed By: fclem Differential Revision: https://developer.blender.org/D12723
2021-10-13Geometry Nodes: Scale Instances NodeErik Abrahamsson
Adds a node that can scale a geometry's instances. With "Local" turned on, the instance is scaled individually from the center point input, while when local space is turned off, it's more like the transform node, except it scales outward from the center point instead of only from the origin. Differential Revision: https://developer.blender.org/D12681
2021-10-13Geometry Nodes: Translate Instances NodeErik Abrahamsson
Adds a node that can translate instances in the transform space of the modifier object, or the local space of their original transform. One reason to have a special node for instances is that they always have the existing transform, unlike mesh or point cloud points. Differential Revision: https://developer.blender.org/D12679
2021-10-13Geometry Nodes: Material Index, Set MaterialJohnny Matthews
Add Get/Set Nodes for Material Index Rename Assign Material to Set Material Differential Revision: https://developer.blender.org/D12837
2021-10-12Asset Catalogs Undo: add Ctrl+Z and Ctrl+Shift+Z as hotkeys for undo/redoSybren A. Stüvel
Allow undo/redo of asset catalog edits with Ctrl+Z/Ctrl+Shift+Z. These keys are registered in the 'screen' keymap, so that they can take priority over the global undo/redo operators. Updated both Blender Default and Industry Compatible keymaps.
2021-10-12Asset Catalogs: expose undo/redo operators to UISybren A. Stüvel
Ensure that catalog operations create an undo snapshot, and show undo/redo operators in the asset browser. A hidden operator `ASSET_OT_catalog_undo_push` is also added such that add-ons can also set undo snapshots if they need.
2021-10-12Assets: hide low-level catalog info behind "developer extra's"Sybren A. Stüvel
Hide the catalog UUID and the catalog simple name from the Asset Browser side-panel, unless "Developer Extra's" is enabled in the user prefs.
2021-10-12Geometry Nodes: Use a separator in the add menu input categoryHans Goudey
This can help separate the field inputs from the other nodes, like some other categories.
2021-10-12Geometry Nodes: Add Color input nodeCharlie Jolly
Adds a color input node with picker. Differential Revision: https://developer.blender.org/D12793
2021-10-11UI: Reduce whitespace in custom node categoriesHans Goudey
This makes the long "Curve" category take up less space.
2021-10-11Geometry Nodes: Add Nodes to Get/Set Built-in AttributesJohnny Matthews
This commit implements T91780, adding nodes to get and set builtin attributes. Individual set nodes are used so that the values can be exposed for direct editing, which is useful for attributes like shade smooth and spline resolution. Individual input nodes are used to allow reusing nodes for multiple components, and to allow grouping multiple outputs conceptually in the same node in the future. Input Nodes - Radius - Curve Tilt - Curve Handle Positions - Is Shade Smooth - Spline Resolution - Is Spline Cyclic 'Set' Nodes - Curve Radius - Point Radius - Curve Tilt - Curve Handle Positions - Is Shade Smooth - Spline Resolution - Is Spline Cyclic Using hardcoded categories is necessary to add separators to the node menu. Differential Revision: https://developer.blender.org/D12687
2021-10-11Geometry Nodes: Separate and Delete Geometry for fieldsWannes Malfait
Delete Geometry: This adds a copy of the old node in the legacy folder and updates the node to work with fields. The invert option is removed, because it is something that should be very easy with fields, and to be consistent with other nodes which have a selection. There is also a dropdown to select the domain, because the domain can't be determined from the field input. When the domain does not belong on any of the components an info message is displayed. Separate Geometry: A more general version of the old Point Separate node. The "inverted" output is the same as using the delete geometry node. Differential Revision: https://developer.blender.org/D12574
2021-10-11Fix T91169: bpy_extras.io_utils.create_derived_objects -> duplis errorCampbell Barton
This function now takes a depsgraph and a list of objects to avoid inefficient O(n^2) iteration when extracting instances from all objects in the scene. Returning an object -> instance map. Note that keeping compatibility with the existing API wasn't practical in this case since instances can no longer be generated from the scene and it's objects.
2021-10-11Fix starting Blender with Python 3.10Campbell Barton
URL presets weren't working, raising a Python exception when the splash screen was displayed.
2021-10-11Fix: Incorrect custom property edit string to int changeHans Goudey
This fixed an error in a corner case, and is a reasonable check anyway.
2021-10-09Geometry Nodes: Align Euler to Vector NodeJarrett Johnson
This commit introduces the Align Euler to Vector function node which rotates to a body into a given direction. The node replaces the legacy "Align Rotation to Vector" node, which only worked on an attribute named `rotation` internally. The "Euler" in the name is meant to make it clearer that the rotation isn't interchangeable with a regular vector. Addresses T91374. Differential Revision: https://developer.blender.org/D12726
2021-10-09Cleanup: Change variable name, comment formattingHans Goudey
2021-10-08Fix T92037: Custom property edit issues with integer soft rangeHans Goudey
- Fix a typo that used the max instead of the min for the soft max - Assign the correct "last property type" when the operator starts - Only check values for the soft range when use soft range is turned on
2021-10-08Asset Browser: Avoid per-asset context menu on right click in sidebarJulian Eisel
The right-click keymap item to display the context menu was added for the entire area, not just the main region.
2021-10-08User Interface: Use theme alpha for the nodes frames backgroundDalai Felinto
This bump subversion.
2021-10-08Theme: Fix Blender Light wire colorDalai Felinto
When using the Blender Light theme the wires seemed too thick. This is a left over from 4a0ddeb62bb4a438.
2021-10-08VSE: Implement the bounding box (xform) tool in the seq preview windowSebastian Parborg
Make the "xform" tool/gizmo available for strip transformations in the sequencer preview window. Because of the amount of hacks needed to make the gizmo work nicely with multiple strips at the same time, it was decided to only show the translate gizmo when multiple strips are selected. This is because the transforms with multiple strips would appear buggy because of our lack of shearing support in the transform system. There is also currently no way to properly sync the gizmo drawing with the transform when using multiple strips. Reviewed By: Richard Antalik, Campbell Barton Differential Revision: http://developer.blender.org/D12729
2021-10-08Sequencer: add option to toggle gizmosCampbell Barton
Use shortcut matching the 3D view & popover in the header
2021-10-08Cleanup: remove redundant cursor copy, printCampbell Barton
2021-10-07Fix screenshot editor showing status text in the editorCampbell Barton
This caused problems calling screenshot from menu-search which included the status text in the screenshot. Now the status text is shown in the global status bar for any operators called from a screen context.
2021-10-07Sequencer: 2D cursor for the preview & transformCampbell Barton
- Use 2D cursor in the preview space using shortcuts matching the UV editor and 3D view. - Add Cursor tool, cursor transform. - Support for cursor and bound-box pivot. - Add pivot pie menu.
2021-10-07Asset Browser: Move Asset Library selector to navigation barJulian Eisel
The menu to select the active Asset Library is now in the left bar (so called "Source List", although I'd prefer "Navigation-Bar"). This has some benefits: * All Asset Library navigation is in the left sidebar now, giving nice grouping and a top-to-bottom & left-to-right flow of the layout. The header is focused on view set-up now. * Catalogs are stored inside the asset library. Makes sense to have them right under that. * Less content in the header allows for less wide Asset Browsers without extensive scrolling. * This location gives more space to add options or operators for Asset Libraries. Main downside I see is that the side-bar needs to be opened to change libraries, which takes quite some space. In practice there shouldn't be need to do this often though.
2021-10-07UI: Fix alignment of buttons in Grease Pencil tool settingsPablo Vazquez
Small fix reviewed on blender.chat by the Grease Pencil team.
2021-10-07Fix VSE pan property text printingRichard Antalik
Move text into separate label.
2021-10-06Fix errors in 68dc970219ef7a559b48bd1b3e45d033367b4172Campbell Barton
Swapped preview/timeline keymap and incorrect center measurement.
2021-10-06Correct error in 68dc970219ef7a559b48bd1b3e45d033367b4172Campbell Barton
Included invalid keyword argument.
2021-10-06Sequencer: improvements to preview selectionCampbell Barton
- Support toggle/deselect/deselect_all options (matching 3D viewport object selection). - Support legacy selection behavior. - Support selecting by the center in preview views (holding Ctrl).
2021-10-06UI: add sequencer preview context menuCampbell Barton
This is mostly a place-holder since many items have not yet been implemented.
2021-10-06UI: rename sequencer "Select" to "Tweak"Campbell Barton
This matches the tweak tool elsewhere. Match names since this name is shown prominently in the fall back tool selector.
2021-10-06Keymap: fallback tool support for the sequencerCampbell Barton
Note that sample is no longer in the sequencer preview keymap, it is still accessible as a tool. This conflicted with click-drag to transform.
2021-10-06Keymap: remove selection from the common sequencer mapCampbell Barton
Needed for further changes as selection behaves differently in the preview region.
2021-10-06Keymap: show sequencer tools in key-map editorCampbell Barton
Re-order common sequencer key-map to be at the top level (shared by preview and sequence view). Without this sequencer tools would be displayed at different levels in the hierarchy which is confusing and doesn't represent the separation between "Sequencer" and "SequencerPreview" key-maps.
2021-10-05Fix syntax error in caac5325656294e7276fee60edbd575b123e8eb9Campbell Barton
2021-10-05Cleanup: add Params.select_tweak_eventCampbell Barton
Convenience, use for tool key-maps to avoid overly verbose expressions.
2021-10-05Cleanup: quiet shadow warning, trailign spaceCampbell Barton
2021-10-04Fix T91920: Missing decorate buttons in sound panelRichard Antalik
Add back decorate buttons, move mono and display waveforms to bottom as they were before.
2021-10-04Make keyframe inserts/removals less verbose when called from python.Gaia Clary
Following operators now only report messages back when they are called via their invoke-methods: - ANIM_OT_keyframe_insert - ANIM_OT_keyframe_insert_by_name - ANIM_OT_keyframe_insert_menu - ANIM_OT_keyframe_delete - ANIM_OT_keyframe_clear_v3d - ANIM_OT_keyframe_delete_v3d Also removed the attribute confirm_success from the following operators: - ANIM_OT_keyframe_insert - ANIM_OT_keyframe_insert_by_name - ANIM_OT_keyframe_insert_menu - ANIM_OT_keyframe_delete - ANIM_OT_keyframe_delete_by_name Note: addons/scripts possibly need to be updated if they use the above operators AND set the "confirm_success" attribute Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12697
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