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
path: root/source
AgeCommit message (Collapse)Author
2022-01-10cleanupJacques Lucke
2022-01-10improve namingJacques Lucke
2022-01-10deduplicate codeJacques Lucke
2022-01-10cleanupJacques Lucke
2022-01-10cleanupJacques Lucke
2022-01-10remove curve modeJacques Lucke
2022-01-10add uniform optionJacques Lucke
2022-01-10add edge scalingJacques Lucke
2022-01-10Merge branch 'master' into temp-scale-elements-node-testJacques Lucke
2022-01-10Fix T94111: nurb normal calculation does not workJacques Lucke
The normals were computed with an uninitialized tilt.
2022-01-10Fix compilation error after recent fixSergey Sharybin
For some reason GCC accepted C++-style of unused variable marking.
2022-01-10Fix compile error with msvcJacques Lucke
2022-01-10Fix T93727: Tiled render error in Cycles after changing temp directorySergey Sharybin
Consider temporary directory to be variant part of session configuration which gets communicated to the tile manager on render reset. This allows to be able to render with one temp directory, change the directory, render again and have proper render result even with enabled persistent data. For the ease of access to the temp directory expose it via the render engine API (engine.temp_directory). Differential Revision: https://developer.blender.org/D13790
2022-01-10Fix T94661: Out-of-bounds memory access due to malformed DDS image fileSergey Sharybin
Harden bounds check in the stream reader avoiding integer overflow.
2022-01-10Fix T94766: texture coordinates from other object do not refreshJacques Lucke
The core issue is that flushing dependencies are created from an object to a node tree when it contains e.g. a Texture Coordinate node. That is an issue because the evaluation of the node tree itself does not depend on the object (node tree evaluation is essentially a no-op). Only other systems that parse and evaluate the node tree in a specific context actually depend on e.g. the position of the referenced object. It can even be the case that the node tree depends on objects that the actual evaluator (geometry nodes modifier/material) does not depend on, because a node is not connected to the output. Geometry nodes makes the distinction between dependencies to the node tree and to the evaluator already. Shader nodes do not. Therefore, shader nodes need a flushing relation from node groups to their parent node groups. This brings back some unnecessary updates from rB7e712b2d6a0d (e.g. when creating a node group from nodes that are not connected to the output). This is a bit unfortunate, but refactoring how dependencies work with shader nodes is a out of scope for this fix.
2022-01-10Remove GPU_SHADER_2D_POINT_FIXED_SIZE_UNIFORM_COLOR.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_2D_POINT_VARYING_SIZE_VARYING_COLOR.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_2D_POINT_UNIFORM_SIZE_VARYING_COLOR_OUTLINE_AA.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_3D_POINT_FIXED_SIZE_UNIFORM_COLOR.Jeroen Bakker
Shader isn't used and not accessible via py-api.
2022-01-10Remove GPU_SHADER_3D_POINT_VARYING_SIZE_UNIFORM_COLOR.Jeroen Bakker
Shader isn't used and not accessible via the py-api.
2022-01-10Remove GPU_SHADER_3D_POINT_UNIFORM_SIZE_UNIFORM_COLOR_OUTLINE_AA.Jeroen Bakker
Shader isn't used and isn't accessible via py-api.
2022-01-10Cleanup: Remove unused source files.Jeroen Bakker
2022-01-10Cleanup: Consistent naming GPU_SHADER_2D_AREA_BORDERS.Jeroen Bakker
2022-01-10GPU: Remove unused UV shaders.Jeroen Bakker
The UV shaders have been migrated to the overlay engine and aren't accessible via the python API.
2022-01-10Cleanup: add utility macro to simplify using std::enable_ifJacques Lucke
2022-01-10Fix T94409: GPencil smooth stroke thickness operator weird resultAntonio Vazquez
The smooth was not working "smoothly" and any change in the factor produced a weird result.
2022-01-10Fix compile error in gpu test.Jeroen Bakker
2022-01-10Fix T94600: Apply single shrinkwrap constraint failsPhilipp Oeser
rBd6891d9bee2b introduced a way to apply a single constraint from the constraint stack. For this we want to work in the evaluated domain, in particular the constraint target should be evaluated (the shrinkwrap constraint needs to have access to the target's evaluated mesh). Thx a lot to @sergey for handholding here! Maniphest Tasks: T94600 Differential Revision: https://developer.blender.org/D13765
2022-01-10Fix out of bounds memory access displaying the compositor crop gizmoCampbell Barton
Regression from typo in cbca71a7cff394b0c5d670f87f2b480f526ba6dd.
2022-01-10Compositing Convert color space nodeJeroen Bakker
Compositor node to convert between color spaces. Conversion is skipped when converting between the same color spaces or to or from data spaces. Implementation done for tiled and full frame compositor. Reviewed By: Blendify, jbakker Differential Revision: https://developer.blender.org/D12481
2022-01-10Cleanup: note that compositor vector blur shares logic with zbuf.cCampbell Barton
Note that some functions have been copied between these files. De-duplication isn't trivial as there are differences in some functions.
2022-01-10Cleanup: typos in comments, remove libnumaapi referenceCampbell Barton
2022-01-10Cleanup: Missing internationization for socket descriptionAaron Carlisle
2022-01-10Fix mistake in previous commitAaron Carlisle
2022-01-10Cleanup: redundent semicolons after function bracesAaron Carlisle
2022-01-10Cleanup: Use new socket builder APIAaron Carlisle
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-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-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.