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-02-25Fix T85974: Edit-mode undo/redo causes assertionCampbell Barton
Assert the poll function succeeds after setting the active object.
2021-02-25Fix entering edit-mode when object mode and edit-data don't matchCampbell Barton
In rare cases, it's possible for an object to have edit-mode data without it's Object.mode set to edit-mode. This could happen with undo, part of fix for: T85974.
2021-02-25Cleanup: use low level edit-object access functions for undoCampbell Barton
Use OBEDIT_FROM_VIEW_LAYER macro for curve & fonts (matching edit-mesh). While the difference isn't significant at the moment, there are no reason these should be different between undo systems.
2021-02-25Fix T85926: Cycles missing viewport updates when making materials single userKévin Dietrich
This issue seems to be caused by the reallocation flag not being set on the device shader data array so it was never updated on the GPU although the host memory was modified.
2021-02-25PyAPI: expose imbuf.types.ImBuf, include in API docsCampbell Barton
Without this, the ImBuf type wasn't part of documentation.
2021-02-25Fix T85963: Combine and separate XYZ nodes don't work on instancesHans Goudey
They were missing the `geometry_set_realize_instances` function used to make any input instances real for writing.
2021-02-24Cleanup: Remove unused node editor button event definesHans Goudey
These defines seem to be left over from the initial implementation of the node editor. In a few places the values were used in button creation, but the callbacks never checked the value anyway. Node uiBlocks also had a callback what would never do anything since the value it checked for was never used.
2021-02-24UI: Clean up "Dupli" to "Instance"Yevgeny Makarov
Following the naming conventions defined in T56648, where in this instance there were still a few remaining uses of the old term. Differential Revision: https://developer.blender.org/D9817
2021-02-24UI: Clean up use of the term "Metaballs"Yevgeny Makarov
Clear the weird term "Metaelement". These are the metaballs (elements) inside one metaball objects. - "Meta Ball" to "Metaball" - "Metaelement", "Meta element" to "Metaball element" Differential Revision: https://developer.blender.org/D9910
2021-02-24UI: Cleanup and fix labels and descriptions in various placesYevgeny Makarov
Changes include using proper and consistent grammar, simplifying phrasing, using correct terminology, and not including python API identifiers in tooltips. Differential Revision: https://developer.blender.org/D9924
2021-02-24CMake: Removed temporarily disabled clang blockSebastián Barschkis
Was disabled in rBc778fd981e63. Libraries have been updated in rBL62576.
2021-02-24Revert "t"Germano Cavalcante
This reverts commit d3a96e5022e121426c8926d0507effe4e9b4005f.
2021-02-24Fix T85823: bpy.ops.transform... ignoring 'center_override' for Bezier ↵Germano Cavalcante
control points `transform_around_single_fallback_ex` ignored that the center could be overwritten.
2021-02-24tGermano Cavalcante
2021-02-24UI: Remove colons from some labelsYevgeny Makarov
The colons are not necessary in these situations because it's clear that the label applies to the next group of buttons anyway, and they add unecessary visual complexity. Committing as part of D9924.
2021-02-24UI: Reorder mesh merge operator types for consistent shortcutsHans Goudey
In vertex selection mode, the "At First" and "At Last" options are contextually added to the beginning of the list of merge operations. This means the automatic shortcuts in the merge menu are different, making learning the shortcuts much more difficult than necessary. This patch reorders the items so that "At First" and "At Last" are added after the first three options so the shortcuts are always consistent. Fixes T84335 Differential Revision: https://developer.blender.org/D10008
2021-02-24GPencil: Fix missing change material menu using U keyAntonio Vazquez
The menu was not activated when vertex mode was enabled.
2021-02-24UI: Make node virtual sockets more visibleFabian Schempp
This commit tweaks how virtual sockets (unconnected node group input and output sockets) are drawn to make them more recognizable. The outline is changed to a gray color, and they get a dark inner color. Differential Revision: https://developer.blender.org/D10080
2021-02-24Cleanup: Clang tidy else after returnHans Goudey
2021-02-24Fix T84796: Particle tool properties displayed for select toolKdaf
When using particle mode, the particle tool settings were always displayed, even if select/cursor is the active tool. This patch hides the properties of the particle tools for non-brush tools, using the same check as in other modes. Differential Revision: https://developer.blender.org/D10266
2021-02-24PyAPI: Ensure GIL state only when a callback existsGermano Cavalcante
There are fewer python callbacks than `ARegionType`s. This also broke GTests's `bf_blenderloader_tests`.
2021-02-24Blender 2.92.0 release taggingv2.92.0Dalai Felinto
2021-02-24Docs: 2.92 release description for Linux appdataDalai Felinto
2021-02-24Workbench: Fix typo in rB32ca8e58a374Clément Foucault
This was creating incorrectly occluded overlays.
2021-02-24Cleanup: Simplify vector direction comparisonAntonio Vazquez
Multiply the two number together. If the sign of the result is positive, then the sign was the same. If the sign of the result is negative, then the signs were different.
2021-02-24CMake: Temporarily removing find clang blockSebastián Barschkis
New libs have not landed in the SVN repository. Once they are up, this commit will be reverted.
2021-02-24Geometry Nodes: store available attribute names in node ui storageJacques Lucke
This information will be used by the attribute search in string sockets. Ref T85657. Differential Revision: https://developer.blender.org/D10462
2021-02-24PyAPI: Fix memory leak of parameters used for python 'draw_callbacks'Germano Cavalcante
When closing the blender, while the callbacks are removed, the reference count of the object used as `customdata` is not decremented. This commit adds two functions that correctly release the python `draw_callbacks` before releasing all `draw_callbacks`. Differential Revision: https://developer.blender.org/D10478
2021-02-24Cleanup: Fix commentAntonio Vazquez
2021-02-24GPencil: Improve Interpolate AutoFlip algorithm IIAntonio Vazquez
Improved the calculation of the distances and changed the variable names to make it more readable. Still, there are some corner cases that could be not handled properly, but we keep as is to test more real drawings to analyze if the small number of corner cases needs to be fixed or not.
2021-02-24Cleanup: CryptomatteLayerJeroen Bakker
Missing code flow.
2021-02-24Cleanup: Cryptomatte Use StringRef(Null).Jeroen Bakker
2021-02-24Cleanup: CryptomatteLayer structure.Jeroen Bakker
Current implementation was to restricting for future enhancements where the CryptomatterLayer could be read from existing metadata.
2021-02-24Cmake/deps: Update OSL to 1.11.10.0Ray Molenkamp
This bumps OSL to 1.11.10.0. OSL Has a new build time dependency: Clang, and more importantly it expects clang and llvm to share a library folder, which it previously for us did not. This patch changes: -OSL Update to 1.11.10.0 -refactor the llvm/clang/clang-tools-extra builds into the llvm build using the llvm-project tarball for building that has all of the subprojects in it. -update ispc/openmp builds since clang no longer its own dependency and they have to depend on the llvm build now. -Update the windows builder to use the 64 bit host tools since it ran out of ram linking clang -Since OSL now needs clang to link successfully a findclang.cmake has been provided for linux/OSX Differential Revision: https://developer.blender.org/D10212 Reviewed By: brecht, sebbas, sybren
2021-02-24Cleanup: Move some utilities to 'gpu_py.h'Germano Cavalcante
2021-02-24Fix T85947: Missing check of master collection for objects being instanced.Bastien Montagne
`object_in_any_collection` used during linking/appending to check whether an object is already instanced by at least one collection, was not taking into account embedded master collections from scenes.
2021-02-24Fix T85915: Cannot save new theme presetCampbell Barton
Since making bpy.types a real module `dir(bpy.types)` now includes __dir__ and __getattr__ methods which need to be ignored.
2021-02-24Fix crash updating themes in background modeCampbell Barton
2021-02-24Docs: 2.91 release description for Linux appdataDalai Felinto
2021-02-24Cleanup: quiet asan overflow warningJacques Lucke
2021-02-24Workbench: Fix samples taken outside of pixel footprintClément Foucault
With the previous implementation, we could have pixels with offset larger than 1 pixel. Also fix a bug when the closest_index is not last. The sample positions were incorrect in this case.
2021-02-24Fix T85726 Workbench: Orthographic view is blurryClément Foucault
This was caused by the window_translate_m4 not offsetting the winmat in the right direction for perspective view. Thus leading to incorrect weights. The workbench sample weight computation was also inverted. This fix will change the sampling pattern for EEVEE too (it will just mirror it in perspective view).
2021-02-24Fix incorrect icon .dat files after recent commitJulian Eisel
Using `make icons` for 420f538fadfd changed some icons that it shouldn't have touched on my system. Not sure what caused this, maybe a bug in the slightly outdated Inkscape version there (1.0.1). Here on macOS the version is only reported as 1.0 so I'm not sure what the situation is. Either way, this fixes the icons.
2021-02-24Fix line width broken for consecutive line draw callsJulian Eisel
D9054 did multiple consecutive `immBegin()`/`immEnd()` draw calls to draw multiple lines at varying thickness. This would only work for the first line, then they'd all get a 1px thickness (at least on macOS). Issue was that `wide_line_workaround_end()` called `immBindShader()` directly to restore the old shader (which the workaround overrides). However this doesn't set `imm->builtin_shader_bound` which has to be done for the workaround to work on the next `immBegin()` call. Instead `immBindBuiltinProgram()` can be called. Differential Revision: https://developer.blender.org/D10520 Reviewed by: Clément Foucault
2021-02-24Fix T85939: Eevee Specular BSDF shader compile errorJeroen Bakker
Introduced by 7f7e6830991b.
2021-02-24Fix T85930: Custom Property Error: Wrong SubtypeCampbell Barton
Regression in 08dbc4f996e4e95f3ab64f7bb3e1193700c585f5 Unfortunately lambda functions don't work with postponed annotations.
2021-02-24Cleanup: spellingCampbell Barton
2021-02-24Docs: clarify radial/cycle use for BMesh loopsCampbell Barton
Also add minor corrections clarifications elsewhere.
2021-02-24Geometry Nodes: Move node UI storage function to BKEHans Goudey
This function will be used in another file with attribute search, so it makes sense to share from the UI storage header.
2021-02-24GPencil: Fix typo error in previous commitAntonio Vazquez