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-15I18n: translate recent files and bookmarks in the file browserDamien Picard
This is not dynamic: it only happens when the dir is added to the list--automatically for recent files, and by the user for bookmarks. Entries can then be manually renamed like other dirs. They will keep the same name if the language is changed afterwards. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15629
2022-08-12Fix T100370: Depth choice for "Add Cube" tool always using SurfaceGermano Cavalcante
As the surface normal is calculated along with the coordinates, the surface depth was always being used when surface orientation was set. Therefore, even calculated, ignore the surface depth when it is not required. Also promote an optimization when neither orientation nor depth is required.
2022-08-12Cleanup: unused debug variable.Bastien Montagne
2022-08-12Cleanup: leftover debug prints.Bastien Montagne
2022-08-12LibOverride: Rework Outliner contextual menu.Bastien Montagne
Follow-up to design discussions here at the studio, add liboverride operations into their own sub-menu, with three main entries: - Create: Create, or enable for user editing, override hierarchies. - Reset: Keep overrides data, but reset all local changes to the reference linked data values. - Clear: like reset, but also turn editable overrides back to system overrides (aka non user editable). Those three options can all operate either on the selected items, their content only, or both. Advanced operations are moved into a "Troubleshoot Hierarchy" sub-menu, where one can resync, resync enforced, and fully delete library overrides. Those operations always affect a whole override hierarchy, regardless of which items are selected or not.
2022-08-12Fix (unreported) crashes in Outliner override hierarchy view.Bastien Montagne
Fix wrong assumption that 'embedded' IDs are only ever used by their owners. This is especially not true with shape keys. Also small optimization by adding an eraly abort when both IDs are the same (i.e. an ID has a pointer to itself).
2022-08-12IDType `get_owner`: add an optional hint about owner ID.Bastien Montagne
In some cases, there is a chance code already knows who might be the owner of the given ID, in which case it can be more efficient to check it first (especially in cases like embedded node trees or scene collections, where the only other way is to loop over all possible owners currently). Will be used in next commit in some Outliner fix.
2022-08-11Fix T100204: RMB select (with "Select Tool") causes edit-mesh conflictCampbell Barton
When RMB select activated the selection tool, Alt-RMB would both tweak and loop-select. Fix/workaround this by passing though 'enumerate' unless the option can be used (when selecting objects or armatures).
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-09Fix T100277: Grease pencil lines don't start at click-startCampbell Barton
Regression in b8960267dd51f9108b3b49e9b762e6b4d35ae1dc.
2022-08-09Fix viewport operators with a view locked cameraCampbell Barton
Smooth-view wasn't working properly with a locked-camera this could animate from the wrong position if the camera wasn't in sync with the underlying viewport transformation. Resolve issues for: - VIEW3D_OT_view_orbit - VIEW3D_OT_view_roll - VIEW3D_OT_zoom_border
2022-08-09Fix missing undo steps for smooth-view operatorsCampbell Barton
Support pushing undo steps for smooth-view operations that manipulate the camera. Now V3D_SmoothParams take optional undo arguments. Used for: - VIEW3D_OT_view_center_cursor - VIEW3D_OT_view_center_pick - VIEW3D_OT_view_orbit - VIEW3D_OT_view_roll - VIEW3D_OT_zoom_border Follow up fix for T92099.
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-08Fix T100280: GG not toggling the offset transform mode in trackerGermano Cavalcante
Caused by {rB791bfae1d64b}. The solution was to create the special handle for the Move Clip and Mask transformation. One change that cannot be reversed is showing the `G` shortcut in the statusbar. But the description of this shortcut was not even correct before.
2022-08-06Fix T92099: No undo when moving viewport with camera locked to viewPratik Borhade
Supports undo step generation while navigating in locked camera view. NDOF & track-pad navigation are not included for now. Actions that uses smooth view can be supported but are outside the scope of this change, includes undo push for: - VIEW3D_OT_view_pan - VIEW3D_OT_dolly - VIEW3D_OT_fly - VIEW3D_OT_move - VIEW3D_OT_rotate - VIEW3D_OT_walk - VIEW3D_OT_zoom Reviewed by: campbellbarton Ref D15345
2022-08-05Fix T100093: Channel selection and grouping issuesAmélie Fondevilla
Channel selection in graph editor was broken by rB3c5620aabd33 because the selection took into account grease pencil channels. Such channels are now removed from selection in containers that does not use them (NLA and Graph Editor). Grouping was broken from a similar issue. The grouping operation now completely filters out grease pencil channels since the operator is only defined for f-curve channels. Reviewed By: sybren Maniphest Tasks: T100093 Differential Revision: https://developer.blender.org/D15601
2022-08-04Fix T100099: Cycles crash baking vertex colors in edit modeBrecht Van Lommel
This was not supported, added now.
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-04Outliner: Use UI names and grouping for library overrides propertiesJulian Eisel
NOTE: This is committed to the 3.3 branch as decided by Bastien, Dalai and me. That is because these are important usability fixes/improvements to have for the LTS release. Part of T95802. Showing properties with an RNA path in the UI isn't very user friendly. Instead, represent the RNA path as a tree, merging together parts of the RNA path that are shared by multiple properties. Properties and "groups" (RNA structs/pointers) are now shown with their UI name and an icon if any. The actually overridden properties still show the Library Overrides icon. See the patch for screenshots. Also: When a RNA collection item, like a modifier or constraint was added via a library override, indicate that item and show all collection items in the list, since the complete list of items and their orders may be important context. Differential Revision: https://developer.blender.org/D15606
2022-08-04Cleanup: Move RNA path functions into own C++ fileJulian Eisel
NOTE: This is committed to the 3.3 branch as part of D15606, which we decided should go to this release still (by Bastien, Dalai and me). That is because these are important usability fixes/improvements to have for the LTS release. Adds `rna_path.cc` and `RNA_path.h`. `rna_access.c` is a quite big file, which makes it rather hard and inconvenient to navigate. RNA path functions form a nicely coherent unit that can stand well on it's own, so it makes sense to split them off to mitigate the problem. Moreover, I was looking into refactoring the quite convoluted/overloaded `rna_path_parse()`, and found that some C++ features may help greatly with that. So having that code compile in C++ would be helpful to attempt that. Differential Revision: https://developer.blender.org/D15540 Reviewed by: Brecht Van Lommel, Campbell Barton, Bastien Montagne
2022-08-04Outliner: Add generic label element typeJulian Eisel
No user visible changes expected. NOTE: This is committed to the 3.3 branch as part of D15606, which we decided should go to this release still (by Bastien, Dalai and me). That is because these are important usability fixes/improvements to have for the LTS release. We have a bunch of "base" element types, just to show a label element for grouping together other elements. There is no reason to have these tied to a case, just have a generic label type for this. It requires a string to display, and can display an icon too. The new element type isn't used yet, but will be in one of the following commits. Would be nice if the existing base elements can be replaced by this. Part of D15606.
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 T100171: GPencil toggle caps operator does not support multiframeAntonio Vazquez
This was a missing feature.
2022-08-04Sculpt: Fix T99294: Voxel Remesher text is resized based on object scaleJoseph Eagar
2022-08-04Sculpt: Support gradient color mode in sculpt paint brushRamil Roosileht
T99614 Support for gradient mode in sculpt paint brush {F13316165} Reviewed By: Joseph Eagar & Julian Kaspar Differential Revision: https://developer.blender.org/D15502 Ref D15502
2022-08-03Fix T100168: Sculpt positions undo not working after recent commitHans Goudey
efe0e2b18370 used the "normals_update" for applying positions from an undo step, which doesn't set the necessary flags for a redraw.
2022-08-02Object: move collection resync after empty duplicate early-outAras Pranckevicius
As pointed out in rB02b1a209be88 comment, the BKE_main_collection_sync should be after "nothing to duplicate" early-out.
2022-08-02Fix T96810: Invalid sculpt normals after some operationsHans Goudey
Mask and color brushes were using the existing PBVH vertex "update tag" to mark their modifications. This was mostly unnecessary, and causes unnecessary calculation of normals. It also caused errors though, because they didn't tag the corresponding PBVH node for normal recalculation, causing problems on the borders of nodes, since one node might accumulate into another's vertex normals, but the other node wouldn't also accumulate and normalize the normals. The solution is to only use the update tag for tagging deformed vertices that need recalculated normals. Everything else is handled at the PBVH node level (which was already the case, but it wasn't clear). The update tag was also used for undo to tag the nodes corresponding to changed vertices. This was wrong though, because normals and visibility would also be recalculated for just color or mask undo steps. Instead, just use local arrays to map from vertices to nodes. Differential Revision: https://developer.blender.org/D15581
2022-08-02LibOverride: Add 'editable/clear' toggle to ID template.Bastien Montagne
Now when an ID template is set to an override ID, `Shift-Click` on the right button toggles between making it user-editable (if it's a system override), or clearing any user edit and setting it back to system override.
2022-08-02Fix Unreported : add F-curves only filter to functions only appliable to ↵Amelie Fondevilla
F-curves channels. The filter was missing in some places that are using channel data as if it was f-curve channel. There seems to be no related issue or bug, but still it would be best to have them there. Reviewed By: sybren Differential Revision: http://developer.blender.org/D15505
2022-08-02Fix T100118: Crash after Shift+D with nothing selected and then making new ↵Aras Pranckevicius
object Regression from rB2d041fc46823, the "nothing to do, return" code path was not re-enabling layer collection sync. Fixes T100118.
2022-08-01Fix T100040: Crash when transform applied on multi-user imagePratik Borhade
Affected by rB8621fdb10dc4 Crash if single-user data is created when we apply transform on multi-user image data. Crash occurs because creation of new copy was not handled in `single_obdata_users` for empty objects (image for example) Reviewed By: dfelinto, mont29 Maniphest Tasks: T100040 Differential Revision: https://developer.blender.org/D15587
2022-08-01Fix T100076: OBJ import: new importer doesn't use //relative/image/pathsAras Pranckevicius
The Python based importer had logic to immediately turn image paths into relative-to-blender-file paths, if user preference for relative paths is used (which is on by default). The new importer code did not have that. Fixes T100076.
2022-07-31Fix T100086: GPencil Bezier curve edit not updated after smoothingAntonio Vazquez
The stroke was recalculated, but the curve data was not updated.
2022-07-29Fix T99761: Curves sculpt mode crash with empty curvesHans Goudey
The virtual arrays may be null if the curves are empty, it's simple to just skip the domain interpolation completely.
2022-07-29Fix: Grammar mistake in info messageHans Goudey
2022-07-28Curves: improve handling of empty surface meshesJacques Lucke
2022-07-27Fix T99870 : Prevents crash when rearranging channels in dopesheetAmelie Fondevilla
The function to rearrange channels only works for F-curves channels for now, adding the `FCURVESONLY` filter prevents the function to be called for grease pencil channels, thereby fixing the crash. Reviewed by : sybren Differential Revision: http://developer.blender.org/D15504
2022-07-27Sculpt: Remove debug printfJun Mizutani
Reviewed By: Joseph Eagar Differential Revision: D15547 Ref D15547
2022-07-27Nodes: Allow using escape key to exit node resizingHans Goudey
2022-07-26Fix T98982: cannot change default value of some node group input typesJacques Lucke
2022-07-26Fix T99373: add some padding in spreadsheet vector columnsJacques Lucke
This improves readability in some cases (e.g. in T99373).
2022-07-26default N-panel open for animation editorsNate Rupsis
The Graph, Driver, and Dopesheet's (and sub modes) properties panel (N-Panel) are now open by default. This includes the editors in the default Animation workspace. Note that, because the Timeline is implemented as a special mode of the Dopesheet, switching between Timeline and Dopesheet will *not* change the visibility of the properties panel. Maniphest Tasks: T97980 Differential Revision: https://developer.blender.org/D14910
2022-07-26BLI: add use_threading parameter to parallel_invokeIliay Katueshenock
`parallel_invoke` allows executing functions on separate threads. However, creating tasks in tbb has a measurable amount of overhead. Therefore, it can be benefitial to disable parallelization when the amount of work done per function is small. See D15539 for some benchmark results. Differential Revision: https://developer.blender.org/D15539
2022-07-26Fix T99979: GPencil strokes cannot be edited after set originAntonio Vazquez
The stroke points were changed but the bounding box calculation was not done and this produced a problem in any bounding box check done by different tools.
2022-07-26Cleanup: spelling in commentsCampbell Barton
2022-07-25Fix T99459: GPencil: Fill tool on the surface not in the correct placeGermano Cavalcante
There is a 1 pixel error in the size registered for the buffer dimensions. NOTE: This issue indicates that the texture scale is different from the region, so the mouse-based coordinates used are actually misaligned. This misalignment will be fixed in another commit. Regression probably introduced in rB1d49293b8044 + rB45f167237f0c8
2022-07-25Curves: Unify poll functions, add message with no surfaceHans Goudey
The "snap to surface" operators now have "disabled" poll messages when there is no surface object. The implementation in most curves operators is also unified. The goal is to avoid having to define and use the poll failure messages in multiple places, to reduce the boilerplate that tends to be necessary to add an operator, and to increase the likelihood that operators are implemented with proper poll messages. Differential Revision: https://developer.blender.org/D15528
2022-07-25Fix T99880: no node timing for frames in node groupsJacques Lucke
2022-07-25Fix T99036: hex color in "Add Color Attribute"Ramil Roosileht
Proposed solution by @scurest The color attribute in the RNA was tagged as COLOR_GAMMA. This change will change it to a regular COLOR. {F13217692} Reviewed By: joeedh, jbakker Maniphest Tasks: T99036 Differential Revision: https://developer.blender.org/D15272