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-02-02Add tooltip hover for 2d vector2dJohnny Matthews
2022-02-02cleanupJohnny Matthews
2022-02-02renaming and cleanupJohnny Matthews
2022-02-02Merge branch 'master' into 2dJohnny Matthews
2022-02-02Merge branch 'blender-v3.1-release'Jacques Lucke
2022-02-02BLI: fix memory leak in VectorSetJacques Lucke
The leak happened when the vector set had to grow when it was empty but it had allocated the keys array already.
2022-02-02Merge branch 'blender-v3.1-release'Jacques Lucke
2022-02-02Fix T95084: evaluate all output attributes before changing geometryJacques Lucke
This refactors how output attributes are computed in the geometry nodes modifier. Previously, all output attributes were computed one after the other. Every attribute was stored on the geometry directly after computing it. The issue was that other output attributes might depend on the already overwritten attributes, leading to unexpected behavior. The solution is to compute all output attributes first before changing the geometry. Under specific circumstances, this refactor can result in a speedup, because output attributes on the same domain are evaluated together now. Overwriting existing might have become a bit slower, because we write the attribute into new buffer instead of using the existing one. Differential Revision: https://developer.blender.org/D13983
2022-02-02Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-02-02Fix T95288: Shrinkwrap selection broken in edit modeSergey Sharybin
Mistake in the 974981a63704: f the edit data is not present then the origindex codepath is to be used. Added a brief note about it on the top of the file. More ideally would be to remove edit mesh from non-bmesh-wrappers but this would require changes in the draw manager to make a proper decision about drawing edit mode overlays.
2022-02-02Remove option to not auto-convert proxies on file load.Bastien Montagne
Now all proxies will always be converted to library overrides. If conversion fails, they are simply 'disabled'. This should be the last 'user-visible' step of proxies removal. Remaining upcoming commits will remove internal ID management, depsgraph and evaluation code related to proxies. Also bump the blendfile subversion. Part of T91671.
2022-02-02Proxies Removal: Handle conversion to liboverrides also for linked data.Bastien Montagne
So far linked proxies were just kept as-is, this is no longer an option. Attempt to convert them into liboverrides as much as possible, though some cases won't be supported: - Appending proxies is broken since a long time, so conversion will fail here as well. - When linking data, some cases will fail to convert properly. in particular, if the linked proxy object is not instanced in a scene (e.g. when linking a collection containing a proxy as an epty-instanced collection instead of a view-layer-instanced collection). NOTE: converion when linking/appending is done unconditionnaly, option to not convert on file load will be removed in next commit anyway. Part of T91671.
2022-02-02LibOverride: Add 'owner library' info to some liboverride code.Bastien Montagne
This will help when dealing with liboverrides from other library files, e.g for resync or proxies conversion. This commit only affects proxy conversion. Part of T91671.
2022-02-02Cleanup: Use correct identifier for ShaderParameters.Jeroen Bakker
Code use struct and class, but should only have used struct.
2022-02-02Cleanup: skip redundant steps when the selection buffer is cachedCampbell Barton
The viewport theme loaded and virtual modifiers allocated unnecessary.
2022-02-02Cleanup: exclude bone names & axes from selection drawingCampbell Barton
These aren't used for picking bones so there is no need to draw them.
2022-02-02Fix crash in recent pose-bone transform cleanupCampbell Barton
ff5e8e6d535374891e09bc0e6ceb7059a22bdd53 dereferenced a NULL pointer when dragging a bone with a connected parent in pose-mode.
2022-02-02Docs: note that Bone.xwidth & zwidth are doubledCampbell Barton
2022-02-02Docs: add doc-string for RNA_property_is_set_ex use_ghost argumentCampbell Barton
2022-02-02Cleanup: spelling in commentsCampbell Barton
2022-02-02Cleanup: shadow warning, remove unused flagsCampbell Barton
2022-02-02Compositor: Combine and Separate XYZ NodeAaron Carlisle
We have this node for shader and geometry nodes. Compositor can also work with vectors, and this can help with that. Reviewed By: manzanilla Maniphest Tasks: T95385 Differential Revision: https://developer.blender.org/D12919
2022-02-02Merge branch 'master' into 2dJohnny Matthews
2022-02-02Geometry Nodes: Remove object transform dependency in some casesHans Goudey
The geometry nodes modifier currently always adds a dependency relation from the evaluated geometry to the object transform. However, that can be avoided unless there is a collection or object info node in "Relative" mode. In order to avoid requiring dependency graph relations updates often when editing a node tree, this patch doesn't check if the node is muted or if the data-block sockets are empty before adding the dependency. Fixes T95265 Differential Revision: https://developer.blender.org/D13973
2022-02-02Merge branch 'blender-v3.1-release'Richard Antalik
2022-02-02Fix T95378: Seek problems when timecodes are usedRichard Antalik
Function `IMB_indexer_get_seek_pos()` can return non 0 seek position for frame index 0. This causes seeking to incorrect GOP and scanning ends with failiure. Hard-code first frame index seek position to 0. Differential Revision: https://developer.blender.org/D13974
2022-02-02Fix error in ff5e8e6d535374891e09Germano Cavalcante
And silence unused variable warning.
2022-02-02Fix build errorHans Goudey
The return value of this function was removed in ff5e8e6d535374891e09
2022-02-02Fix T95353: Crash with proxy auto buildingRichard Antalik
Proxy building data were freed before process was started. Reviewed By: sergey Differential Revision: https://developer.blender.org/D13972
2022-02-02Geometry Nodes: 2D Vector socket type (WIP)Johnny Matthews
This is the initial work on adding a 2d vector socket for manipulating things like UV maps. Differential Revision: https://developer.blender.org/D13985
2022-02-02Cleanup: Use C++ typesHans Goudey
2022-02-02Cleanup: restructure 'transform_convert_pose_transflags_update'Germano Cavalcante
Move the bones count and `has_translate_rotate` parameter out of the function as they are not required in some places.
2022-02-02wipJohnny Matthews
2022-02-02WipJohnny Matthews
2022-02-01Initial CommitJohnny Matthews
2022-02-01Merge branch 'blender-v3.1-release'Clément Foucault
2022-02-01Fix T95278: Crash on startup because of GLSL recursionClément Foucault
Bypassing the defines which are only there for error checking.
2022-02-01GPUShader: Rename createInfo storage QualifiersClément Foucault
Using opt-in instead of opt-out to make code easier to read. Add combined flag enum. Making restrict an inverse flag option because it is so rare to use it.
2022-02-01GPUShader: Add support for gpu_BaryCoord and fallbackClément Foucault
This adds the possibility to use the `gpu_BaryCoord[NoPersp]` builtin to support barycentric coordinates without geometry shader. The `BuiltinBits::LAYER` builtin needs to be manually added to the `GPUShaderCreateInfo` in order to use this feature. Note: This is only available for shaders using `GPUShaderCreateInfo`. A geometry shader fallback is generated if the extension `AMD_shader_explicit_vertex_parameter` is not available. `NV_fragment_shader_barycentric` was not considered because it is not present inside the `glew.h` with use and seems to only be available with vulkan.
2022-02-01GPUShader: Add support for vertex shader gl_Layer and fallbackClément Foucault
This adds the possibility to use the `gpu_Layer` builtin to support layered rendering without geometry shader. The `BuiltinBits::LAYER` builtin needs to be manually added to the `GPUShaderCreateInfo` in order to use this feature. Note: This is only available for shaders using `GPUShaderCreateInfo`. A geometry shader fallback is generated if the extension `AMD_shader_explicit_vertex_parameter` is not available.
2022-02-01GPUShader: Improve builtins support in GPUShaderCreateInfoClément Foucault
- Scan all static shaders for builtins on startup. - Add possibility to manually add builtins. - `ShaderCreateInfo.builtins_` contain builtins from all stages.
2022-02-01GPUShader: Expose create_info getterClément Foucault
This allows to check if a create_info extists based on its name.
2022-02-01Fix T91463: Separate points makes gap on cyclic strokeFalk David
If an entire cyclic stroke was selected, calling "Separate by Points" would leave a gap in the new object (making the new stroke non-cyclic). The patch makes sure that if we separate by points and all points are selected, we fall back to separate by stroke. Reviewed By: antoniov Maniphest Tasks: T91463 Differential Revision: https://developer.blender.org/D12527
2022-02-01Merge branch 'blender-v3.1-release'Jacques Lucke
2022-02-01Fix T95395: dangling parent pointer when creating node groupJacques Lucke
Differential Revision: https://developer.blender.org/D13981
2022-02-01Fix T89514: GP draw mode not saved when scene is not the active oneFalk David
This patch fixes the error that pops up (`Error: Unable to execute '... Mode Toggle', error changing modes`) when trying to switch to e.g. draw mode from a grease pencil object that was saved in draw mode in an inactive scene when the file was loaded. Note that this does not fix the bigger issue described in T91243. The fix makes sure that we reset all the mode flags on the grease pencil data when we set the mode to object mode. Reviewed By: antoniov Maniphest Tasks: T89514 Differential Revision: https://developer.blender.org/D12419
2022-02-01Asset Browser: Use directory name as default when adding asset librariesJulian Eisel
When adding an asset library in the Preferences, set the name of the new library to the chosen directory's name by default. That avoids having to set it manually which can be annoying. Previously I thought it would be nice to show the name button in red then, making the user aware that they have to give it a name, but that appears to be more annoying than useful/practical after all.
2022-02-01Silence draw manager warning.Jeroen Bakker
This message isn't useful for users so silenced it.
2022-02-01Cleanup: Remove unused datatoc definitions.Jeroen Bakker
2022-02-01Fix T95262: instances ignored in Frame Selected operatorJacques Lucke
The issue was that the code only looked at `dob->ob` instead of `dob->ob_data` which is necessary since rB5a9a16334c573c4566dc9b2a314cf0d0ccdcb54f. This now uses the same pattern that is used in other places where `BKE_object_replace_data_on_shallow_copy` is used.