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-05-10Fix T88060: Expand freezing when deleting a Face Set with multiple loose partsPablo Dobarro
When checking if the mesh has only one Face Set only the current active component for expand needs to be checked. Otherwhise other components that won't be modified by Expand that contain other IDs will be taken into account, making the Face Set deletion go into an infinite loop. Reviewed By: JacquesLucke Maniphest Tasks: T88060 Differential Revision: https://developer.blender.org/D11169
2021-05-10Fix T88180: Enable HQ normal workaround for RX 580X cards.Jeroen Bakker
This needs to be backported to 2.83.
2021-05-10Fix T54339: Shapekey Max value doesn't clamp existing valuePratik Borhade
Update the "current value" of the Shape Key blend amount when value is not within the min/max range. New function `rna_ShapeKey_update_minmax` used to update and clamp the current value. Reviewed By: mano-wii, lichtwerk, #animation_rigging, sybren Maniphest Tasks: T54339 Differential Revision: https://developer.blender.org/D11071
2021-05-10Fix T87764: Mem-leak during viewport rendering.Jeroen Bakker
When a scene uses cryptomatte the viewport rendering would lead to a memory leak. The reason was that all image renders (viewport+final) activated cryptomatte. But is only used for final rendering. This patch only activates cryptomatte when doing final rendering.
2021-05-10Animation: move Cycle-Aware Keying to the Keying popover.Alexander Gavrilov
The Cycle-Aware Keying option was added in 2.8 and is used to allow keyframing over cyclic F-Curves without disturbing the cycle (e.g. overwriting an end keyframe updates both ends). This effect is not limited to auto keyframing and is applied to any key insertion, but when the popovers were rearranged it was put in the Auto-Keyframing related one for some reason. This is misleading, especially since because of that the option is incorrectly greyed out when auto keyframing is disabled, so move it to the generic Keyframing popover. Differential Revision: https://developer.blender.org/D11213
2021-05-10Fix T88145: Dynamic Paint initial color using vertex color not working as ↵Philipp Oeser
expected Mistake in {rBe48c4d73d378}. Was using the vertex index as a lookup for the loop color (instead of the loop index). (Issue was not present in original D1429 btw). Maniphest Tasks: T88145 Differential Revision: https://developer.blender.org/D11212
2021-05-09GPencil: Sort Line Art modifier alphabeticallyPablo Vazquez
2021-05-09GPencil: Name Scene Line Art objects "Line Art"Pablo Vazquez
Matching Object and Collection line art type objects.
2021-05-08Fix PlayAnim cache size increasing when playing multiple animationsCampbell Barton
Error in 0499dbc5c16fe6b276da81d65cade4f5da92a308
2021-05-08Fix PlayAnim X/Y flippingCampbell Barton
This functionality was missed in recent GLSL drawing update fd3e44492e7606a741a6d2c42b31687598c7d09a.
2021-05-07Fix: No sound is exported with ffmpeg 4.4Sebastian Parborg
We were not assigning the amount of sound channels to the output frames. Newer ffmpeg releases has sanity checks in place and doesn't fall back to two channels anymore.
2021-05-07LibOverride: more tweaking to handling of obsolete overrides during resync.Bastien Montagne
this is a followup to rB2bd85d9cc623, we cannot forcefully delete obsolete overrides of object data (meshes etc.), as this implies also deleting their user object, which might still be a perfectly valid override, albeit in conflict regarding its obdata ID pointer...
2021-05-07Cleanup: make format (clang-format)Dalai Felinto
2021-05-07LibOverride: Fix many 'obsolete' overrides not being properly deleted.Bastien Montagne
Code detecting overrides which reference linked data is missing was actually missing many cases, leading to too much garbage data being kept around after resync process.
2021-05-07Fix PlayAnim issue with images gradually loading into cacheCampbell Barton
Instead of only drawing images on first start, load them into cache. This resolves a logical problem when images don't load fast enough, where the animation would load some frames each time until all images loaded into cache. In practice this could play back with severe frame skipping many times times before all images were loaded making playback smooth. Part of a fix for T81751.
2021-05-07Cleanup: move frame caching into functionsCampbell Barton
2021-05-07Cleanup: extract image loading into it's own functionCampbell Barton
2021-05-07Fix use of imbuf that was never valid in animation playerCampbell Barton
Resizing the window would always draw the image with an empty imbuf.
2021-05-07Cleanup: minor changes from master to avoid merge conflictsCampbell Barton
2021-05-07VSE: Fix freeing display buffer cache before useRichard Antalik
`IMB_display_buffer_release()` was called before `display_buffer` was used by drawing code. This should not be done as it may cause problems.
2021-05-07Fix T81751: Use GLSL for better anim player performanceRichard Antalik
Originally colorspace of float images was converted using CPU. GLSL will render images much faster. Originally image was converted to `global_role_default_byte` space, disregarding view transform and also display device, which now is possible to specify. These parameters could be set via commandline to settings used in Blender, however if they are to be set by users, these needs to be sanitized. Right now defaults are assumed for device given for `COLOR_ROLE_DEFAULT_BYTE`. This should produce same behavior as implemented before. Together with D11167 animation player performance should be much better. This code was mostly copy-pasted from sequencer. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11178
2021-05-07Fix inconsistency setting particle edit-modeCampbell Barton
The check to include particle edit mode in the object-mode drop-down didn't match the poll function to edit particle edit mode. Share the check between both functions.
2021-05-06Fix T83398: Fade inactive geometry overlay option not visible depending on ↵Pablo Dobarro
the mode This option should always be available. Even if it does not affect the current object depending on its mode, it affects the rest of the geometry of the scene. The rest of the options also work this way. For example, a grease pencil object does not have face orientation, but the ovelay option is still there for the rest of the scene. Reviewed By: JulienKaspar, HooglyBoogly Maniphest Tasks: T83398 Differential Revision: https://developer.blender.org/D10215
2021-05-06Fix T88065: Spline-IK bone position calculation fails in some casesSebastian Parborg
Fix trying to use cross product on parallel vectors. Fix intersection checks failing because we run into floating point issues with very small numbers.
2021-05-06LibOverride: Better handling of 'orphaned' Objects in override creation.Bastien Montagne
One of current annoying limitations of Blender re Collections/Objects is that objects are forbidden to not be instantiated in at least one collection. Code ensuring that as a pst-processing step of override creation/resync operations would be a bit too eager to add those objects to an external 'ad-hoc' collection, which poses several issues (both in term of keeping the scene well organized, and related to override hierarchy handling). So now be very conservative and only generate and use external 'storage' collection for those objects when it is absolutely mandatory. In pratice, it means this should never happen anymore on any decently organized data source.
2021-05-06Fix T88030: operator showing options it shouldntPhilipp Oeser
Caused by {rB0d9f79b163ee}. IDP_SyncGroupTypes was now syncing from src to src (leading to unexpected operator properties). Assume this is rather critical, dont know the part of the code well, but above commit clearly shows a change from 'dest->data.group' to 'src- >data.group' which shouldnt be there. Maniphest Tasks: T88030 Differential Revision: https://developer.blender.org/D11171
2021-05-06Fix T87983: Motion tracker button tooltips identicalFalk David
The tooltips for the tracker buttons were all equal (because they all use the same operator). This adds the `get_description` operator callback to the `CLIP_OT_track_markers` operator and returns a more descriptive tooltip for the different buttons. Reviewed By: mont29 Maniphest Tasks: T87983 Differential Revision: https://developer.blender.org/D11145
2021-05-06Fix T86314: materials not updated correctly after collada import (again)Philipp Oeser
While rB6b18678e34bf did the correct updates, it did it a bit early (not covering all possible node tree changes). Now do the ntreeUpdateTree() at the very end of the material import instead. Thx @scurest investigating. Maniphest Tasks: T86314 Differential Revision: https://developer.blender.org/D11159
2021-05-06Fix radius not taken into account when adding curve guide force fieldPhilipp Oeser
Wrong usage of ED_curve_add_nurbs_primitive from {rBe8f3fa99de81}. Differential Revision: https://developer.blender.org/D11166
2021-05-06Fix memory leak in object.mode_set_with_submodeCampbell Barton
2021-05-06PlayAnim: support limiting the cache by memory instead of framesCampbell Barton
Partial fix for T81751 which exposes multiple playback performance issues. Previously the cache was limited to 30 frames, without a way to increase the cache for smooth playback with files that are slow to load. Now the animation plays back smoothly once loaded into cache. The cache limit from the system preference is used when the player is launched from Blender. A new player argument `-c <cache_limit>` was added to support this.
2021-05-06VSE: Fix wrong flag valueRichard Antalik
`SEQPROP_VIEW_TRANSFORM` value was set incorrectly. Introduced in 9576612d45dc
2021-05-05Fix T87068 EEVEE: Moire effect with particle hair and subsurfaceClément Foucault
This artifact was already present in previous version but was hidden by the faulty SSS scale. The issue comes from the translucence using the geometric normal (computed using fragment shader derivative) leading to poor precision at depth discontinuity. Replacing using the same geometric normal reconstruction as the ambient occlusion pass removes most of the issue.
2021-05-05Fix T86823 Eevee: refraction depth shared between different materialsClément Foucault
This was caused by the material grouping system which was missing a per material uniform update in the opaque case.
2021-05-05Fix T86037 EEVEE: SSR option changes render passes resultClément Foucault
This was caused by the SSR option resetting the accumulation. But the render passes were only cleared in the init phase. This means that when SSR was resetting the taa_render_sample the actual renderpasses would still contains 1 sample. This means the renderpasses were always divided by the wrong number of samples. The fix is to clear just before accumulation if the sample is 1. The fact that it works for motion blur is kind of a blessing. This is because we check stl->effects->ssr_was_valid_double_buffer before resetting the sampling. So this only happens on the first motion step and does not affect the rest of the rendering. Reviewed by: jbakker Differential Revision: https://developer.blender.org/D11033
2021-05-05LibOverride: More fixes to properly ignore non-overridable ID pointers.Bastien Montagne
2021-05-05LibOverride: Tag base's object pointer as not overridable.Bastien Montagne
2021-05-05Fix kernel loading time accounted twice in render progressSergey Sharybin
The render session is keeping track of the scene update, which includes kernel loading time. This fixes negative render times reported when CUDA kernels are compiled at runtime. A bit fragile logic, can be re-implemented using some user-counted scope utility classes, so that only outer-most time skip is applied.
2021-05-05LibQuery: Cleanup: Document more fields of `LibraryForeachIDData` struct.Bastien Montagne
2021-05-05LibOverride: Fix usage of IDProps that are not overridable.Bastien Montagne
Not all python-defined ID properties are overridable (yet), this needs to be detected by libquery 'foreach id' code, such that those ID pointers can be ignored by override code when working on override hierarchies. Fixes part of the issues found while investigating studio files (namely, some py-defined ID pointer properties from rigify that are not currently overridable would cause issues and false detections during resync).
2021-05-05LibOverride/LibQuery: Refactor 'non-overridable' status management.Bastien Montagne
Move the detection/decision of whether an ID pointer should be taken into account in library override hierarchy processing to the LibQuery area of code, by introducing a new callback flag. This allows to factorize the test logic, be explicit in liboverride code about ID relationships that can be ignored when exploring the override hierarchy, and adds the possibility to do more checks about pointers to be tagged as non-overridable in the future. Note that all but the 'special' ID pointers (loop-back, embedded, etc.) should be overridable. If some is not, relevant IDType 'foreach_id' callback code is reponsible to tag it properly. Python-defined IDProperties however are not systematicaly overridable (yet), so this should allow us to detect that case and act accordingly in an incomming commit. No behavioral change expected in this commit.
2021-05-05Cleanup: clang formatPhilipp Oeser
Missing from rB04905c56523a, sorry for the noise.
2021-05-05Fix PlayAnim error applying cache limiterCampbell Barton
Each frame display would add an item to the cache limiting list without checking if it was already in the list. Limiting would then free image buffers when the length of the list exceeded USE_FRAME_CACHE_LIMIT (currently 30). In practice this meant short animations would free and reload frames during playback.
2021-05-05PlayAnim: add in missing define checkCampbell Barton
2021-05-05VSE: Set view transform based on strip colorspaceRichard Antalik
In some cases, users start video editing work from General template, where Filmic view transform is chosen by default. Currently, this causes issue when working with sRGB footage, which are not properly decoded into linear working space and final render looks miscolored. When adding first strip, check it's colorspace and if it corresponds to colorspace for byte images, ensure that view transform is set to default value, which is Standard. Reviewed By: brecht Differential Revision: https://developer.blender.org/D11151
2021-05-04DRW: Fix issue with batch reusing freed VBO indices.Clément Foucault
Some discard of vertbuf were not correctly followed by discards of the GPUBatches that were using them. This lead to a use-after-free situation where GPUBatches would reuse old VBO information. This did not crash immediatly because the VBO indices were cached by our VAO caching system. It kept working on some implementation because VBO reference in the VAO (probably) preventing the VBO from being freed by reference counting. This fixes T85977 NVidia: Random crashes in 'DrvPresentBuffers'
2021-05-04Fix missing header & footer toggle chevrons in SpreadsheetJulian Eisel
The little chevron tab to open a hidden region wouldn't show up in the Spreadsheet editor. Cause was an incorrect GPU-scissor usage: While drawing regions, the scissors should be kept enabled, just the scissor rectangle should be updated - and afterwards reset to what it was before.
2021-05-04Fix missing background of buttons after reportsJulian Eisel
Reports would change the active emboss of the Block, to make some of its buttons appear without background. But it didn't reset it so that buttons added afterwards wouldn't use the correct embossing.
2021-05-04Fix T87489: Text Data-Blocks get deleted on Recursive PurgeSebastian Parborg
Text data block were not considered special in the recursive purge function. So they would get deleted if they had no actual users. To fix this we instead make text data block use "fake user" so that addon authors can specify script files that should be removed if nothing is using it anymore. Per default, new text object have "fake user" set. So functionality wise, the user has to explicitly specify that they want the text object to be purge-able. Reviewed By: Bastien Differential Revision: http://developer.blender.org/D10983
2021-05-04Fix (unreported): 'CoInitializeEx' being called without 'CoUninitialize'Germano Cavalcante
Problem introduced in {rB1f223b9a}. This was possibly causing random crashes in Blender file browser when compiled with ASAN. Microsoft documents indicate that any call to `CoInitializeEx` must be balanced by a corresponding call to `CoUninitialize`. https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-coinitializeex#remarks