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-03-30CMake: issue warnings when changing optionsAnkit Meel
Only done in top level CMakeLists, and platform_apple. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D10343
2021-03-30UI: Bring back hover shortcuts for mesh modifiersHans Goudey
Earlier last year, the shortcuts on hover were built as a way to regain speed lost by removing the "Apply" and "Copy" buttons from the panel. For the active modifier concept introduced for geometry nodes, the shortcuts were changed to only affect the active modifier. Based on feedback, this change slowed down many people's interaction with the modifier stack so the UI team decided to return hover shortcuts for modifier panels. The downside of this change is that it looks like the active modifier is "selected" and it could be confusing that the modifier shortcuts don't apply to it. We can explore different ways to display the active status to address this. Ref T87012
2021-03-30Cleanup: use doxy sections and rearrange editmesh_knife.cGermano Cavalcante
2021-03-30Geometry Nodes: Set default grid vertices to 3 by 3Hans Goudey
This is a relatively arbitrary value, but a good starting point-- it's simple while also showing the possibility of the subdivisions. Ref T86819
2021-03-30Fix unused variable warning caused by recent cleanupHans Goudey
Caused by a cleanup, rBd037fef3bd1dc.
2021-03-30Cleanup: remove unneeded method.Jeroen Bakker
size can be accessed via instance attribute.
2021-03-30Cleanup: clang-format.Jeroen Bakker
2021-03-30Cleanup: Use constexpr.Jeroen Bakker
2021-03-30Compositor: Fix Incorrect Attaching NodeSockets.Jeroen Bakker
Introduced by recent commit.
2021-03-30Cleanup: Replace std::vector with blender::Vector.Jeroen Bakker
2021-03-30Cryptomatte: Fix When Image based Cryptomatte Aren't On The First Render Layer.Jeroen Bakker
The image user wasn't updated to reflect the correct render layer.
2021-03-30Fix: Compile Error COM_Debug.Jeroen Bakker
We should replace `ifdef COM_Debug` with a constexpr function.
2021-03-30Cleanup: Replace virtual methods with bitflags.Jeroen Bakker
2021-03-30UI: add description methods for `wm.context_*` operatorsCampbell Barton
Generic context operators now look-up the RNA properties to extract their description (when it's available). Add `bl_rna_utils.data_path.property_definition_from_data_path()` to handle the details of accessing the RNA property definition.
2021-03-30Fix T87007: Cycles Background not updated if strength is initially nullKévin Dietrich
When the strength is initially set to zero, the shader graph is optimized out to remove any node which will not be executed because of this, which removes pretty much every single node, except for the output. As the graph is empty, the world shader is made invisible to rays so it is not evaluated in the kernel. However, when the strength is then modified, the Background is not updated as the modification happens on the Shader Node and not on the Background Node, so it is never tagged as modified. To fix this, we need to tag the Background as modified when its shader is also modified so the Kernel data is properly updated. Regression caused by rBbbe6d44928235cd4a5cfbeaf1a1de78ed861bb92.
2021-03-30Cycles: Do not allocate tile buffers on all devices when peer memory is ↵Patrick Mours
active and denoising is not Separate tile buffers on all devices only need to exist when denoising is active (so any overlap being rendered simultaneously does not write to the same memory region). When denoising is not active they can be distributed like all other memory when peer memory support is available. Reviewed By: brecht Differential Revision: https://developer.blender.org/D10858
2021-03-30Build Environment: set MAKE_THREADS as per the CPUAnkit Meel
It is a better default. Reviewed By: sebbas, sybren Differential Revision: https://developer.blender.org/D10652
2021-03-30PyAPI: replace repr with our own escape function in animsys_refactorCampbell Barton
Use the same string escaping logic shared by RNA path resolving code.
2021-03-30Geometry Nodes: support multiple group input nodesJacques Lucke
Previously this was only supported within nested node groups. Now it is also supported for the root node group that is referenced by the modifier.
2021-03-30Cleanup: Typo in comment.Bastien Montagne
2021-03-30Armature: Add Display Axis OffsetScott Wilson
Display the bone axes at the head (root) of the bone by default, instead of the tail (tip), and add a slider so that it's possible to adjust this position. Versioning code is in place to ensure existing files behave the same (axes shown at tail), whereas new Armatures will be using the new default (axes shown at head). Reviewed By: #animation_rigging, #user_interface, Severin, Sybren Differential Revision: https://developer.blender.org/D7685
2021-03-30Python: clarify error message when accessing datablock by librarySybren A. Stüvel
When using `bpy.data.actions[action_name, "nonexistant-library"]`, use the term `filepath` instead of `name` in the error message. Also increase the size to match the file path length. Ref D10253
2021-03-30Fix simple solidify wrong custom data on large ngonsHenrik Dick
Fixes an unreported issue that vertex data on large ngons (>255) is messed up due to type conversion to char and back to int. Ref D10734
2021-03-30Cleanup: animation, remove `BONE_UNKEYED` flagSybren A. Stüvel
Remove the `BONE_UNKEYED` flag. It was only written (set/cleared) but never actually read. Also remove `framechange_poses_clear_unkeyed()` as its only function was to clear the `BONE_UNKEYED` flag. It wasn't used anywhere either. The only code that used the flag was the `extract_pose_from_action()`, which was removed in 2869ce6cfab3aa4ff471bef6e49ac6fe15426247 (2009). No functional changes.
2021-03-30Cleanup: clang-tidy warning.Jeroen Bakker
2021-03-30Cleanup: clang-tidy warning.Jeroen Bakker
2021-03-30Knife: snap refactor, prepare for snap gizmoGermano Cavalcante
Minor changes preparing for snap gizmo inclusion. - Extract `knife_snap_edge_in_angle` into a utility function. - Check the snap vertex on closest edge instead of the face. - Add MODE_INVOKING state. - Remove unnecessary NULL checks. - Control 'ignore_edge_snapping' while dragging instead of checking dragging in `knife_snap_update_from_mval`. Ref D8220
2021-03-30Cleanup: Fix incorrect socket list nameHans Goudey
2021-03-30Cleanup: Use float4x4 type and constructorHans Goudey
2021-03-30MSVC: ASAN support for VS 16.9Ray Molenkamp
This enables ASAN support when used with VS 16.9 enable as usual in cmake with the WITH_COMPILER_ASAN option, or when using make.bat just tag on `asan' to the invocation, ie: `make lite 2019 asan` MSVC: Asan support for 16.9 This enables ASAN support when used with VS 16.9 enable as usual in cmake with the WITH_COMPILER_ASAN option, or when using make.bat just tag on `asan' to the invocation, ie: `make lite 2019 asan` Differential Revision: https://developer.blender.org/D7794 Reviewed By: brecht, sergey
2021-03-30Fix T86944: Incorrect seeking in some moviesRichard Antalik
`av_seek_frame()` failed to seek to nearest I-frame. This seems to be a bug or not implemented feature in FFmpeg. Looks like same issue as ticket https://trac.ffmpeg.org/ticket/1607 on ffmpeg tracker. If seeking is done using format specific function (`read_seek2`) field of `AVInputFormat` is set, `see av_seek_frame()`, use `av_seek_frame()` function. Otherwise use wrapper that actively searches for I-frame packet. Searching is flexible and tries to do minimum amount of work. Currently it is limited to equivalent of 25 frames, which may not be enough for some files, but there may be files with no I-frames at all, so it is best to keep this limit as low as possible. Previously this problem was masked by preseek, which was hard-coded to 25 frames. This was removed in rB88604b79b7d1. If this approach would be unnecessary for some formats, in worst case file would be seeked 2 times which is very fast, so there will be no visible impact on performance. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10845
2021-03-30VSE: Add fit method to RNA APIRichard Antalik
Add fit_method argument to new movie and image RNA API functions. This argument is optional. ref T86925 Reviewed By: sergey Differential Revision: https://developer.blender.org/D10816
2021-03-30VSE: Fix image adding inconsistencyRichard Antalik
When adding images with operator, image file path is split into filename and directory passed to load function in name and path fields of SeqLoadData struct. This is because when loading images directory and filenames are split. RNA API function passes whole path in path filed. Apart from loading API inconsistency, this causes initial image loading to fail, so strip resolution is not set. Also name field of SeqLoadData should be reserved for strip name. Let operator code concatenate and split filepath when needed so loading API can be consistent with RNA API and also between strip types. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10818
2021-03-30Cleanup: Decrease variable scopeHans Goudey
2021-03-30Cycles: disable NanoVDB for AMD OpenCLBrecht Van Lommel
It is causing issue with AMD OpenCL drivers, due to a potential driver bug. Ref T84461
2021-03-29Gizmo: Use a utility function to read snap gizmo valuesGermano Cavalcante
No functional changes. This makes the `ED_gizmotypes_snap_3d_update` function more specialized.
2021-03-29Snap Gizmo: Minor optimization when updating gizmo propertiesGermano Cavalcante
As the Snap Gizmo properties are used as return of snapping values and therefore updated with each change, use callbacks to get these values through RNA properties. Differential Revision: https://developer.blender.org/D8525
2021-03-29Tests/bpy: Add installation verification testAnkit Meel
Makes it slightly easier to test whether the installed module works or not. Depends on D10656 Ref T86579 Reviewed By: mont29, campbellbarton Differential Revision: https://developer.blender.org/D10665
2021-03-29Tests: disable python tests for blender as python moduleAnkit Meel
Avoid CTest errors and exit codes due to test failures which depend on Blender executable. Ref T86579 Reviewed By: mont29, campbellbarton Differential Revision: https://developer.blender.org/D10656
2021-03-29macOS/bpy: accommodate portable builds, and multi-config generators.Ankit Meel
Old code's `install` step did not guarantee that all script files will be copied from source folder to build folder _before_ copying from build folder to site-packages. That caused incomplete installation. Fixed by copying scripts etc., only once. Also match the behavior on Linux: install to site-packages only if `WITH_INSTALL_PORTABLE` is OFF. Also fix install and launch issues with Xcode.
2021-03-29Cleanup/CMake: remove trailing `/`; whitespace.Ankit Meel
2021-03-29Cleanup: Replace `is...Operation()` methods with a flag.Jeroen Bakker
2021-03-29Cleanup: Use Bitflags For Booleans.Jeroen Bakker
2021-03-29Fix T87013: GPencil SVG export wrong svg xml header settingsAntonio Vazquez
The attribute was missing.
2021-03-29Fix T86975: GPencil interpolate wrong stroke orderAntonio Vazquez
When interpolate, the stroke order was not correct because it was assumed the GHash iter would return the items in the same order of insertion, but this is false. Now, a list is used to keep the order of the strokes and the Hash is used to get the relationship between strokes as before.
2021-03-29Fix T86298: crash when loading "corrupted" geometry node treeJacques Lucke
The file was not really corrupted (as in, Blender did everything correctly while saving). I only did not consider the case when a .blend file is resaved in an older version before.
2021-03-29Fix: Line Art panel in properties showing in the wrong order with add-onsBrecht Van Lommel
It should set bl_order to show below panels registered by render engine add-ons like Cycles.
2021-03-29Fix T76872: Mask created after existing keyframe gets broken handlesSergey Sharybin
The issue was caused by handles not being written to the new mask spline shape: it was always written as (0, 0), which was making the handle calculation go wrong later on. Solved by allocating a temporary array of bezier points and calculating handles for them. While this is an extra array allocation it is only done for a small amount of points and it is not in the critical code path. Having this as an extra array helps to overcome a limitation of the current mask shape API. Additionally, disable the interpolation for the shape change: the spline is brand new, there is nothing to be interpolated there.
2021-03-29Mask: Fix possible nan values in the weight interpolationSergey Sharybin
Noticed while looking into animation data being created as per steps to reproduce bug in T76872.
2021-03-29GPencil Cleanup: Remove legacy key to cancel drawingFalk David
The 'E' key was set to cancel drawing. This was a change in the old grease pencil system and is no longer used.