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-11-13BLF: Use Floats for Font Point SizesHarley Acheson
Allow the use of floating-point values for font point sizes, which allows greater precision and flexibility for text output. See D8960 for more information, details, and justification. Differential Revision: https://developer.blender.org/D8960 Reviewed by Campbell Barton
2021-11-13Cleanup: Correct order of guard and lock in moviecache_valfreeJesse Yurkovich
Fix own mistake in rB7061d1e39fe In my attempt to quickly address T92838, along with the original bug, I made a nonsensical choice to use the limiter lock to guard the check against the cache item itself. While harmless, it is not necessary and semantically wrong / potentially confusing to future readers of the code. Differential Revision: https://developer.blender.org/D13122
2021-11-13Fix splash screen showing on startup with files loaded by scriptsCampbell Barton
Suppressing the splash was only done when passing in an argument from the command line. Remove G.file_loaded, as it is misleading, only set once on startup, replace with G.relbase_valid which is used everywhere else to check if the file path should be used.
2021-11-13Text Editor: Auto close relevant charactersMatheus Santos
Support the ability to close relevant characters like '(', '[' and '{'. It will also delete the pair character if they're empty. Ref D13119 Reviewed By: campbellbarton
2021-11-13Cleanup: spelling in comments, comment block formattingCampbell Barton
2021-11-13Cleanup: clang-formatCampbell Barton
2021-11-13Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-13Fix snapping not performing on selected bones or splinesGermano Cavalcante
This is an old issue but never reported as it is only visible in the measure tool snapping.
2021-11-13Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-13Cleanup: reference some snap parameters in the snap context itselfGermano Cavalcante
This decreases the number of parameters in functions and makes important variables available in more places.
2021-11-13Revert "Fix T92636: Vector math node link disconnects when loading old file"Hans Goudey
This reverts commit 6b4ca781085fecc1058566a3b51bd3536eb9d4a1. A simpler fix was used for 3.0, but rBd845ba481c6d2ef already contained a more complete solution to the problem of inconsistent socket ids.
2021-11-13Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-13Fix T92636: Vector math node link disconnects when loading old fileHans Goudey
Previously, unique identifiers for sockets were created automatically, sometimes using .001 and sometimes _001. Now they are created manually with the second format, but some files were saved with .001 format. I think this was only an issue in the vector math node. rBd845ba481c6d fixed this problem in 3.1, but in a more general way. After I merge this patch to 3.1, I will revert it, since the versioning added in that commit will make this redundant. Differential Revision: https://developer.blender.org/D13209
2021-11-12Merge branch 'blender-v3.0-release'Johnny Matthews
2021-11-12Fix: Node Class Type for Select by Handle TypeJohnny Matthews
Change the node class type for Node Select by Handle Type to NODE_CLASS_INPUT
2021-11-12Cleanup: split 'initSnappingMode' into more specific functionsGermano Cavalcante
This helps to reuse small regions of a function's code elsewhere. The logic had to be reorganized, theoretically it should behave the same way.
2021-11-12Cleanup: move 'imm_drawcircball' to 'gpu_immediate_util.c'Germano Cavalcante
2021-11-12Cleanup: fix some comments in the transform codeGermano Cavalcante
2021-11-12Cleanup: use 't->tsnap.mode' in transform codeGermano Cavalcante
This also prevents different snap modes from being used at the same time in the code.
2021-11-12Cleanup: unify snap modes to geometry in a single flagGermano Cavalcante
This combination was being repeated in some places.
2021-11-12Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-12Fix: Incorrect transfer attribute error message with curvesHans Goudey
The node does support curves, but only in index mode (see T88630) So add a specific error message for the nearest mode, and let the node support curves in the declaration. Differential Revision: https://developer.blender.org/D13205
2021-11-12Merge branch 'blender-v3.0-release'Brecht Van Lommel
2021-11-12Tests: disable audio system for performance testsBrecht Van Lommel
2021-11-12Fix T91893, T92455: wrong transmission pass with hair and multiscatter glassBrecht Van Lommel
We need to increase GPU memory usage a bit. Unfortunately we can't get away with writing either reflection or transmission passes because these BSDFs may scatter in either direction but still must be in a fixed reflection or transmission category to match up with the color passes.
2021-11-12Fix T92002: no Cycles combined baking support for filter settingsBrecht Van Lommel
2021-11-12Fix T91826: Inconsistent node socket name identifier separatorHans Goudey
Previously both `.` and `_` were used as separators when finding a unique name for a socket. This removes the use of `.`, since `_` was more common. It also does versioning for all of a file's node trees to make sure that they all use the `_` convention. Differential Revision: https://developer.blender.org/D13181
2021-11-12Cleanup: Move remaning node editor files to C++Hans Goudey
Differential Revision: https://developer.blender.org/D13200
2021-11-12Merge branch 'blender-v3.0-release'Patrick Mours
2021-11-12Fix T93029: OptiX denoising artifacts at high sample counts in specific scenesPatrick Mours
Partially reverts commit rB440a3475b8f5410e5c41bfbed5ce82771b41356f because "optixDenoiserComputeIntensity" does not currently support input images that are not packed (the "pixelStrideInBytes" field is not zero). As a result the intensity calculation would take into account data from other passes in the image, some of which was scaled by the number of samples still and therefore produce widely incorrect results that then caused artifacts in the denoised image. Maniphest Tasks: T93029
2021-11-12Merge remote-tracking branch 'origin/blender-v3.0-release'Julian Eisel
2021-11-12UI: (Performance) Avoid drawing buttons out of viewJulian Eisel
The UI was always drawing all buttons in a layout, no matter if they were scrolled out of view (as in, outside of the visible part of the region) or not. This means it's doing quite some work that can be avoided. UI drawing generally isn't a big bottleneck in Blender, so I don't expect huge speedups from this. But while playing back animation, we do redraw a fair bit of the UI, so in cases where there are many buttons out of view, it may bring a little FPS boost. E.g. say in complex node trees (the node editor is redrawn on animation playback in case there are animated values that need updated UI feedback). This also mitigates the issue in T92922 significantly. Differential Revision: https://developer.blender.org/T92922 Reviewed by: Brecht Van Lommel
2021-11-12UI: Do not shade alpha when blending colorsYevgeny Makarov
UI_GetThemeColorBlendShade4fv incorrectly changing alpha by the amount of the shading offset. See D9944 for more details. Differential Revision: https://developer.blender.org/D9944 Reviewed by Hans Goudey
2021-11-12Fix T93007: Cycles not updating for animated Object properties like colorBrecht Van Lommel
2021-11-12Fix Cycles ray visibility panel missing for volume objectsBrecht Van Lommel
2021-11-12UI: Do not shade alpha when blending colorsYevgeny Makarov
UI_GetThemeColorBlendShade4fv incorrectly changing alpha by the amount of the shading offset. See D9944 for more details. Differential Revision: https://developer.blender.org/D9944 Reviewed by Hans Goudey
2021-11-12Fix T93007: Cycles not updating for animated Object properties like colorBrecht Van Lommel
2021-11-12Fix Cycles ray visibility panel missing for volume objectsBrecht Van Lommel
2021-11-12Merge remote-tracking branch 'origin/blender-v3.0-release'Sybren A. Stüvel
2021-11-12Assets: Store Action sub-type in asset metadataSybren A. Stüvel
Blender 3.0 will only support single-frame Actions in the pose library. The goal of this patch is to lay the groundwork for making it possible for the Asset Browser to reject/hide "animation snippet" Action assets. Determining whether an Action has one or more frames (i.e. whether it has a single pose or animation) requires inspecting the Action itself, and thus loading the data-block itself. This would make it impossible to quickly determine from the asset browser. To solve this, the Action is inspected before saving, and a `"is_single_frame"` boolean (well, 0/1 integer) IDProperty is added. Reviewed by: Severin Differential Revision: https://developer.blender.org/D13202
2021-11-12Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-12Gizmo: adjust when gizmo protection flags are displayedCampbell Barton
Restore behavior reverted in 0ea60cf6b813f8b792a253e10a6c2edaf7fb689f but only for location as it makes sense to use protection flags in global mode in that case.
2021-11-12Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-12Fix gizmo protection flag use in object modeCampbell Barton
Channel protection flags were only used in global mode, this doesn't make any sense, especially for rotation and scale. Follow pose-bones, only using protection flags for local & gimbal orientation.
2021-11-12Geometry Nodes: Add Outer Points Selection to StarJohnny Matthews
Adds a boolean field output containing a selection of the points of the star that are controlled by the outer radius of the star. Differential Revision: https://developer.blender.org/D13097
2021-11-12Merge branch 'blender-v3.0-release'Sergey Sharybin
2021-11-12Fix T93008: Cycles: Huge memory spike when saving tile to diskSergey Sharybin
The root of the problem lies in bug in OIIO which we can work around from our side (which does not affect pack memory usage). Thanks Brecht for finding the root cause! Differential Revision: https://developer.blender.org/D13186
2021-11-12Merge remote-tracking branch 'origin/blender-v3.0-release'Sybren A. Stüvel
2021-11-12Fix crash in asset browser when switching from file browserSybren A. Stüvel
When the file browser is in asset browser mode, it sets the callback `filelist->prepare_filter_fn` to an asset browser specific function. This function will segfault if there is no current asset library. Switching back from asset browser to file browser would not reset that callback to `NULL`, causing it to be called and crash Blender. This is now fixed.
2021-11-12Cleanup/document BKE_blender_copybuffer.Bastien Montagne
* Rename the 'copy' functions to make it clear they belong to the same 'group' and are to be used together. * Fix `flag` parameter of `BKE_copybuffer_paste` being a short instead of an int. * Improve documentation.