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
2020-11-09Merge branch 'blender-v2.91-release'Brecht Van Lommel
2020-11-09Fix T78028: crash with grease pencil and save buffersBrecht Van Lommel
Perform grease pencil rendering delayed in this case, as there are no render buffers available for compositing. This keeps memory usage lower, but does involve multiple depsgraph evaluation. This seems in line with the intent of the save buffers feature, to use minimal memory.
2020-11-09Fix potential crash closing Blender with persistent data option enabledBrecht Van Lommel
Found by address sanitizer.
2020-11-09Merge branch 'blender-v2.91-release'Brecht Van Lommel
2020-11-09Fix T78956: banding artifacts of vertex colors in CyclesBrecht Van Lommel
Byte colors must be encoded in sRGB and converted to linear on lookup, to avoid precision loss.
2020-11-09Cleanup: Clang-tidy, inconsistent parameter nameAnkit Meel
readability-inconsistent-declaration-parameter-name
2020-11-09Cleanup: Clang-tidy, modernize-use-nullptr.Ankit Meel
2020-11-09Cleanup: more renaming in the render/ module for consistencyBrecht Van Lommel
2020-11-09Pointclouds: move blenkernel code to c++Jacques Lucke
2020-11-09Fluid: Fix strict compiler warningSergey Sharybin
Proper way to check for DEBUG_PRINT is to do `if defined` check rather than `if`: this is because in non-debug builds the symbol is not defined.
2020-11-09Cleanup: fix wrong merge, remove extra unique_ptr.Ankit Meel
Mistakes added in 3cb4c513080ebeead7c5629a7f0503fae9513803 and bec1765340c3c13f002882ce147762e4c38ed2c6 Reviewed By: sergey Differential Revision: https://developer.blender.org/D9514
2020-11-09Fix T80068: skin modifier not working with motion blurBrecht Van Lommel
The skin modifier did not output consistent results, causing failure to find corresponding vertices across frames. Remove unnecessary use of GSet, all we need is an array.
2020-11-09Cycles: fix Node::tag_modified not setting modified flag's upper bitsKévin Dietrich
Previous code was flipping the bits on a 32-bit number and doing a zero extension to cast to 64-bit, so mark the constant as long to begin with. This would also erase previously set bits in this part the flag.
2020-11-09Cycles: Fix function inline attributesSergey Sharybin
forceinline attribute is only applicable for function which are marked inline. Interestingly, it can be used for class methods without explicit inline statement. But for functions it is another story.
2020-11-09Fluid: Fix strict compiler warningSergey Sharybin
Proper way to check for DEBUG_PRINT is to do `if defined` check rather than `if`: this is because in non-debug builds the symbol is not defined.
2020-11-09macOS: follow system preference for natural trackpad scroll directionYevgeny Makarov
And remove Blender preference, which was expected to be set to match the system preference for correct behavior. Instead just handle this automatically. Differential Revision: https://developer.blender.org/D9402
2020-11-09Merge branch 'blender-v2.91-release'Sebastián Barschkis
2020-11-09Fix T82488: Mantaflow - force fields have very low influence compare to 2.90.1Sebastián Barschkis
Removed 0.2f factor when setting forces. Why this factor has been used when forces should only be clamped, nobody knows ..
2020-11-09Fix T82210: Animation, Bake Action cleanupSybren A. Stüvel
Make post-bake cleanup of the Bake Action operator optional, and disable by default. Previously Bake Action would do two things: - Bake the Action - Clean up the FCurves It is now possible (and even the default) to only perform the baking operation. Reviewed By: #animation_rigging, looch, sybren Maniphest Tasks: T82210 Differential Revision: https://developer.blender.org/D9453
2020-11-09Cycles: Fix tricubic sampling with NanoVDBPatrick Mours
Volumes using tricubic sampling were producing different results with NanoVDB compared to dense textures. This fixes that by using the same tricubic sampling algorithm in both cases. It also fixes some remaining offset issues and some minor things that broke OpenCL kernel compilation on NVIDIA. Reviewed By: brecht Differential Revision: https://developer.blender.org/D9491
2020-11-09Libmv: Fix warning about unused parameter in CeresSergey Sharybin
Ceres is an external library, so consider it a system header which makes it so all strict flags are properly ignored for them.
2020-11-09CMake: Extend supported strict flags cancelation for ClangSergey Sharybin
2020-11-09Cleanup: fix some clang tidy issuesJacques Lucke
2020-11-09Merge branch 'blender-v2.91-release' into masterJacques Lucke
2020-11-09Sculpt: Fix off-by-one error when creating bitmap for lasso gestureJacques Lucke
Reviewers: pablodp606 Differential Revision: https://developer.blender.org/D9472
2020-11-09Animation: move group colors switch to user preferencesSybren A. Stüvel
Move the "Show Group Colors" toggle from a per-editor option to a single user preference in the Animation preferences. The Grease Pencil animation channel side panel allows picking a channel color; this now shows a message when channel colors are disabled. The old "Show Group Colors" toggle had to be set per editor, and was on by default. This meant that disabling group colors would require an action for every file, for every editor. It is very hard to select a color that works both as bone color in the 3D Viewport (needs to be bright there) as well as the channel list (needs to be dark there), most animators turn channel list colors off. Differential Revision: https://developer.blender.org/D9391
2020-11-09Cleanup: Sequencer, remove unused functionSybren A. Stüvel
Remove `static int clear_scene_in_allseqs_fn(...)`. It was a utility function for `BKE_sequencer_clear_scene_in_allseqs()`, which was removed in c063813c30e55ddc8f42ef7632d9dfa109dfddff. No functional changes.
2020-11-09Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-09Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-09Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-09Revert "Fix T80742: curve bevel fails with zero length handles at end-point"Campbell Barton
This reverts commit 4987b7d347a885916916a888c18401ea2fe552f4. This introduced a slight change in curve direction at end-points (while correct), it caused tests to fail. Keep this change for 2.92, revert for 2.91.
2020-11-09Fix T82495: assert with cast modifier in edit-modeCampbell Barton
2020-11-09Cleanup: imbuf callback namingCampbell Barton
Use `is_a` & `is_a_filepath` in callback names.
2020-11-09Fix T82520: error building freestyle with Python3.8Campbell Barton
Caused by 16732def37c5a66f3ea28dbe247b09cc6bca6677, This is a 'Py_ssize_t' in Python 3.8, replace with zero as this works in both 3.7 and 3.8.
2020-11-09Cleanup: clang-formatCampbell Barton
2020-11-08Fix T81651, exact boolean modifier incorrect if operand hidden.Howard Trickey
The code was trying to ignore hidden geometry when doing boolean, which is correct when used as a tool, but not when a modifier. Added a "keep_hidden" argument to bmesh_boolean to distinguish the two cases. Also fixed a bug when the tool is used with hidden geometry that is attached to unhidden geometry that is deleted by the operation.
2020-11-08Fix T81651, exact boolean modifier incorrect if operand hidden.Howard Trickey
The code was trying to ignore hidden geometry when doing boolean, which is correct when used as a tool, but not when a modifier. Added a "keep_hidden" argument to bmesh_boolean to distinguish the two cases. Also fixed a bug when the tool is used with hidden geometry that is attached to unhidden geometry that is deleted by the operation.
2020-11-07Cleanup: Clang-tidy, readability-else-after-returnAnkit Meel
2020-11-07Cleanup: Clang-tidy, readability-non-const-parameter.Ankit Meel
2020-11-07Cleanup: NULL to nullptr.Ankit Meel
2020-11-07Merge new boolean fix from blender-v2.91-release.Howard Trickey
2020-11-07Fix T82301, exact boolean fail on cube with bump.Howard Trickey
The code for determining coplanar clusters had a bug where it would miss some triangles. The fix for now is to just put triangles in the cluster if their bounding boxes overlap. This works but maybe makes clusters bigger then they have to be. I'll follow this commit with work on making the CDT routine faster when using exact arithmetic. Also removed a lot of unused code, and added some new intersect performance tests.
2020-11-07Cleanup: Clang-format.Ankit Meel
2020-11-07Noise: fix uninitialized variable warning.Ankit Meel
Mistake in 74188e65028d
2020-11-07Cleanup: Clang-tidy else-after-returnAnkit Meel
2020-11-07Cleanup: Clang-tidy, modernize-concat-nested-namespacesAnkit Meel
2020-11-07View3D: take clipping into account for Frame AllCampbell Barton
Clamp the min/max used for Frame All/Selected by the clipping region if it's set. Resolve T81050
2020-11-07Cleanup: move plane array intersection into a functionCampbell Barton
Also add check to ensure a point isn't occluded by it's own plane, which could happen if a small epsilon values are passed in.
2020-11-07Fix for T78211: Trackpad Zoom to Mouse Position ErrorYevgeny Makarov
When using a trackpad Zoom to Mouse Position would always zoom to center of canvas. Differential Revision: https://developer.blender.org/D8683 Reviewed by Brecht Van Lommel
2020-11-07Fix for T65714: Pinch Zooming Crash using Mac TrackpadYevgeny Makarov
Ensure that Zoom does not crash on Mac Trackpad by checking for existence of Continuous Zoom timer. Differential Revision: https://developer.blender.org/D8682 Reviewed by Julian Eisel