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-10-27RNA: remove duplicate of Brush.tex_paint_map_modeIvan Perevala
Use Brush.map_mode instead. Ref D9290
2020-10-27Cleanup: Use const for PointCloud variableHans Goudey
2020-10-27Cleanup: improve comment about shape keys, correct spellingCampbell Barton
2020-10-27Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-27Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-27Fix T80819: Border zoom is isn't accurate in perspective viewErik Abrahamsson
Improved user experience by using viewport focal length to calculate the new camera distance. Also resizing the border to the same aspect ratio as the window will help not zooming in more than expected. Ref D9341
2020-10-27BLI_rect: add resize_x/y functionsCampbell Barton
Without this, it's inconvenient to resize a single axis and doesn't read very well.
2020-10-27Modifier: apply modifier now works for latticeErik Abrahamsson
Ref D9337
2020-10-27Cycles API: encapsulate Node socket membersKévin Dietrich
This encapsulates Node socket members behind a set of specific methods; as such it is no longer possible to directly access Node class members from exporters and parts of Cycles. The methods are defined via the NODE_SOCKET_API macros in `graph/ node.h`, and are for getting or setting a specific socket's value, as well as querying or modifying the state of its update flag. The setters will check whether the value has changed and tag the socket as modified appropriately. This will let us know how a Node has changed and what to update, which is the first concrete step toward a more granular scene update system. Since the setters will tag the Node sockets as modified when passed different data, this patch also removes the various `modified` methods on Nodes in favor of `Node::is_modified` which checks the sockets' update flags status. Reviewed By: brecht Maniphest Tasks: T79174 Differential Revision: https://developer.blender.org/D8544
2020-10-26Sculpt/Paint: Add Paint Studio Light presetPablo Dobarro
This studio light preset is designed for color painting tasks. As color are multiplied on top of the current studio light/matcap, this should be as white as possible and with very soft speculars to avoid color distorsion while showing the volume of the mesh. Reviewed By: jbakker, JulienKaspar Differential Revision: https://developer.blender.org/D8209
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix own previous commit re testing of `BLI_rel_path`.Bastien Montagne
Windows would need its own version of those tests, for now just disabling them on that platform.
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix T81421: "Saving As..." a blend file with a Script node file path filled ↵Bastien Montagne
with 1023 symbols crashes Blender. Usual lack of protection against buffer overflows when manipulating strings. Also add some basic tests for `BLI_path_rel`.
2020-10-26Fix T81421: "Saving As..." a blend file with a Script node file path filled ↵Bastien Montagne
with 1023 symbols crashes Blender. Usual lack of protection against buffer overflows when manipulating strings. Also add some basic tests for `BLI_path_rel`.
2020-10-26Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-26UI: Datatransfer modifier: set mix factor inactive when not in usePhilipp Oeser
For Customdata layer copying, interpolation with the mixfactor is only done for certain mix modes, now set the UI inactive if the mixfactor is not in use. Namely, the modes are the "Above / Below Threshold" which are only used for flags, colors and normals and mixing is not supported in these cases. Spotted while looking into T81914. Differential Revision: https://developer.blender.org/D9327
2020-10-26Cycles: Add support for OptiX 7.2 SDKPatrick Mours
2020-10-26Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-26Fix T82079: Missing viewport redraw changing volume slicing axisPhilipp Oeser
Send appropriate notifiers (via rna_Volume_update_display). Maniphest Tasks: T82079 Differential Revision: https://developer.blender.org/D9351
2020-10-26Merge remote-tracking branch 'origin/blender-v2.91-release'Sybren A. Stüvel
2020-10-26Fix: Animation, Draw active keyframe handles only when BézierSybren A. Stüvel
Draw the handles for the active keyframe only when the interpolation type is set to Bézier. This now matches the behaviour of handles of regular (non-active) keyframes.
2020-10-26Fix T81890: Active keyframe changes on deselect of keyframeSybren A. Stüvel
Activate an FCurve only on selecting, and not on deselecting a keyframe or a handle. Reviewed By: HooglyBoogly, Severin, looch, #animation_rigging Differential Revision: https://developer.blender.org/D9328
2020-10-26Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-26Fix T69911: Adaptive subdivision offscreen dicing does not work correctly if ↵Philipp Oeser
the camera is shifted Code was assuming frustrum planes are symmetrical which is not the case for shifting. This lead to a shrinking region if shift was negative (and a growing region if shift was positive) So instead of only keeping track of plane on one side (and mirroring over in code) get the actual planes after shifting and use these instead. This code corrects this for ortho and perspective cameras, it does not touch panoramic cameras. Reviewed By: brecht Maniphest Tasks: T69911 Differential Revision: https://developer.blender.org/D9342
2020-10-26Fix T81893: Cycles viewport crash changing mesh to smoke domainBrecht Van Lommel
Now that volume is a dedicated geometry type in Cycles, we need to re-allocate the geometry when a mesh changes into a volume.
2020-10-26Cleanup: compiler warningsBrecht Van Lommel
2020-10-26Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-26Fix custom-normal support for mesh editing operationsCampbell Barton
Account for custom normals for edit-mesh tools: - Limited Dissolve - Split - Split (Edges/Vertices) - Triangulate
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
Conflicts: source/blender/blenkernel/intern/armature.c
2020-10-26Proper, cleaner fix for T81963: Random rare crashes in override code.Bastien Montagne
Use new `BKE_pose_ensure` utils, and do so for reference linked object too everywhere.
2020-10-26Pose: Add a 'pose_ensure' new utils that only rebuilds if needed.Bastien Montagne
Avoids having to spread the check logic everywhere in the code.
2020-10-26Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-26Fix T82077: Tools popup error in the image editorRyan Inch
Add check for an image space type. Ref D9347
2020-10-26Merge branch 'blender-v2.91-release'Jeroen Bakker
2020-10-26LatticeDeform: PerformanceJeroen Bakker
This patch improves the single core performance of the lattice deform. 1. Prefetching deform vert during initialization. This data is constant for each innerloop. This reduces the complexity of the inner loop what makes more CPU resources free for other optimizations. 2. Prefetching the Lattice instance. It was constant. Although performance wise this isn't noticeable it is always good to free some space in the branch prediction tables. 3. Remove branching in all loops by not exiting when the effect of the loop isn't there. The checks in the inner loops detected if this loop didn't have any effect on the final result and then continue to the next loop. This made the branch prediction unpredictable and a lot of mis predictions were done. For smaller inner loops it is always better to remove unpredictable if statements by using branchless code patterns. 4. Use SSE2 instruction when available. This gives 50% performance increase measured on a Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with GCC 9.3. Also check other compilers. Before: ``` performance_no_dvert_10000 (4 ms) performance_no_dvert_100000 (30 ms) performance_no_dvert_1000000 (268 ms) performance_no_dvert_10000000 (2637 ms) ``` After: ``` performance_no_dvert_10000 (3 ms) performance_no_dvert_100000 (21 ms) performance_no_dvert_1000000 (180 ms) performance_no_dvert_10000000 (1756 ms) ``` Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D9087
2020-10-26Merge branch 'blender-v2.91-release' into masterAnkit Meel
2020-10-26Fix T81077 id_management test on macOSAnkit Meel
This looks like a optimizer bug where it makes wrong assumptions. The code inside lib_id_delete:264 on rBafd13710b897cc1c11b `for (id = last_remapped_id->next; id; id = id->next) {..}` is not executed in release/relwithdebinfo builds. This can be "fixed" by several ways: - Adding a line that prints the `last_remapped_id->name` right before the said for-loop starts. - Turning off optimization for the whole function `id_delete`: `#pragma clang optimize off/on` Ray Molenkamp - Marking `last_remapped_id` volatile. Julian Eisel - Marking `tagged_deleted_ids` volatile. But it adds a warning when calling `BLI_addtail`: discards volatile qualifier. Discovered by accident. Fix T81077 Reviewed By: mont29 Maniphest Tasks: T81077 Differential Revision: https://developer.blender.org/D9315
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix T81963: Random rare crashes in override code.Bastien Montagne
Finaly managed to reproduce, we not only have to ensure pose data is up to date for the override armature, but also for the reference linked data.
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix T81984: Crash in sculpt undo with mask extract after dyntopo toggleBastien Montagne
More operators missing the mandatory undo flag...
2020-10-26Modifiers: include the object & modifier when logging errorsCampbell Barton
Without this, there was no way of finding out which object, modifier combination caused the error, making the logs not very useful for debugging.
2020-10-26Keymap: enable repeat for text editing paste operationsCampbell Barton
2020-10-26Cleanup: spellingCampbell Barton
2020-10-26UI: Use property split in vertex paint symmetry panelsHans Goudey
Set property split in the higher level panel functions so that it carries over to buttons added after. Also discard the redundant "Symmetry" to make sure there is enough space for the checkbox label.
2020-10-26UI: Fix Symmetry options in weight paint panelsHans Goudey
The now redundant "X" checkbox is removed since it's also present in the Symmetry panel above. The Topology Mirror is moved into the Symmetry panel also. This was needed because `Mesh.use_x_mirror` has recently been turned into different functionality, and its old functionality now lives under `Mesh.use_mirror_vertex_group_x`. Something went wrong in the UI in This transition. Differential Revision: https://developer.blender.org/D9287
2020-10-26Split BKE_sequencer.h intern/extern definitionsRichard Antalik
Intern definitions are moved to sequencer/intern/sequencer.h BKE_sequencer.h was also cleaned up a bit to make sure that functions and structs are in correct category. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9259
2020-10-26Merge branch 'blender-v2.91-release'Richard Antalik
2020-10-26Fix Recursion when rendering scene stripRichard Antalik
Recursion happens in case when scene strip point to it's own scene indirectly by using SEQ_SCENE_STRIPS option. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9264