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-06-28Realtime Compositor: Update task linktemp-viewport-compositor-mergeOmar Emara
2022-06-17Realtime Compositor: Use more consistent namesOmar Emara
2022-06-17Realtime Compositor: Add Separate Combine color nodeOmar Emara
2022-06-16Realtime Compositor: Cleanup split viewer nodeOmar Emara
2022-06-16Realtime Compositor: Support multi-view imagesOmar Emara
2022-06-16Realtime Compositor: Correct multiply by alphaOmar Emara
2022-06-15Merge branch 'master' into temp-viewport-compositor-mergeOmar Emara
2022-06-15Clip editor: Default to average error sort in dopesheetSergey Sharybin
This is what we agreed on during the workshop. Differential Revision: https://developer.blender.org/D15194
2022-06-15Clip editor: Use Ascending/Descending order instead of "Inverse"Sergey Sharybin
This is more intuitive for artists.
2022-06-15Clip editor: Sort tracks alphabetically when they have matched errorSergey Sharybin
Is nice to ensure order of tracks when their error is the same or is not known yet (the clip was not solved yet).
2022-06-15Realtime Compositor: Add as an experimental optionOmar Emara
2022-06-15UI: Icons - Rename Density and Slide sculpt curve iconsDalai Felinto
Those tools will get renamed to follow the standard we have for the other tools (i.e., add sculpt_ in their name).
2022-06-15Cleanup: remove redundant key entry from key_repeat_payload_tCampbell Barton
2022-06-15Cleanup: internalize struct members for internal wayland typesCampbell Barton
Missed from 9978689595f87a6b4d8244ee3d014c8fb239e38d.
2022-06-15Realtime Compositor: Validate node treeOmar Emara
Check if the node tree is valid and display an error message if it isn't. This also removes unsupported nodes and simply displays an error if the node tree contains one of them.
2022-06-15Fix T98765: Regression: Unable to select mask points in clip editorSergey Sharybin
Re-organize de-selection so that there is less conflict between tracking and masking operators. Still not fully ideal: the LMB selection does not de-select everything now since the `mask.select` with `deselect_all` is only added to the keymap when the RMB is the select mouse. While this is sub-optimal, this seems to be how mask selection behaved in the Image Editor in 3.1. Not sure it worth looking into a more complete fix, as it will likely be too big to be safe for a corrective release. Differential Revision: https://developer.blender.org/D15183
2022-06-15GHOST/Wayland: add NULL pointer checks on window accessCampbell Barton
There were a few callers that missed checking a NULL return value which can happen in rare cases.
2022-06-15Cleanup: avoid static_cast when accessing wayland windowsCampbell Barton
Rename get_window to window_from_surface and return a GHOST_WindowWayland instead of an GHOST_IWindow since most callers needed to cast. It also makes sense that an call for accessing windows would return the native type.
2022-06-15Fix T98699: Face dot colors in UV editor was using wrong color from themeChris Blackbourn
2022-06-15Cleanup: various minor changes to wayland internal conventionsCampbell Barton
- Initialize values in the struct declarations (help avoid accidental uninitialized struct members). - Use `wl_` prefix for some types to avoid e.g. `output->output`. - Use `_fn` suffix for locally defined function variables. - Use `_handle_` as separator for handlers, making function names easier to follow as this separates the handler name from the interface. - Add doxy sections for listeners in GHOST_WaylandWindow.cpp.
2022-06-15Fix T98708: Crash on startup - OpenGL4.2 without conservative depth.Jeroen Bakker
Intel iGPU (HD4000) supports OpenGL 4.4 but doesn't support conservative depth. (GL_ARB_conservative_depth). This change will only check for the availability of the extension.
2022-06-15Cleanup: Miscellaneous improvements to draw attribute extractionHans Goudey
- Remove unnecessary braces in switch statements - Move `default` to the end of other switch items - Use camel case for type names - Use `BLI_assert_unreachable()`
2022-06-15Realtime Compositor: Cleanup comments complete renamesOmar Emara
2022-06-15GHOST/Wayland: resolve glitch drawing the software cursorCampbell Barton
When grab was disabled, the software cursor would remain displayed in the image view. Ensure an additional redraw is done to clear the cursor.
2022-06-15GHOST/Wayland: fractional scaling supportCampbell Barton
GHOST_GetDPIHint now returns a value that takes fractional scaling into account. Otherwise the integer scale is used since Wayland's API's use integer scale values exclusively. Use the same method as SDL to calculate the fractional scale.
2022-06-15Cleanup: use `int32_t[2]` for Wayland display size variablesCampbell Barton
2022-06-15Cleanup: unused argument warningCampbell Barton
2022-06-14Cleanup: Move function definition to correct fileRichard Antalik
Function `SEQ_transform_handle_overlap` was declared in sequencer module header file, but it was defined in editor/transform module. Move definition to sequencer module.
2022-06-14Fix T72831: Incorrect animation handling when strips overlapRichard Antalik
Function `SEQ_transform_seqbase_shuffle_time` did not have access to strip effects, and therefore could not handle their animation. Since now transformation knows what strips can't be directly moved, but their position depends on other strips, this collection of strips is passed as argument, so animation can be offset correctly.
2022-06-14Fix T98168: Meta strips do not copy animation to another sceneRichard Antalik
Copy animation for strips that are inside metas.
2022-06-14Fix T98718: Face Is Planar Node Not handling Certain ConditionsJohnny Matthews
The comparison between dot products of each point of the poly were not taking into consideration negative values. FLT_MIN was used rather than -FLT_MAX due to a misunderstanding of the FLT_MIN definition. Maniphest Tasks: T98718 Differential Revision: https://developer.blender.org/D15161
2022-06-14Fix T98879: PBVH active attrs only optimization is buggyJoseph Eagar
PBVH draw has an optimization where it only sends the active attribute to the GPU in workbench mode. This fails if multiple viewports are open with a mix of workbench and EEVEE mode; it also causes severe lag if any workbench viewport is in material mode. There are two solutions: either add the code in sculpt-dev that checks for EEVEE viewports at the beginning of each frame, or integrate pbvh draw properly inside the draw manager and let it handle which attributes should go to the GPU.
2022-06-14Cleanup: Fix const correctness of attribute search functionHans Goudey
Retrieving a mutable custom data layer from a const ID should not be possible.
2022-06-14Fix T98875: Adding camera background image shows errorJulian Eisel
Don't show an error if no operator property is set at all that can be used to find an image file or ID for dropping. The caller can decide if this is an error that needs reporting or a valid case, like it is here.
2022-06-14Fix T98797: VSE Slip Strip Contents doesn't work properlyRichard Antalik
Caused by oversight in 7afcfe111aac - code relied on fact, that strip boundary holds old value until updated. Calculate new offsets based on stored orignal offsets.
2022-06-14Cleanup: Snake case for variable nameHans Goudey
2022-06-14Attributes: Add null check in color attribute duplicate operatorHans Goudey
It's potentially possible that the attribute duplication could fail, for whetever reason. There is no great reason not to be safe in this high-level code.
2022-06-14Attributes: Adjustments to duplicate attribute API functionHans Goudey
Use a name argument, for the same reasons as 6eea5f70e3b79e3c668. Also reuse the layer and unique name creation in `BKE_id_attribute_new` instead of reimplementing it. Also include a few miscellaneous cleanups like using const variables and `std::string`.
2022-06-14Fix T98700: Regression: Crash when recursively nesting NLA meta stripsSybren A. Stüvel
The `update_active_strip_from_listbase()` function took meta-strips in the "source" list into account, but didn't recurse into the corresponding meta-strip of the "destination" list. This is now fixed. `update_active_strip_from_listbase()` needed a few changes to resolve the issue: - It was renamed to `find_active_strip_from_listbase()` to limit its reponsibility to just finding the active strip. It now leaves the assignment to the caller. This reduces the number of parameters by 1 and makes recursion simpler. - The destination strips are now, like the source strips, passed as `ListBase`, so that both source & dest can be recursed simultaneously.
2022-06-14Outliner: Sanitize material unlinking callback, report errorsJulian Eisel
The callback would just assume that it's only called on materials, which may in fact not be the case. It could also be called for other ID types and layer collections (see `outliner_do_libdata_operation()`). Properly check this now. Also avoid faling silently when the object or object-data to unlink from couldn't be determined. Report this to the user. Operators that just do nothing are confusing.
2022-06-14Fix T98753: Outliner Unlink material in Blender File mode crashesJulian Eisel
This issue was only exposed by ba49345705a3. The ID pointer of the material's parent tree-element wasn't actually pointing to an ID, but to the list-base containing the IDs. It was just unlikely to cause issues in practice, although an assert was thrown. Just don't do anything if the object or object-data to unlink the material from could not be found. The following commit will introduce a error message about this.
2022-06-14Fix: Don't allow duplicate color attribute operator in edit modeHans Goudey
The internal function relies on `CustomData_copy_data_layer` currently, which doesn't work for BMesh. Support could be added as a special case for BMesh, but in the meantime avoid bugs by just changing the poll.
2022-06-14Fix T98813: crash with GPU subdiv in edit mode and instanced geometryBrecht Van Lommel
Instancing with geometry nodes uses just the evaluated Mesh, and ignores the Object that it came from. That meant that it would try to look up the subsurf modifier on the instancer object which does not have the subsurf modifier. Instead of storing a session UUID and looking up the modifier data, store a point to the subsurf modifier runtime data. Unlike the modifier data, this runtime data is preserved across depsgraph CoW. It must be for the subdiv descriptor contained in it to stay valid along with the draw cache. As a bonus, this moves various Mesh_Runtime variables into the subsurf runtime data, reducing memory usage for meshes not using subdivision surfaces. Also fixes T98693, issues with subdivision level >= 8 due to integer overflow. Differential Revision: https://developer.blender.org/D15184
2022-06-14Render report: better wording for reference image updatingSybren A. Stüvel
The old text was suggesting to run `BLENDER_TEST_UPDATE=1 ctest` for failed tests. Now it's more clear that this is for the regeneration of reference (ground truth) images, and that it will not touch passing test cases. It now also mentions to commit the new reference images to SVN, driving the point home that this is for updating those, and not for making failing tests succeed in general. Over-the-shoulder reviewed by: @sergey
2022-06-14Fix T85729: Crash when exporting for USD and AlembicSonny Campbell
Ensure the "null" node graph, which is the root node of the export graph, always exists. The crash occured when "Use Settings For" was set to Render, "Visible Objects Only" was ticked, and a single parent object is in the scene but disabled for render. Because the only object attached to the root of the project was disabled for export, there was no "null" root node added to the export graph. This change will always add an empty "null" node with no children to the graph at the start. Other objects will get added to its children as required. Reviewed By: sybren Maniphest Tasks: T85729 Differential Revision: https://developer.blender.org/D15182
2022-06-14Cleanup: Variable name style in STL importerHans Goudey
Designate private variable names as described by the style guide, and also add `num` at the end of variable names rather than at the beginning, as discussed in T85728.
2022-06-14Fix T98715: Crash drag-dropping collection from outliner to ID propertyJulian Eisel
The value of disabled buttons shouldn't be changed through dropping onto it. Check for the disabled state in the drop operator poll, so the dragging code will change the cursor to show that dropping isn't possible at the given cursor location.
2022-06-14obj: disable vertex color tests until it produces identical results across ↵Aras Pranckevicius
platforms
2022-06-14Curves: support adding keymap items for operatorsJacques Lucke
* Add a new keymap for `curves.*` operators. This is mainly for edit mode operators, but since we don't have edit mode yet, these operators are also exposed in sculpt mode currently. * Fix the naming of the "sculpt curves" keymap.
2022-06-14Realtime Compositor: Use more explicit member nameOmar Emara