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
2021-11-20Fix T92090: Eevee crash with Intel HD 4000 and macOS 10.15.7Brecht Van Lommel
A recent security update to macOS 10.15.7 causes crashes when using Eevee and various other 3D viewport features. It appears that glGenerateMipmap is broken, causing a crash whenever its commands are flushed/submitted to the GPU. Ideally this would be fixed in a driver update, however it's unlikely this will happen. Earlier macOS versions have been receiving security updates for 2 years, and that window has just passed for 10.15. Further, computers with these GPUs can't upgrade to a newer macOS version. As a workaround, disable mipmaps on these GPUs, by setting the mipmap max level to 0 and not calling glGenerateMipmaps. Effects like depth of field also use mipmaps, but fill in the mip levels by other means. In those cases we keep the mipmap level. Differential Revision: https://developer.blender.org/D13295
2021-11-20Fix T93194: greasepencil channel lists ignoring collection visibilityPhilipp Oeser
Same fix as rB0a3b4d4c64f1, but this time for greasepencil. To repeat: dopesheet in greasepencil mode was ignoring the temporariy visibility flag of collections. As a result, even though the dopesheet was supposed to show animation data of visible greasepencils only was still showing such data of greasepencils that were hidden by hiding their collection.
2021-11-20Fix error in rBfb0ea9Germano Cavalcante
There is no need to multiply the "dash_width" by `UM.pixel size` since the "viewport_size" is already being divided by the DPI. Ref {rBfb0ea9}
2021-11-19Fix T85855: F-curves too thin on MacGermano Cavalcante
Use the `GPU_SHADER_3D_POLYLINE_UNIFORM_COLOR` shader instead of `GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR`. This is just a partial solution as "protected" fcurves still use the dashed shader. Differential Revision: https://developer.blender.org/D13290
2021-11-19Fix T91838 Crash when toggling edit mode on object with geometry node ↵Clément Foucault
modifier, but only if the instanced objects material has a normal map assigned. This is only a workaround to avoid the crash. The underlying issue is left unfixed. New report for tracking the underlying issue is T93223.
2021-11-19Fix T92682: EEVEE motion blur crash with curve objectsHans Goudey
After rBb9febb54a492, the evaluated mesh from a curve is now presented to render engines as a separate mesh object, but some code still assumed that a curve object itself could have an evaluated mesh. However, this is still true for surface objects and metaballs, which don't use geometry sets yet. Differential Revision: https://developer.blender.org/D13272
2021-11-19Asset Browser: don't display linked-in asset datablocksSybren A. Stüvel
Datablocks marked as asset, linked from another file, were shown in the "Current File" asset library. This is now resolved.
2021-11-19Asset Preferences: disallow single file as asset librarySybren A. Stüvel
Asset libraries should be directories on disk. By manually entering a file path it was possible to have a single blend file as asset library, but that was not a designed-for situation, and it doesn't play well with the asset catalog system.
2021-11-19LibOverrides: Refactor how diffing of RNA collections is handled.Bastien Montagne
Original implementation was a quick prototype which should have never landed as-is in master. It had very limiting constraints and did not allow for any real further development. This commit fixes the internal implementation to make more sensible, maintainable and evolutive. NOTE: This commit introduces another forward-incompatibility in the Blender file format: Files saved after this commit won't open properly in older versions of blender regarding local inserted constraints or modifiers into overrides of linked data. NOTE: Technical details: The 'anchor' item name/index is now stored in `subitem_reference_` members, and the actual 'source' item name/index is stored in `subitem_local_` members of the override property operation data. Previously, only the `subitem_local_` members were used, storing the anchor item name/index, and assuming the 'source' item was always the next in the list. Milestone I of T82160. Maniphest Tasks: T82160 Differential Revision: https://developer.blender.org/D13282
2021-11-19BLI_listbase: Add utils to search from string or index.Bastien Montagne
If a valid matching string is found, return that item, otherwise fallback to the item matching the given index, if any. This will be useful in RNA override code, and potentially other areas where data in lists can be referenced by their names or indices.
2021-11-19Fix T87912: use session id instead of name to identify dropped objectJacques Lucke
The old code did not work when there were multiple ids with the same name (which can happen when ids are linked in). The solution is to use the session ids instead. Those are different even when two ids have the same name. Differential Revision: https://developer.blender.org/D11116
2021-11-19Fix T93184: Link color not used for custom socketsOmar Emara
D13044 allowed the link color overlay to be used with custom sockets. This no longer works due to a condition that checks if the socket is standard or not, which was in place to avoid bad indexing of the std_node_socket_colors array. Since that array is no longer used, this condition needs to be removed. Differential Revision: https://developer.blender.org/D13274 Reviewed By: Hans Goudey
2021-11-19LibOverride: Add read-only flags accessors for 'local override' status.Bastien Montagne
Constraints, modifiers and NLA tracks can now report from RNA whether they are defined as comming from the override's reference linked data, or are local to the override.
2021-11-19Fix (unreported) wrong behavior of constraints in liboverrides.Bastien Montagne
All constraints were 'made local', including the ones comming from the reference linked object.
2021-11-19Fix T93054: crash when deleting a missed linked fileJacques Lucke
This is a bit similar to rBb7260ca4c9f4b7618c9c214f1270e31d6ed9886b. Sometimes a group node may not reference a node group because it was linked and can't be found.
2021-11-19Fix crash in VSE versioning code from recent commitPhilipp Oeser
Caused by {rB4d09a692e22a}. Greenlit by @sergey in chat.
2021-11-19Fix T92847: Meta-strip corruptRichard Antalik
Offsets for meta strip were invalid. No steps to reproduce the issue are available, but it is quite possible that there are files with incorrect state after issues with meta strips were fixed. Ensure correct offsets for meta strips in versioning code. Reviewed By: sergey Differential Revision: https://developer.blender.org/D13257
2021-11-18Pose Library: clarify apply/blend operator namesSybren A. Stüvel
The old names had "{verb} Pose Library Pose"; they are now named "{verb} Pose Asset", which is shorter & clearer.
2021-11-18Fix T93152: Cycles baking multiple selected object to active not workingBrecht Van Lommel
2021-11-18Asset tags: include partial tag matchesSybren A. Stüvel
When filtering the asset browser, also include results that have partial tag matches. So searching for "xite" will include results tagged with "excited". This brings the tag filtering in line with other search boxes in Blender. Later we might want to provide users with more options for prefix-only ("excite" would match "excited", but "xited" would not) or only exact matches.
2021-11-18Fix T92442: undo removal of Eevee cryptomatte accurate mode optionBrecht Van Lommel
The Cycles accurate mode was removed, but the Eevee option for this has a different meaning and should not have been removed. The Eevee accurate makes cryptomatte accumulate for every sample, which Cycles has always done regardless of any option.
2021-11-18Fix: error when materializing curve point attributeJacques Lucke
Differential Revision: https://developer.blender.org/D13271
2021-11-18Fix asset preview not showing up for current file data-blocksJulian Eisel
For data-blocks from the current file, the image-buffer for dragging wasn't set at all. This wasn't intentional, dragging things in the Asset Browser should just always show the preview.
2021-11-18Fix T90390: VSE Jump operator don't work during playbackRichard Antalik
Tag dependency graph `ID_RECALC_AUDIO_SEEK` update.
2021-11-18Fix T92445: Thumbnail height without overlay textAndrea Beconcini
This patch changes the thumbnails' height used for image and movie strips by choosing the proper size according to the VSE's text overlay settings: i.e. thumbnails use the whole strip's height when no overlay text is displayed; otherwise, some space is left for the overlay. Reviewed By: ISS Differential Revision: https://developer.blender.org/D13043
2021-11-18Fix T93154: Crash adding multiple movie stripsRichard Antalik
Some when adding multiple movies at once and only some of them have audio track, this causes crash on NULL dereference. Issue was introduced in bdbc7e12a02e to align sound and video properly. Check if sound is present in movie file. If it's not, don't try to align sound with video.
2021-11-18Fix T93166: Division by zero when drawing thumbnailsRichard Antalik
Caused by incorrect step calculation fo too short strips. For these, step should be equal to strip length not 0.
2021-11-17Fix: wrong assert in geometry nodes evaluatorJacques Lucke
It only makes sense to check if all required outputs have been computed if the node was executed at all.
2021-11-17LineArt: Improve certain edge cases in occlusionYimingWu
This patch includes: View vector fix for ortho back face. Point on segment logic correction. Better handling of boundary cases. See review page for detailed description. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D13143
2021-11-17Fix T93080: Crash on scrubbing with snappingRichard Antalik
Sequencer wasn't initialized, snapping crashed on NULL dereference. Add Null check.
2021-11-17Fix T91724: Strip height is too limitedRichard Antalik
This change was introduced in 997b5fe45dab, to not display pixelated thumbnails. However when VSE timeline height is made smaller, this limits strip height. Change limit, so one strip can occupy full height of VSE timeline
2021-11-17Cleanup: Correct copy paste error in commentAaron Carlisle
Mistake from rB2743d746ea4f38c098512f6dd6fc33d5a62429d3
2021-11-17Cleanup: compiler warningsBrecht Van Lommel
2021-11-16Fix T93085: Incorrect geometry nodes modifier warningHans Goudey
It's valid for a node group connected to the modifier not to have a geometry input, but I didn't consider that case with the last change I made here, f3bdabbe24fe591dc9. Differential Revision: https://developer.blender.org/D13231
2021-11-16Fix T92857: Deadlock in geometry nodes curve multi-threadingHans Goudey
The spline code, especially Bezier splines, often make use of lazily evaluation and caching. In order to do that, they use mutex locks. When multi-threading, this can lead to problems. Further detail can be found in rBfcc844f8fbd0d1. To fix the deadlock, isolate the task before multi-threading when holding a lock. Differential Revision: https://developer.blender.org/D13229
2021-11-16Fix T93011: Individual origins being used when pivot point is overrideGermano Cavalcante
There should be a special `t->around` for this case, but for now let's just avoid having the individual origins overlap.
2021-11-16Cleanup: better delimit member initializationGermano Cavalcante
The initialization of `t->around` and `t->view` was scattered and with duplicate code
2021-11-16Transform: better contextualize the status barGermano Cavalcante
`Remove Last Snap Point` should only be displayed when there is a Snap Point to be removed.
2021-11-16Fix crash on freeing hair systemSybren A. Stüvel
Fix a crash when a hair system's `ParticleSettings` ID datablock was linked from another file but couldn't be found. This results in default settings, with `type = PART_EMITTER`, where the particle data still has a non-NULL `hair` pointer. Previously, copies of such a particle system would NOT copy hair data for non-hair particle systems, hence the pointer of the copy pointed to the original data, which got freed (at least) twice upon closing the blend file. This is now fixed by always copying the hair data, regardless of the particle system type. Reviewed by: mont29 Differential Revision: https://developer.blender.org/D13245
2021-11-16Asset Browser: hide catalog debug info behind debug optionSybren A. Stüvel
Add a new "experimental" debug option `show_asset_debug_info`, and use that to determine the visibility of the active asset's catalog UUID and simple name. Previously this was only determined by the "Developer Extras" option, which meant it was visible in too many situations. It's not really a "developer extra", and really just a debugging tool, so the new option is more in line with its purpose. Reviewed by: Severin Differential Revision: https://developer.blender.org/D13242
2021-11-16UI: Fix hard to read text for drag disabled hintsJulian Eisel
In 499dbb626acb, the background color of drag tooltips were changed so text becomes more readable. But multiple people were touching the same code, so the disabled hint tooltips didn't get the same tweak. They would benefit from them even more, since the red text is even harder to read on the transparent background than the regular, white text.
2021-11-16Tests: fix memory leak of GHOST system pathsSybren A. Stüvel
Dispose of GHOST system paths when tearing down `BlendfileLoadingBaseTest` and some other test cases. This prevents a memory leak. A better solution would be to rework Blender's initialisation & teardown structure, but that's outside the scope of this fix. No functional changes to Blender.
2021-11-16Asset Browser: Forbid dragging catalogs into themselvesJulian Eisel
While there is nothing technically that would cause issues when moving a catalog into itself (it just changes the path of the catalog, and the missing parent catalogs will be created), it seems broken to the user. So disable this in the drag & drop code for asset catalogs.
2021-11-16Fix T93066: Alembic export ignores Mantaflow particlesPhilipp Oeser
`ABCPointsWriter::is_supported` already checked for valid particle system types (liquid, spray, foam, bubbles, ...). `AbstractHierarchyIterator::make_writers_particle_systems` did not create a writer for these though, so now bring these in line and also create writers for these.
2021-11-15Fix T90592: Incorrect scrollbar range with backdropRichard Antalik
`v2d->tot` rect was set for backdrop drawing. Set range before drawing scrollbars. Reviewed By: Severin Differential Revision: https://developer.blender.org/D13099
2021-11-15Fix T90415: Missing cache invalidationRichard Antalik
Some RNA properties and operators did not invalidate cache or did it incorrectly. Reviewed By: sergey Differential Revision: https://developer.blender.org/D13101
2021-11-15Fix T91405: Block artefacts in WEBM videoRichard Antalik
Issue was caused by incorrect FFmpeg asynchronous decoding API. In most cases, decoder returns 1 frame each time it is fed by 1 packet. Here decoder wanted to return more frames, but our code always expected only one. Before sending new packets to decoder, check if there are frames to receive. If there are, process them, otherwise continue decoding as usual. Reviewed By: zeddb, sergey Differential Revision: https://developer.blender.org/D13079
2021-11-15Fix T91992: Incorrect clip strip image sizeRichard Antalik
When proxy size lower than 100% is used, clip strips are rendered with incorrect image size. This is because if proxies aren't enabled in movieclip, it automatically falls back on rendering original media. Sequencer doesn't have knowledge about this and since 9c99292a16df it assumes that image is proxy, because it explicitly requested this size. Check movieclip flag to see if proxies are enabled. Reviewed By: sergey Differential Revision: https://developer.blender.org/D13080
2021-11-15Fix: Incorrect socket identifier versioningJacques Lucke
There were two issues: - The third math node socket does not exist in old enough files. - The comment incorrectly referred to the vector math node. Differential Revision: https://developer.blender.org/D13219
2021-11-15Fix T89260: Eevee crashes with custom node sockets.Jeroen Bakker
Cause of this issue is that Custom Node Sockets info type was initialized as SOCK_FLOAT when registering. Areas within the core that would ignore custom socket types by checking its type would use the socket as being a float type. When custom node sockets have a property called default_value blender tries to store it as an internal default value what failed in debug builds. This patch will set the socket type to SOCK_CUSTOM when registering a custom socket type and allow, but skip storage of custom default values. In this case the default values should already be stored as custom properies. Reviewed By: campbellbarton, JacquesLucke Maniphest Tasks: T89260 Differential Revision: https://developer.blender.org/D13174