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-07-29Render: Propagate view updates to draw enginesOmar Emara
Currently, draw engines are not notified of view updates if a render engine is active and was updated. It is unclear why this is the case currently, but this behavior was part of the initial commit. This patch propagates view updates regardless if the update was handled by an active render engine. This is needed by the realtime compositor as it implements logic for view updates, which currently does not execute if Cycles is rendering for instance. Differential Revision: https://developer.blender.org/D15207 Reviewed By: Brecht
2022-07-29Merge branch 'blender-v3.3-release'Hans Goudey
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-29Cleanup: Nodes: Store node group idname in tree typeHans Goudey
There was already a utility to retrieve the correct node group idname from the context, `node_group_idname`, but often it's clearer to use lower-level arguments, or the context isn't accessible. Storing the group idname in the tree type makes it accessible without rewriting it elsewhere.
2022-07-29Merge branch 'blender-v3.3-release'Hans Goudey
2022-07-29Fix: Grammar mistake in info messageHans Goudey
2022-07-29Cleanup: Use LISTBASE_FOREACH macroHans Goudey
2022-07-29Cleanup: Use const context argument for UIList callbacksHans Goudey
2022-07-28Merge branch 'blender-v3.3-release'Jacques Lucke
2022-07-28Curves: improve handling of empty surface meshesJacques Lucke
2022-07-27Curves: Avoid virtual function overhead when finding selected curvesHans Goudey
This showed up on a profile of sculpting with the comb brush. Use a span instead of a virtual array.
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
2022-07-25Fix missing disabled hint when dragging from Asset Browser in edit modeJulian Eisel
When dragging assets into the 3D View while in any other mode than object mode, dropping would be disabled and the cursor would indicate that. However there was supposed to be an "Only supported in object mode" message, that similar operators showed, but got forgotten when this one was introduced.
2022-07-25Curves: add warning when invalid uv map is used when adding curvesJacques Lucke
UV maps that are used for surface attachment must not have overlapping uv islands, because then the same uv coordinate would correspond to multiple surface positions. Ref T99936.
2022-07-25Fix T99961: crash when spreadsheet shows volume gridsJacques Lucke
2022-07-25Undo: Improve image undo performanceAlex Parker
When texture painting a lot of time is spent in ED_image_paint_tile_find. This fixes stores the PaintTiles in a blender::Map making ED_image_paint_tile_find an O(1) rather than O(n) operation. When using threading the locking should happen during read as well, still this gives a boost in performance as the read is now much faster. Reviewed By: jbakker Maniphest Tasks: T99546 Differential Revision: https://developer.blender.org/D15415
2022-07-24Cleanup: Simplify uv sculpt toolChris Blackbourn
No functional changes.
2022-07-22Fix nodes not transformingGermano Cavalcante
Error in {rB98bf714b37c1}
2022-07-22Curves: support sculpting on deformed curvesJacques Lucke
Previously, curves sculpt tools only worked on original data. This was very limiting, because one could effectively only sculpt the curves when all procedural effects were turned off. This patch adds support for curves sculpting while looking the result of procedural effects (like deformation based on the surface mesh). This functionality is also known as "crazy space" support in Blender. For more details see D15407. Differential Revision: https://developer.blender.org/D15407
2022-07-22Refactor: arrange transform convert functions in 'TransConvertTypeInfo'Germano Cavalcante
Simplify the transform code by bundling the TransData creation, Data recalculation, and special updates into a single struct. So similar functions and parameters can be accessed without special type checks. Differential Revision: https://developer.blender.org/D15494
2022-07-22Cleanup: add BKE_image_find_nearest_tile_with_offsetCampbell Barton
Every caller BKE_image_find_nearest_tile was calculating the tile offset so add a version of this function that returns the offset too.
2022-07-22Fix crash loading factory settings in image paint modeCampbell Barton
Loading factory settings left the region NULL, causing the brushes poll function to crash.
2022-07-22UV: Edge support for select shortest path operatorSiddhartha Jejurkar
Calculating shortest path selection in UV edge mode was done using vertex path logic. Since the UV editor now supports proper edge selection [0], this approach can sometimes give incorrect results. This problem is now fixed by adding separate logic to calculate the shortest path in UV edge mode. Resolves T99344. [0]: ffaaa0bcbf477c30cf3665b9330bbbb767397169 Reviewed By: campbellbarton Ref D15511.
2022-07-21Cleanup: compiler warningBrecht Van Lommel
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: Rename length parameterization interpolation functionHans Goudey
The name makes more sense as an action, other interpolation methods besides linear probably don't make sense here anyway.
2022-07-21Curves: fix applying materials when applying modifierJacques Lucke
The issue was that geometry nodes was run on the original curves, and set a pointer to an evaluated material id on it. The fix is to not mix up original and evaluated data by making sure that geometry nodes does not modify the original data.
2022-07-21Cleanup: Make automated code check happy.Bastien Montagne
- Assert that one of the thwo branches in `id_override_library_create_hierarchy` are always processed. - Init success value regardless.
2022-07-21LibOverride: support 'make override' for all selected items.Bastien Montagne
This commit allows to select several data-blocks in the outliner and create overrides from all of them, not only the active one. It properly creates a single hierarchy when several IDs from a same hierarchy root data are selected. Reviewed By: Severin Differential Revision: https://developer.blender.org/D15497
2022-07-21Cleanup: formatCampbell Barton
2022-07-21Cleanup: add ISMOUSE_MOTION macroCampbell Barton
Replace verbose ELEM(..) usage, now each kind of mouse event has it's own macro.
2022-07-21WM: replace ISMOUSE with ISMOUSE_BUTTONCampbell Barton
The ISMOUSE macro was used in situations only button events needed to be checked. The only functional difference would be MOUSEMOVE events were previously accepted for these checks.
2022-07-21Cleanup: spelling in comments, typos in tool-tipsCampbell Barton
2022-07-21Fix T99678: Crash applying non-existent modifiersCampbell Barton
Regression in [0] accessed the modifier type before NULL check. [0]: 78fc5ea1c398f70d22cda72be33c105146c0d542
2022-07-21Fix T99687: Cloth filter crashJoseph Eagar
The code was failing to exclude the sculpt object from the list of collision objects.
2022-07-20UI: Remove redundant view reference in view itemsJulian Eisel
The new view item base class already holds a reference to the view, no need to have one in the derived class as well.
2022-07-20Fix missing registration of grid view items in the viewJulian Eisel
2022-07-20Cleanup: remove unused get_cage_mesh parameterJacques Lucke
All callers passed `false` for this parameter, making it more confusing than useful. If this functionality is needed again in the future, a separate function should be added. Differential Revision: https://developer.blender.org/D15401