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-28Merge remote-tracking branch 'origin/blender-v3.0-release'Sybren A. Stüvel
2021-10-28View3D Context: use correct data typeSybren A. Stüvel
`CTX_data_selected_objects()` returns a `ListBase` of `CollectionPointerLink`, not `PointerRNA`. This caused an alignment issue, resulting in `owner_id == NULL` reported in T92507. Correcting the pointer type fixed this. In the end, the same pointer is used as before this commit, but the way it is obtained is actually correct.
2021-10-28LineArt: Fix(unreported) Material mask panel logicYimingWu
The logic should be: show material mask panel if in_front is on, it was inverted unintentionally.
2021-10-28LineArt: Fix(unreported) depsgraph camera errorYimingWu
This fixes unintentional line art error when custom camera doesn't exist, now not adding custom camera relation in this case.
2021-10-28Merge branch 'blender-v3.0-release'Campbell Barton
2021-10-28Cleanup: warning in 2a2d873124111b5fcbc2c3c59f73fd1f946c3548Campbell Barton
2021-10-28Merge branch 'blender-v3.0-release'Campbell Barton
2021-10-28Fix fallback tools for the sequence editorCampbell Barton
Only regions with gizmos were checking for fallback tools.
2021-10-28Merge branch 'blender-v3.0-release'Campbell Barton
2021-10-28Sequencer: support basic selection & delete from previewsCampbell Barton
Expose select & strip menus and shortcuts for sequencer preview.
2021-10-28Merge branch 'blender-v3.0-release'Campbell Barton
2021-10-28Fix T92514: Edit-mode bone snap to cursor uses the center of the boneCampbell Barton
Regression in 2bcf93bbbeb9e32f680c37a1e0054ff16cb00ef0.
2021-10-28Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-10-28Cleanup: remove 'ED_view3d_cursor_snap_exit'Germano Cavalcante
The callers of `ED_view3d_cursor_snap_active` that must handle the snapping of the cursor. Forcing release at the end can hide leaks.
2021-10-28Fix memory leak in cursor snap deactivationGermano Cavalcante
Missed in rB32cc9ff03746
2021-10-28Cleanup: remove redundant variableGermano Cavalcante
`free_tooltip` is no longer needed.
2021-10-27UI: Refactor how dragging onto text buttons works, fixing issuesJulian Eisel
There was a bunch of special handling to support dropping data-blocks onto string or search-menu buttons, to change the value of these. This refactor makes that case use the normal drop-box design, where an operator is executed on drop that gets input properties set by the drop-box. This should also make it easier to add support for dragging assets into these buttons. In addition this fixes an issue: Two tooltips were shown when dragging assets over text buttons. None should be shown, because this isn't supported.
2021-10-27Revert "Blender 3.0 bcon3 (beta)"Dalai Felinto
This reverts commit f7a3450e63d129b680aa5fd8330d54c17efdf495.
2021-10-27Merge branch 'blender-v3.0-release'Dalai Felinto
2021-10-27Blender 3.0 bcon3 (beta)Dalai Felinto
2021-10-27Blender 3.1 bcon1 - alphaDalai Felinto
Bump the version number for the new release cycle.
2021-10-27Revert "Blender 3.1 bcon1 - alpha"Dalai Felinto
This reverts commit 7b9e3534cfd1dd4bf3aefb98407f2e42a6efac4a. This was supposed to go to master, not the 3.0 branch.
2021-10-27Blender 3.1 bcon1 - alphaDalai Felinto
Bump the version number for the new release cycle.
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-27Asset Browser: Activate catalog after addingJulian Eisel
Adding a catalog should also activate it, like we do it for adding other data in Blender. The tree-view code will make sure the newly added item will not have collapsed parents.
2021-10-27Revert "Asset Browser: Ensure parent catalogs are expanded when adding child"Julian Eisel
This reverts commit 487faed6d0a1170a2f098552f794280fabe82186. I changed my mind on how to implement this feature. Adding a catalog should also activate it, like we do it for adding other data in Blender. The activation will automatically make it visible then. See the following commit.
2021-10-27Asset Browser: Ensure parent catalogs are expanded when adding childJulian Eisel
When pressing the '+' icon to add a new child catalog, or when adding it through the context menu, the new catalog should be visible. So the this change makes sure the parent is uncollapsed if needed.
2021-10-27Fix: Realize instances versioning fails for curve to mesh nodeHans Goudey
It assumed that the last input socket was a geometry socket, but now it is the fill caps boolean option.
2021-10-27Geometry Nodes: Rename more geometry socketsHans Goudey
This is a followup to rB827d7e7d252d48. After this we should be consistent everywhere with the hints in the names of geometry sockets.
2021-10-27Geometry Nodes: Add Image Socket to Switch NodeJohnny Matthews
Add the image type to the switch node without field support. Differential Revision: https://developer.blender.org/D13012
2021-10-27Cleanup: remove unused function declarationJacques Lucke
2021-10-27Geometry Nodes: output Index from ID node if the geometry has no idJacques Lucke
This is consistent with all the other places where we use the id attribute: If it does not exist, use the index instead.
2021-10-27Geometry Nodes: Show hint in empty output attributes panelHans Goudey
This is meant to add something to the sub-panel when it is empty so it looks more purposeful, but also add a hint that might be helpful when figuring out how to output a named attribute. Differential Revision: https://developer.blender.org/D12715
2021-10-27UI: Hide labels for subdivision surface node enumsHans Goudey
The text is just too long, it doesn't fit in the node width, and the tooltips display the property names well enough, since they aren't used as often as other settings. Also display the text in lite builds too, there is no reason not to.
2021-10-27Geometry Nodes: use index field implicitly in Set ID nodeJacques Lucke
That makes the node more useful by default. One use case is to delete some points after the Set ID node, then instance with some randomness. Now when deleting different points, the randomness will remain stable.
2021-10-27Fix: Show "new" attribute name typed in nodes modifier input searchHans Goudey
Previously it wouldn't be displayed at all for inputs, now just display it without an "add" icon.
2021-10-27Geometry Nodes: use true as default in Set Shade Smooth nodeJacques Lucke
The node is typically only added to enable smooth shading. So this default is much more useful.
2021-10-27Spreadsheet: make id column a bit widerJacques Lucke
Ids can often be relatively large numbers when they are generated automatically.
2021-10-27Geometry Nodes: Rename some socketsHans Goudey
Subdivision surface: Both geometry sockets renamed to "Mesh" Points to Volume: Use "Points" and "Volume" names Distribute Points on Faces: Use "Mesh" input name These are meant to provide a hint to users which type each node is meant to use.
2021-10-27Spreadsheet: use "id" instead of "ID" as column nameJacques Lucke
The lower case name is the internal name and will be exposed more to the user once we have instance attributes.
2021-10-27Fix: typo in info messageJacques Lucke
2021-10-27Fix: incorrect warning in Instances to Points nodeJacques Lucke
2021-10-27Geometry Nodes: change default raycast directionJacques Lucke
Raycasting downwards (e.g. onto some terrain) is more common than raycasting in the positive z direction.
2021-10-27Sequencer: various preview selection improvementsCampbell Barton
- Only cycle items when the cursor hasn't moved. This matches object-mode behavior, making it possible to tweak-drag the current selection without first cycling to the next sequence strip. Successive clicks will still cycle sequence strips. - For center selection, use a penalty for the active strip. - Use a temporary selection list to avoid moving the sequence strips out of the scene during selection (changing their order when added back).
2021-10-27WM: de-duplicate cursor motion checks for selection pickingCampbell Barton
Replace local static mouse coordinate storage with a single function. also resolve inconsistencies. - Edit-mesh selection used equality check (ignoring `U.move_threshold`). - Motion to clear tooltips checked the value without scaling by the DPI. Also prevent the unlikely case of the previous motion check matching a different area by resetting the value when the active region changes.
2021-10-27Fix sequencer selection toggleCampbell Barton
Sequence strips weren't being deselected while holding shift.
2021-10-27Fix building WITH_FLUID=OFFCampbell Barton
2021-10-27Fix warning after recent fluid modifier changesSergey Sharybin
2021-10-27Cleanup: Add static assert for tree-view getter templateJulian Eisel
These kind of static asserts for the base type of a template parameter are useful, and can avoid wrong API usage.
2021-10-27Asset Browser: Support dragging catalogs to move them in the hierarchyJulian Eisel
Uses the additions to the UI tree-view API from the previous commit to enable drag & drop of asset catalogs. The catalogs will be moved in the tree including children. A remaining issue is that a catalog with children will always be collapsed when dropping. I need to find a way to fix that in the tree-view API. There are a few improvements I can think of for the tree-item drag & drop support, but time for these is too short. These can be done as normal cleanups at some point.