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-09-28Remove MeshPrimitive completelytemp-pbvh-seam-texturing-tweaksHans Goudey
Now the existing MLoopTri array is used instead, in addition to a separate triangle -> edge connection array. This saves 16 bytes per face corner of memory usage during this process. It also makes the code more "standard", making it possible to share tooling with other areas that deal with UVs and looptriangles
2022-09-28Merge branch 'master' into temp-pbvh-seam-texturing-tweaksHans Goudey
2022-09-28Use std::array for MeshPrimitive edgesHans Goudey
2022-09-28Remove MeshPrimitive.indexHans Goudey
2022-09-28Remove MeshUVVert, use loop indices instead of "UV verts"Hans Goudey
2022-09-28Remove MeshVertex, use indices for edges and primitivesHans Goudey
2022-09-28Fix Python module test failing with macOS + address sanitizerBrecht Van Lommel
Based on patch by Ankit Meel. Ref D10877
2022-09-28Fix T101414: in 3d viewport, smart uv project failed to packChris Blackbourn
Regression from https://developer.blender.org/rBa5c696a0c2b9
2022-09-28Cleanup: spelling in commentsCampbell Barton
Also add missing task ID.
2022-09-28Cleanup: formatCampbell Barton
2022-09-28Cleanup: compiler warningsCampbell Barton
2022-09-28Correct sign conversion errors in convexhull_2d.cCampbell Barton
2022-09-28Cleanup: improve 2D convex hullChris Blackbourn
Improve correctness, API, comments, memory usage and performance of the 2D convex hull calculation. Pre-requisite for UV packing improvements. Differential Revision: https://developer.blender.org/D16055
2022-09-27Cleanup: Standardize variable names, use spansHans Goudey
2022-09-27Initial patch from JeroenHans Goudey
2022-09-27Cycles: Add optional per-kernel performance statisticsNikita Sirgienko
When verbose level 4 is enabled, Blender prints kernel performance data for Cycles on GPU backends (except Metal that doesn't use debug_enqueue_* methods) for groups of kernels. These changes introduce a new CYCLES_DEBUG_PER_KERNEL_PERFORMANCE environment variable to allow getting timings for each kernels separately and not grouped with others. This is done by adding explicit synchronization after each kernel execution. Differential Revision: https://developer.blender.org/D15971
2022-09-27Cleanup: Unused variable warning with path guiding turned offHans Goudey
2022-09-27Fix T101348: Sculpt smooth brush artifacts with hidden facesHans Goudey
The brush mixed up the vert and poly hide layers.
2022-09-27Fix: Assert in legacy mesh conversionHans Goudey
When setting the old face set custom data type, do it in the "layers to write" vector instead of the mesh's poly custom data layers, which weren't "prepared" yet. Otherwise this could make the mesh's custom data typemap invalid.
2022-09-27Cleanup: Use signed integers for mesh vertex indicesHans Goudey
2022-09-27Cleanup: Use variable and const for sculpt mesh vertex to poly mapsHans Goudey
2022-09-27WM: Support opening backup .blend files via drag-dropPablo Vazquez
Add support for opening Blender backup `.blend` files (`.blend1`, `.blend2`, etc) by dropping them into the window, just like regular .blend files. {F13393482, size=full} Reviewed By: Severin Differential Revision: https://developer.blender.org/D15700
2022-09-27Fix: OpenPGL related build error on windowsRay Molenkamp
Debug and Release libs are different libs on Windows and will give linker errors when you try to mix and match them. This changes retrieves both libs and fills the OPENPGL_LIBRARIES variable appropriately resolving the linker error.
2022-09-27Cycles: Tweak inlining policy on MetalMichael Jones
This patch optimises the Metal inlining policy. It gives a small speedup (2-3% on M1 Max) with no notable compilation slowdown vs what is already in master. Previously noted compilation slowdowns (as reported in T100102) were caused by forcing inlining for `ccl_device`, but we get better rendering perf by relying on compiler heuristics in these cases. Reviewed By: brecht Differential Revision: https://developer.blender.org/D16081
2022-09-27Cycles: Disable binary archives on macOS < 13.0Michael Jones
An bug with binary archives was fixed in macOS 13.0 which stops some spurious kernel recompilations. In older macOS versions, falling back on the system shader cache will prevent recompilations in most instances (this is the same behaviour as in Blender 3.1.x and 3.2.x). Reviewed By: brecht Differential Revision: https://developer.blender.org/D16082
2022-09-27Gpencil: Time Offset modifier new Chain modeAleš Jelovčan
This patch adds 5th mode to Time offset modifier, which should allow to create time segments list. This will allow users to chain together multiple time ranges in 4 modes: - Forward - Backwards - Pingpong - Reverse Pingpong It also comes with additional Repeat parameter which specifies number of times particular segment should run. The mechanic of it is transforming initial parameters into array of frames which are mapped to existing cfra (current frame) value. Prototype : https://jsfiddle.net/ha2sjw8p/3/ This is also closely aligned to community request: https://blender.community/c/rightclickselect/Txhbbc/ This should allow creation of complex animations like dancing, which consists of repeating loops and transitions to the next. One important side effect of this is dramatically reduced file sizes, as user no longer needs to copy paste keyframes. Reviewed By: antoniov, mendio, pepeland Differential Revision: https://developer.blender.org/D15052
2022-09-27BLF: Editing Text with Combining CharactersHarley Acheson
Corrections for caret insertion & movement and deletion for text strings that include non-precomposed diacritical marks (Unicode combining characters). See D15659 for more details and examples. Differential Revision: https://developer.blender.org/D15659 Reviewed by Campbell Barton
2022-09-27View3D: move view3d_draw.c to c++Jacques Lucke
2022-09-27GPencil: New Outline modifierAntonio Vazquez
This modifier converts any stroke (no fill strokes) into perimeter from camera view. Also, it's possible to define an alternative material for the outline. There is an option to include a target object to manipulate the start point of the strokes. The start point will be the nearest point to the target object. Reviewed By: mendio, frogstomp Maniphest Tasks: T100826 Differential Revision: https://developer.blender.org/D15882 Note: Icon will be updated in T101155
2022-09-27Cycles: add Path Guiding on CPU through Intel OpenPGLSebastian Herhoz
This adds path guiding features into Cycles by integrating Intel's Open Path Guiding Library. It can be enabled in the Sampling > Path Guiding panel in the render properties. This feature helps reduce noise in scenes where finding a path to light is difficult for regular path tracing. The current implementation supports guiding directional sampling decisions on surfaces, when the material contains a least one diffuse component, and in volumes with isotropic and anisotropic Henyey-Greenstein phase functions. On surfaces, the guided sampling decision is proportional to the product of the incident radiance and the normal-oriented cosine lobe and in volumes it is proportional to the product of the incident radiance and the phase function. The incident radiance field of a scene is learned and updated during rendering after each per-frame rendering iteration/progression. At the moment, path guiding is only supported by the CPU backend. Support for GPU backends will be added in future versions of OpenPGL. Ref T92571 Differential Revision: https://developer.blender.org/D15286
2022-09-27Cycles: BSDF eval refactor to remove separate reflection/refraction methodsBrecht Van Lommel
Simplifies code overall to do it inside the eval function, most of the BSDFs already compute the dot product. The refactoring in bsdf_principled_hair_eval() was needed to avoid a HIP compiler bug. Cause is unclear, just changing the implementation enough is meant to sidestep it. Ref T92571, D15286
2022-09-27Cycles: BSDF changes in preparation of path guidingSebastian Herhoz
* Return roughness and IOR for BSDF sampling * Add functions to query IOR and label for given BSDF * Default IOR to 1.0 instead of 0.0 for BSDFs that don't use it * Ensure pdf >= 0.0 in case of numerical precision issues Ref T92571, D15286
2022-09-27Fix T101231: Console flooded with warnings when fluid type is DomainGermano Cavalcante
Although rB67e23b4b2967 turned the problem more recurrent, the warning messages in the console always appear when `BKE_fluid_cache_free_all` is called. This is because of a bug in `BLI_filelist_dir_contents` as this function calls `BLI_strdupcat` instead of `BLI_join_dirfile` NOTE: Other places in Blender avoid this problem by making sure to add a `SEP_STR` to the end of the directory. Differential Revision: https://developer.blender.org/D16043
2022-09-27Deps: fix builing wayland-scannerSybren A. Stüvel
- fix the source package download URL - patch the `meson.build` file to allow the CentOS 7 meson version to be used - only build what we need (`wayland-scanner`), and not the libraries, documentation, and tests. Ref: D16074 This also reverts commit f6664217b3214be869afb732d1d5bfc471a88e9a "Build: temporarily disable wayland dependency".
2022-09-27Fix T101398: Transfer Attribute node still defined in menuHans Goudey
Removing this item was missed in 837144b4577f161baf1625.
2022-09-27Fix T101393: Vertex Crease operator does not create vertex crease layerPhilipp Oeser
Typo in rBa8a454287a27 (created layer on edge data instead of vertex data). Maniphest Tasks: T101393 Differential Revision: https://developer.blender.org/D16079
2022-09-27Build: temporarily disable wayland dependencyCampbell Barton
This caused problems on centos7, see D16074 for details.
2022-09-27Fix: GPencil animated layer transforms evaluate wrong when identityPhilipp Oeser
Due to (optimization) checks in in `BKE_gpencil_prepare_eval_data` & `BKE_gpencil_update_layer_transforms`, updates were skipped if animation reached exact identity transforms. Now check if the matrix has changed additionally to gain proper updates. Unsure if this is the cheapest way to check for the animated state of layer transforms tbh, but I see similar checks elsewhere. Fixes T101164. Maniphest Tasks: T101164 Differential Revision: https://developer.blender.org/D16018
2022-09-27Fix curves sculpting in deformed space when using Subdivide nodePhilipp Oeser
Needs a call to remember_deformed_curve_positions_if_necessary, missed in rB1f94b56d7744. Thx @JacquesLucke for the solution! Differential Revision: https://developer.blender.org/D16078
2022-09-27Fix T101272: Missing view layer updates handling collections via python.Jeroen Bakker
Fixed by ensuring the view layer is up to date.
2022-09-27Build: add wayland to deps buildCampbell Barton
This is needed to ensure and up to date "wayland-scanner" is used, as versions before 1.20.0 generate headers incompatible with dynamic linking (WITH_GHOST_WAYLAND_DYNLOAD). As the centos7 version of wayland is 1.15 so make this part of Blender's dependencies on Linux. We intend to enable Wayland for Blender 3.4 release, this is needed for the build-bot. Reviewed By: brecht Ref D16074
2022-09-27Cleanup: Fix brace-scalar-init warningSergey Sharybin
2022-09-27GHOST: exit with an error when GHOST cannot be initializedCampbell Barton
When the GHOST back-end Blender was built with isn't supported, Blender would crash on startup without any useful information. This could happen when building X11 only, then running on Wayland. Now show a list of the GHOST back-ends that were attempted and exit with an error code instead of crashing.
2022-09-27Cleanup: formatCampbell Barton
2022-09-27WM: batch rename action clipsIyad Ahmed
Batch rename for action clips works in outliner and 3d view. Reviewed By: campbellbarton Ref D15819
2022-09-27Revert "Cleanup: remove redundant WITH_GHOST_WAYLAND check"Campbell Barton
This reverts commit 7fa7c7ceda3df8d522b8f5a407a697987669033c. The check was not redundant, it accounted for wayland not being found.
2022-09-27Build: add missing include for opencolorioCampbell Barton
OpenColorIO failed to build on Linux+GCC-12.2 because of strlen() use.
2022-09-27Cleanup: remove redundant WITH_GHOST_WAYLAND checkCampbell Barton
2022-09-27Fix T101361: Collapsed multi-input sockets not collapsing noodlesIliya Katueshenock
Caused by 40d815dff651, which removed the check for "hidden" nodes. Differential Revision: https://developer.blender.org/D16061
2022-09-27Scew Modifier: Remove eager normal calculationHans Goudey
The screw modifier calculated normals eagerly (whether or not the next modifier actually used them). However, this was incorrect and set invalid normals. It isn't necessary because they can be calculated later anyway. The potential performance improvement isn't worth the complexity or maintenance burden. Fixes T101075 Differential Revision: https://developer.blender.org/D16073