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-09Fix T92472: OptiX denoising artifacts with recent GPU driver 495.29.05 or ↵Patrick Mours
newer on Linux Adds a workaround for a driver bug in r495 that causes artifacts with OptiX denoising. `optixDenoiserSetup` is not working properly there when called with a stream other than the default stream, so use the default stream for now and force synchronization across the entire context afterwards to ensure the other stream Cycles uses to enqueue the actual denoising command cannot execute before the denoising setup has finished. Maniphest Tasks: T92472 Differential Revision: https://developer.blender.org/D13158
2021-11-09Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-09Fix T91923: Save/Apply as Shape Key ignores shape keysCampbell Barton
Support virtual modifiers when using applying the modifier as a shape.
2021-11-09Tests: disable Cycles tests based on more build optionsBrecht Van Lommel
WITH_OPENCOLORIO and WITH_COMPOSITOR are required to run the tests at all, since they affect many tests. WITH_OPENSUBDIV WITH_FREESTYLE, WITH_OPENVDB, WITH_OPENIMAGEDENOISE and WITH_MOD_FLUID selectively disable some tests.
2021-11-09Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-09Fix T92934: crash rendering with wrong image pathJacques Lucke
These null checks were missing in rB0c3b215e7d5456878b155d13440864f49ad1f230. Differential Revision: https://developer.blender.org/D13157
2021-11-09Fix T92876: Cycles incorrect volume emission + absorption handlingBrecht Van Lommel
2021-11-09Asset Catalogs: add test for proper shortening of simple namesSybren A. Stüvel
Catalog simple names are supposed to fit into the DNA field `char AssetMetaData::catalog_simple_name[64]`, and thus should be shortened appropriately. This was already happening, but is now also covered by a test. No functional changes.
2021-11-09Fix T92950: spreadsheet shows 0 instances when there are instancesJacques Lucke
Fix found by @erik85.
2021-11-09Fix T92876: Cycles incorrect volume emission + absorption handlingBrecht Van Lommel
2021-11-09Armature Make/Clear Parent: Grey out options that don't do anythingDemeter Dzadik
In armature edit mode, the Make/Clear Parent operators don't do anything in various cases, but only one of these cases was previously indicated, and it was indicated by hiding the option completely instead of graying it out. Clear Parent (Alt+P) problems fixed: - "Clear Parent" option always showed up, even when none of the selected bones had a parent. - "Disconnect Bone" option always showed up, even when use_connected on all selected bones was already false. Make Parent (Ctrl+P) problems fixed: - "Keep Offset" option didn't show up when all selected bones' parent was already the active bone. This was correct, and this patch tries to make all behaviours consistent with this. - "Connected" option always showed up, even when all selected bones' parent was already the active bone, and they all had use_connect set to True. With this patch all options show up all the time, but in cases where they would do nothing, they will be grayed out. Reviewed By: sybren Differential Revision: https://developer.blender.org/D6100
2021-11-09Alembic: Allow exporting of animated vertex colorsCody Winchester
Allow exporting of animated vertex colors to Alembic. The changes are made to be in line with the way the UV Maps are written. Each vertex color gets a OC4fGeomParam created and mapped into the CDStreamConfig to avoid recreating the Param on each frame. The time sample index is also stored in the config now and set onto the UV and Vertex Color params each frame. Without this the exports would get inconsistent timing results where animated UV maps and Vertex Colors were not playing back at the original speed. Reviewed By: sybren Maniphest Tasks: T88074 Differential Revision: https://developer.blender.org/D11278
2021-11-09Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-09Fix T92318: adding layers (UVs, ...) doesn't notify about limitPhilipp Oeser
When adding certain customdata layers (namely UVs, vertex colors and sculpt vertex colors), the user does not get notified the specific limit has been hit (blender just silently does nothing). Now inform the user [decided to not do this in poll() since it could get messy once operators are extended to operate on all selected objects, so left this as a visible error in execute() -- or from python]. Maniphest Tasks: T92318 Differential Revision: https://developer.blender.org/D13147
2021-11-09Merge branch 'blender-v3.0-release'Sergey Sharybin
2021-11-09Fix T92559: Tracking camera presets don't workFynn Grotehans
New tracking-camera presets d486ee2dbdd3 used wrong code because I copied them from the camera-presets. Now they set the right properties again, the values stay the same as before. Differential Revision: https://developer.blender.org/D13139
2021-11-09Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-09Fix T92384: Wrong UV layers used with Boolean Modifier (Fast Solver)Campbell Barton
Ensure the layers from the source mesh are used instead of the object referenced by the boolean modifier.
2021-11-09Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-09Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-09Fix T92469: Transform tools inaccessible in weight-paint + pose modeCampbell Barton
Expose transform tools when in weight paint mode with pose-mode enabled, displaying transform tools in the toolbar, as is already done in object & pose mode. These are only shown when weight-paint + pose mode are active at once. This allows single key-strokes to activate tools, needed when tool-access is set as the default action for G/R/S key bindings. Reviewed By: JulienKaspar Ref D13028
2021-11-09Fix T92704: Redrawing while saving crashes outside the main threadJeducious
If the blend file is saved from a script in another thread, like the render thread for example, Blender will crash on the call that redraws the UI. Ref D13140
2021-11-09Fix T92704: Redrawing while saving crashes outside the main threadJeducious
If the blend file is saved from a script in another thread, like the render thread for example, Blender will crash on the call that redraws the UI. Ref D13140
2021-11-08Merge branch 'blender-v3.0-release'Julian Eisel
2021-11-08Fix performance issues with pose library sidebar and many posesJulian Eisel
When the asset view in the sidebar of the pose library would contain more than a few handful poses, interaction and animation playback performance would be impacted considerably. This was because our icon drawing scales image buffers using a rather slow method on the CPU. This commit changes it so the asset icons are scaled using the GPU. Note that this is a temporary change. I'd like all icon code to use GPU-side scaling, see D13144. But such a change is too risky to do in the release branch at this point, so this fix is specifically for the 3.0 release.
2021-11-08Merge branch 'blender-v3.0-release'Alexander Gavrilov
2021-11-08Fix T92043: Relax/Push Pose does nothing for quaternion rotation.Alexander Gavrilov
As can be confirmed by checking generic code for this operation, it is supposed to blend between the result of Breakdown based on actual frame range, and the current pose. However for some reason the quaternion specific code was blending between the current pose and the current keyframed pose. This means that the operation does nothing if invoked without modifying the pose first. This rewrites the code to match the non-quaternion behavior. Differential Revision: https://developer.blender.org/D13030
2021-11-08Cleanup: remove redundant arg when forcing zero initializationGermano Cavalcante
2021-11-08GPencil: New option to export PDF full sceneAntonio Vazquez
This new mode export all frames of the scene. Reviewed By: pepeland Differential Revision: https://developer.blender.org/D13055
2021-11-08GPUTest: Add support to test on Windows.Jeroen Bakker
On windows the OpenGL context wasn't activated when created, on Linux it is. This patch will activate the context in gpu/draw test cases.
2021-11-08Basic engine shaders testJarrett Johnson
This patch adds shader compilation tests for the basic engine in `shaders_test.cc` Addresses T92701 Reviewed By: jbakker Differential Revision: https://developer.blender.org/D13066
2021-11-08Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-08Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-08Fix T92481: Memory leak with subdivision surface modifierCampbell Barton
Interpolation vertex data on loose edges was writing into already allocated data. Resolve this by skipping vertex end-points for custom-data interpolation which has already been copied from the source mesh. Reviewed By: sergey Ref D13082
2021-11-08Docs: improve comments & doc-strings for the tool-systemCampbell Barton
2021-11-08Fix inconsistent creation of `NodeTreeTypeUndefined` type of node treeBastien Montagne
Currently, when creating a new node tree ID, its `typeinfo` is set to `NodeTreeTypeUndefined`, but its `type` enum value is left to `0`, aka `NTREE_SHADER`. This patch adds a new `NTREE_UNDIFINED` value, and use it for `NodeTreeTypeUndefined` types of node trees. NOTE: While it is not clear whether that actually fixes issues currently, quite a bit of code still relies on the value of `type`, so think it makes sense to sanitize this. NOTE: Would have been ideal to reserve `0` value to undefined type, but at this point this is not possible anymore, so chose to use `-2` instead. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D13123
2021-11-08Nodes: store socket declaration reference in socketJacques Lucke
Previously, to get the declaration of a socket, one had to go through `node->declaration`. Now this indirection is not necessary anymore. This makes it easier to add more per-socket information into the declaration and accessing it in various places. Currently, this system is used by socket descriptions and node warnings for unsupported geometry component types.
2021-11-08Fix ASAN issue in image editor.Jeroen Bakker
Adding virtual constructors to base classes.
2021-11-08Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-08Cleanup: avoid error prone struct declarations in C++Campbell Barton
Reference struct members by name instead relying on their order. This also simplifies moving back to named members when all compilers we use support them.
2021-11-08Fix reading the 3rd value of 2D cursors when transformingCampbell Barton
Out of bounds read and potential out-of-bounds write when transforming the 2D cursor for image editor and sequencer. While this didn't cause user visible bugs in my tests, it's error prone and should be avoided. Use TransData2D for 2D cursors.
2021-11-08CMake: add missing headers to CMake listsCampbell Barton
2021-11-08Cleanup: use static setsCampbell Barton
2021-11-08Cleanup: Grammar in commentsHans Goudey
2021-11-08Fix reading the 3rd value of 2D cursors when transformingCampbell Barton
Out of bounds read and potential out-of-bounds write when transforming the 2D cursor for image editor and sequencer. While this didn't cause user visible bugs in my tests, it's error prone and should be avoided. Use TransData2D for 2D cursors.
2021-11-08Cleanup: quiet compiler warningsCampbell Barton
2021-11-08CMake: add missing headers to CMake listsCampbell Barton
2021-11-08Cleanup: use static setsCampbell Barton
2021-11-08Cleanup: remove references to non-existent 'mtexpoly'Campbell Barton
2021-11-08Cleanup: remove duplicate doc-stringsCampbell Barton
Internal struct ObTfmBack had out of sync doc-strings for members duplicated from Object. Remove the doc-strings as there is this is just temporary storage.