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-01-10Cleanup: typos in comments, remove libnumaapi referenceCampbell Barton
2022-01-10Cleanup: Use type_length in vec4_baseClément Foucault
2022-01-10Cleanup: Missing internationization for socket descriptionAaron Carlisle
2022-01-10Fix mistake in previous commitAaron Carlisle
2022-01-10Move isect_seg_seg to math namespaceClément Foucault
This way it is easier to add more variations later with different component count.
2022-01-10Cleanup: redundent semicolons after function bracesAaron Carlisle
2022-01-10BLI_math_vector: Refactor mpq2 & mpq3 to use template versionClément Foucault
Note that this removes the copy & move constructor and assignment from mpq2.
2022-01-10Cleanup: Use new socket builder APIAaron Carlisle
2022-01-10BLI_math_vector: Refactor double3 to use template versionClément Foucault
2022-01-10BLI_math_vector: Fix operator type for vec2_baseClément Foucault
2022-01-10BLI_math_vector: Move float2 and double2 to use templateClément Foucault
2022-01-10delaunay_2d.cc: Use math:: namespace vector operationsClément Foucault
2022-01-10float2::isect_seg_seg: Remove mu as part of the return structClément Foucault
This is to be able to template the function.
2022-01-09BLI_int2/3/4: Add support for integral vector typesClément Foucault
2022-01-09UI: Make uiTemplateNodeLink work for all socket typesAaron Carlisle
Currently the node link ui template only works with a few socket types. This commit addes support for the rest of the socket type declarations. As pointed out in D13776 currently after recent refactors Shader nodes no longer display in the menu. In the future more socket types will be used in the shader nodes and makes the UI template work better for other node trees. Differential Revision: https://developer.blender.org/D13778
2022-01-09Fix T94243: weightpaint gradient panel shown in other placesPhilipp Oeser
Weightpaint gradient tool panel showed in other modes (and as a separate panel). Fix for fix, see - rBf8a0e102cf5e - rBe549d6c1bd2d So now, check mode again and restrict to topbar (prevents an additional panel since this is already included in the brush settings). ref rB0837926740b3 in sculpt-dev branch, so thx @joeedh as well! Maniphest Tasks: T94243 Differential Revision: https://developer.blender.org/D13630
2022-01-09Cleanup: Remove no op socket templatesAaron Carlisle
2022-01-09Cleanup: Nodes: Begin splitting shader node buttons into individual filesAaron Carlisle
Currently, most node buttons are defined in `drawnode.cc` however, this is inconvenient because it requires editing many files when adding new nodes. The goal is to minimize the number of files needed to add or update a node. This commit moves most of the node layout functions for shader nodes into their respected source/blender/nodes/shader/nodes file. In the future, these functions will be simplified to node_layout. Some nodes were left in `drawnode.cc` as this would require duplicating code while this is likely fine it is best to leave that to a seperate commit.
2022-01-09Cleanup: Use new socket builder APIAaron Carlisle
2022-01-09Cleanup: Remove no op socket templatesAaron Carlisle
2022-01-09BLI_float4: Replace float4 with templated versionClément Foucault
2022-01-09BLI_vector_template: Add back all explicit constructorsClément Foucault
This is because there are ambiguities with the c-style pointer constructors.
2022-01-09BLI_float3: Replace float3 with templated versionClément Foucault
Change also the namespace of all the function `float3` becomes `math`.
2022-01-09Rename last vector methods to use the static function versionClément Foucault
2022-01-09Rename normalize to use the static function versionClément Foucault
2022-01-09BLI_float3: add normalize to double and float2Clément Foucault
2022-01-09BLI_float: Rename length & length_squared to use static versionClément Foucault
2022-01-09BLI_float: Rename normalize to use static versionClément Foucault
2022-01-09BLI_float3: Add static functions equivalent of public methodsClément Foucault
This is to ease the port towards the new templated functions.
2022-01-09Add vector templatesClément Foucault
2022-01-08Fix T94713: Alembic crash with empty frames and velocitiesKévin Dietrich
Some software or processing tools (videogrammetry in this case) may export malformed files with velocity data even when the frame is empty for some reason. We need to explicity compare the data size with the vertex size, and refuse to load the attribute if there is a data size mismatch.
2022-01-08Fix T94534: dangling pointer in internal link after removing socketJacques Lucke
The dangling pointer caused errors further down the line. The solution is to simply delete an internal link when one of the corresponding sockets is removed (just like normal links are removed as well).
2022-01-08Cleanup: Use new socket builder APIAaron Carlisle
2022-01-08Cleanup: Loop through socket listbase instead of arrayAaron Carlisle
The socket arrays will be removed when using the new socket builder. So instead we have to loop through the node outputs list.
2022-01-08Fix Cycles compile error after last own commitJulian Eisel
We can't include `BLI_utildefines.h` in `RNA_types.h` since Cycles includes that, but duplicates some of the util defines. So you'd have duplicated definitions.
2022-01-08Cleanup: Remove unused code from BKE_node.hHans Goudey
Remove a variety of unused functions, declarations without definitions, incorrect comments, and defines that have been commented for years
2022-01-08Fix Adjust Last Operation panel showing session UUID number buttonJulian Eisel
This is implementation specific data that should never be exposed to regular users. Also make sure this data is not saved to presets.
2022-01-08RNA: Support bitwise operators for property flags in C++Julian Eisel
Needed for the following commit.
2022-01-07Cleanup: Use forward declaration of struct in headerHans Goudey
This meant that BKE_mesh.h couldn't be used without the DNA headers first.
2022-01-07Fix: connecting hair fails on meshes with no generative modifiersAleksi Juvani
Fixes a bug introduced in rB5dedb39d447b. `mesh_original` is not set if the mesh has no generative modifiers, in which case we can use `mesh_final`, which would seem to be consistent with the rest of the particle code. An alternative approach would be to make sure that `mesh_original` is always set in `deformVerts`. Differential Revision: https://developer.blender.org/D13754
2022-01-07Fix wrong shadow terminator geometry offset with deformation motion blurOlivier Maury
Differential Revision: https://developer.blender.org/D13759
2022-01-07Fix wrong shadow terminator geometry offset for instancesOlivier Maury
Must take into account SD_OBJECT_TRANSFORM_APPLIED to determine if the normal was already in world space. Differential Revision: https://developer.blender.org/D13639
2022-01-07Fix T93350: Cycles renders shows black during rendering huge resolutionsBrecht Van Lommel
The root of the issue is caused by Cycles ignoring OpenGL limitation on the maximum resolution of textures: Cycles was allocating texture of the final render resolution. It was exceeding limitation on certain GPUs and driver. The idea is simple: use multiple textures for the display, each of which will fit into OpenGL limitations. There is some code which allows the display driver to know when to start the new tile. Also added some code to allow force graphics interop to be re-created. The latter one ended up not used in the final version of the patch, but it might be helpful for other drivers implementation. The tile size is limited to 8K now as it is the safest size for textures on many GPUs and OpenGL drivers. This is an updated fix with a workaround for freezing with the NVIDIA driver on Linux. Differential Revision: https://developer.blender.org/D13385
2022-01-07Cycles: Fix Metal buildMichael Jones
This patch fixes a couple of new Metal kernel compilation errors: 1) a kernel parameter count overflow, and 2) missing address space qualifiers. Reviewed By: brecht Differential Revision: https://developer.blender.org/D13763
2022-01-07LibOverrides: small refactor of resync main public function.Bastien Montagne
Simplify signature of `BKE_lib_override_library_resync` and make it a shallow wrapper around new internal `lib_override_library_resync` that can then be easily extended for other internal needs. Not functional changes expected here.
2022-01-07Fix T94078: Wrong Bound Box calculated for curvesGermano Cavalcante
`DEG_OBJECT_ITER_FOR_RENDER_ENGINE_BEGIN` creates temporary objects that correspond to duplicates or instances. These temporary objects can share same pointers with the original object as in the case of Bounding Box. Bound Box of temporary objects is marked dirty in `BKE_object_replace_data_on_shallow_copy` since `ob->data` is different. This causes the original Bounding Box, calculated for the evaluated geometry, to be lost. The solution in this commit is to change the boundbox reference of the temporary objects, so the boundbox of the non-temporary object (with the data curve) is not marked dirty. Differential Revision: https://developer.blender.org/D13581
2022-01-07Cleanup: Remove unused numapi librarySergey Sharybin
2022-01-07Remove dead numaapi code in blenlibSergey Sharybin
It it rather an old experiment now which didn't pay off. The initial idea was to have main and jobs threads on fast nodes of TR2 processors. This didn't really work reliably because in Blender we need to be able to create nested threads without their affinity set. This is not how some of OS are creating nested threads, and we don't always have access to child threads to reset their affinity. So overall complexity of the initial idea implementation became too much compared to the performance gain.
2022-01-07LibOverride: Add tag to libraries that had to be recursively resynced.Bastien Montagne
Request from studio, to help identify quickly libs that need update. NOTE: Currently only outputing INFO log in console, display of this info in the outliner will come in a separate commit.
2022-01-07Cycles: Remove usage of libnumaapiSergey Sharybin
No need for it now since all the threading queries and scheduling is done via TBB. Should be no functional changes as all the removed code is supposed to be unused.