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-06-26GPencil: Duplicate Masks when separate Layer/StrokesAntonio Vazquez
Now, the mask layers are copied and later a cleanup is done in order to verify all mask layer exist in destination object. If the layer mask does not exist, it's removed from the list. This is related to T89234.
2021-06-26Edit Mesh: optimize common use-cases for partial updatesCampbell Barton
Skip updating normals & tessellation for contiguous geometry regions for operations such as translate & uniform scale. This means when all geometry is selected, no updates are needed as the relative locations of vertices aren't being modified. Performance: As this is skipping a multi-threaded operation, larger improvements are noticeable on systems with fewer cores. - ~1.15x to ~1.3x overall gain for 32 cores. - ~1.7x to ~2.2x overall gain for 1 core (limited using `-t 1` argument). Details: - Rotate & non-uniform scale only skip tessellation. - Proportional editing and axis-mirror have special handling ensure geometry is properly grouped before considering a face part of a single group that can be skipped. - Loose vertices always need their normals to be recalculated since they're calculated based on the location. - Non-affine transform operations such as shrink-fatten & bend, don't take advantage of this optimization. - Snap projection also disables the optimization.
2021-06-26Cleanup: move snap with projection check into a functionCampbell Barton
2021-06-26BMesh: skip partial updates when there is nothing to doCampbell Barton
2021-06-26Cleanup: RNA warningCampbell Barton
2021-06-25Fixes a bug where the instances count in the spreadsheetFabian Schempp
editor dataset region always showed 0. This was caused by a conditional statement that needed a domain to be set, which is not the case for Instances component type. Reviewer: Hans Goudey (Hoogly Boogly) Differential Revision: https://developer.blender.org/D11710
2021-06-25Fixes a warning where dst array size was wrong in theFabian Schempp
signiture of BLI_str_format_attribute_domain_size. Reviewer: Hans Goudey (Hoogly Boogly) Differential Revision: https://developer.blender.org/D11710
2021-06-25UI: Improved File Browser Preview Image ScalingHarley Acheson
This patch enables sample filtering when scaling preview images in File Browser, improving the result a bit. Reduces blockiness and other artifacts when enlarging the images. see D11706 for details and examples. Differential Revision: https://developer.blender.org/D11706 Reviewed by Julian Eisel
2021-06-25Cleanup: Clang formatHans Goudey
2021-06-25Cycles: add view layer option to disable motion blur, in the Filter panelBrecht Van Lommel
2021-06-25Cleanup: make formatDalai Felinto
string.c still needs cleanup, but I will leave to the original author of the latest chagnes to do it since it needs some tags to skip formatting.
2021-06-25Fix T87185: value assigned to modal Scale does not work properlyCampbell Barton
`t->values` does not necessarily represent a final value of the transformation, as each mode treats this value differently. So, unfortunately, we cannot have a generic offset solution for modal transform operations. Offset needs to be handled by each mode. Note: Currently only, `Move`, `Rotate` and `Resize` support this.
2021-06-25Fix T89430: Realizing NURBS curve instances is brokenHans Goudey
The "copy_data" function for nurbs splines was incorrect, it always set the destination's knots vector as "not dirty," even if the source's was.
2021-06-25Linux: prefer using dedicated GPU when launching BlenderMihnea Stoian
Adds "PrefersNonDefaultGPU" and "X-KDE-RunOnDiscreteGpu" to the .desktop file. Similar hints for macOS and Windows exist already, to prefer using a dedicated GPU over a slower integrated GPU. See: https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/13 Differential Revision: https://developer.blender.org/D11643
2021-06-25Fix T88756: crash when baking with autosmoothKévin Dietrich
When baking some data, we create a new Mesh with edits and modifiers applied. However, in some cases (e.g. when there is no modifier), the returned Mesh is actually referencing the original one and its data layers. When autosmooth is enabled we also split the Mesh. However, since the new Mesh is referencing the original one, although `BKE_mesh_split_faces` is creating new vertices and edges, the reallocation of the custom data layers is preempted because of the reference, so adding the new vertices and edges overwrites valid data To fix this we duplicate referenced layers before splitting the faces. Reviewed By: brecht Differential Revision: https://developer.blender.org/D11703
2021-06-25LineArt: Filtering feature lines with face maskYimingWu
User can specify filtering options inside line art modifier, like inverting selection and including face mark region border. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11307
2021-06-25Spreadsheet: Dataset region for spreadsheet editorFabian Schempp
This patch adds a left aligned sidebar to the spreadsheet editor. This Sidebar can be used to navigate the geometry component types and attribute domains. It also provides a quick overview of domain sizes. It replaces the two dropdowns in the regions header. Next step will be to add the domain cycling shortcut using the CTRL + mouse wheel. Reviewer: Dalai Felinto (dfelinto), Julian Eisel (Severin), Hans Goudey (HooglyBoogly). Differential Revision: https://developer.blender.org/D11046
2021-06-25LineArt: More type & related chaining improvementsYimingWu
This patch includes: Floating edge type support, Special chaining option for floating edge, Chaining option for reducing jagged edges when floating edges are involved. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11306
2021-06-24GHOST/XR: support Wayland via XrGraphicsBindingOpenGLWaylandKHRChristian Rauch
2021-06-24GHOST: remove unused EGL context includes in Win32 and CocoaChristian Rauch
2021-06-24GHOST/EGL: store pointer to GHOST_System for downcast testsChristian Rauch
2021-06-24GHOST/Wayland: auto-select highest supported OpenGL versionChristian Rauch
2021-06-24Cleanup: compiler warnings with clangBrecht Van Lommel
* Mark either all or no class methods with override * Don't use zero sized array since it has a different size in C and C++. Using a little more memory here is not significant. * Don't use deprecated mechanism to mark private GSet members in clang just like we don't for MSVC, it warns even for simple zero initialization.
2021-06-24Fix T89129: file dialog displays in-progress Safari downloads as a folderLeon Zandman
In-progress Safari download files/packages are now recognized as bundles and therefore not treated as directories. Differential Revision: https://developer.blender.org/D11613
2021-06-24Fix wrong default value for RenderEngine.bl_use_image_saveThomas Lachmann
Differential Revision: https://developer.blender.org/D11680
2021-06-24Cleanup: move and simplify some draw_cache macrosGermano Cavalcante
2021-06-24Fix T89390: crash when join geometry node has only muted inputsJacques Lucke
2021-06-24Workaround for assert from 27da305a404f72a75a37892e1ac080c6531d059bCampbell Barton
This worked for existing scenes but adding new objects was asserting needs further investigation.
2021-06-24Depsgraph: remove redundant mesh data duplication in edit-modeCampbell Barton
This resolves a bottleneck where every update while transforming copied the entire mesh data-block, which isn't needed as the edit-mesh is the source of the data being edited. Testing shows a significant overall speedup when transforming: - ~1.5x with a subdivided cube 1.5 million vertices. - ~3.0x with the spring mesh (edit-mode with modifiers disabled, duplicated 10x to drop performance). Reviewed By: sergey Ref D11337
2021-06-24Depsgraph: support flushing parameters without a full COW updateCampbell Barton
Avoid computationally expensive copying operations when only some settings have been modified. This is done by adding support for updating parameters without tagging for copy-on-write. Currently only mesh data blocks are supported, other data-blocks can be added individually. This prepares for changing values such as edit-mesh auto-smooth angle in edit-mode without duplicating all mesh-data. The benefit will only be seen when the user interface no longer tags all ID's for copy on write updates. ID_RECALC_GEOMETRY_ALL_MODES has been added to support situations where non edit-mode geometry is modified in edit-mode. While this isn't something user are likely to do, Python scripts may change the underlying mesh. Reviewed By: sergey Ref D11377
2021-06-24Fix T87486: Can't open file with modifiers to a grease pencil library overrideBastien Montagne
Very stupid typo in override apply code on GP modifiers (typical copy/paste mistake from original modifiers code). @jbakker this should be back-ported to 2.93LTS.
2021-06-24Fix linking code after own recent commit.Bastien Montagne
More stupid mistake in recent enhanced reports for file load code, rB82c17082ba0e left some read-after-free situations.
2021-06-24CMake: link bf_blenkernel from bf_depsgraphCampbell Barton
Without this tests fail to lknk in D11377. Commit separately as the depsgraph is using BKE it should link to it.
2021-06-24Cleanup: update clang-format so PyObject_HEAD indents properlyCampbell Barton
2021-06-24Cleanup: use Blender's code style for doxygen commetns in freestyleCampbell Barton
2021-06-24Cleanup: comment blocks, trailing space in commentsCampbell Barton
2021-06-24Cleanup: use '#if 0' for commented code-blockCampbell Barton
2021-06-24Cleanup: correct variable name in commentsCampbell Barton
2021-06-24Cleanup: remove outdated/redundant commentsCampbell Barton
2021-06-24Cleanup: clang-format, spellingCampbell Barton
2021-06-24LineArt: Bound box visibility check when loadingYimingWu
This patch enables bound box check when loading geometry into line art. Works with overscan as well. Will discard object if its bbox completely lies in one side of the clipping space frustum. Reviewed by: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11545
2021-06-24Line Art: Discard out of frame edges.YimingWu
For scenes that have a lot of edges, this could potentially save some time generating individual strokes that are outside camera frustum. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11525
2021-06-24Fix failure when baking actions with Bendy BonesJulian Eisel
682a74e0909ba renamed Bendy Bones properties and replaced existing float properties with float-vector properties. This updates the property names used by the action baking operator (`NLA_OT_bake`).
2021-06-23Remove window iteration in WM_DISPLAYCHANGE.Nicholas Rishel
Iteration was incorrectly calling the same object. Had it called every window it would still be unnecessary as WM_DISPLAYCHANGE is sent to all broadcast receiving windows.
2021-06-23Voxel Remesher: Make smooth shading output automaticPablo Dobarro
Previously the smooth shading of the voxel remesher was controlled by a mesh property. With this change, the output will try to match the current shading of the object. This only takes into consideration the shading mode of the first polygon of the model, but it is probably what most users expect as it works as intended with the shade smooth/flat object mode options. Reviewed By: JulienKaspar, JacquesLucke Differential Revision: https://developer.blender.org/D11626
2021-06-23Fix T89221: Sculpt tools symmetry failing with non symmetrical meshesPablo Dobarro
SCULPT_nearest_vertex_get expects a distance, not a distance squared. This should make symmetry work as expected, but it still can fail if the mesh topology is not completely symmetrical. Reviewed By: JacquesLucke Maniphest Tasks: T89221 Differential Revision: https://developer.blender.org/D11642
2021-06-23Compositor: Full frame ID Mask nodeManuel Castilla
Adds full frame implementation to this node operations. No functional changes. 1.2x faster than tiled fallback. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D11638
2021-06-23Compositor: Full frame Image nodeManuel Castilla
Adds full frame implementation to Image node operations. Mostly refactored into buffer utility methods for reuse in other operations. No functional changes. 1.8x faster than tiled fallback. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D11559
2021-06-23Cleanup: remove unused parameterManuel Castilla
2021-06-23Fix T88769: GPencil smooth incorrect behavior in cyclic strokesAntonio Vazquez
When use smooth tool in a cyclic stroke, the smoothing algorithm was not using the adjacent points if these are the end or start of stroke. Now, the smooth uses the other extreme of the stroke to compute smoothness.