Revision 1abf2f3 by Philipp Oeser December 21, 2021, 13:28 (GMT) |
Revision d13970d by Philipp Oeser December 21, 2021, 13:07 (GMT) |
Fix T92930: Outliner "Show Active" bone fails in certain situations Outliner would frame the armature object instead of the bone if the bone was on a hidden armature layer. Similar to issues reported in e.g. T58068 and T80464, this is due to the fact that `BKE_pose_channel_active` always checks for the armature layer (and returns NULL if a bone is not on a visible armature layer). Now propose to make this layer check **optional** (and e.g. from the Outliner be more permissive). This also introduces `BKE_pose_channel_active_if_layer_visible` which just wraps `BKE_pose_channel_active` with the check being ON. Maniphest Tasks: T92930 Differential Revision: https://developer.blender.org/D13154 |
Revision fac42e3 by Sybren A. Stüvel December 21, 2021, 10:12 (GMT) |
Tests: initialise BKE callbacks before loading blend file Initialise the BKE callback system in `BlendfileLoadingBaseTest::SetUpTestCase()`. This allows certain tests to run in debug mode (when `BLI_assert` is enabled). |
Revision 68f1b2c by Bastien Montagne December 21, 2021, 09:09 (GMT) |
Fix T93757: Do not force-instantiate indrectly linked objects in linking case. |
Revision bb4de77 by Bastien Montagne December 21, 2021, 08:52 (GMT) |
Fix T93839: Copy/Paste of empty instantiating a collection. Do not also instantiate a collection in the view layer, if it is already instantiated through an empty object. |
Revision c0f06ba by Hans Goudey December 21, 2021, 04:48 (GMT) |
Fix build error in debug builds from recent commit r7acd3ad7d8e58b913c5 converted a pointer to a reference, but an assert still compares the variable to a pointer. |
Revision e4de5b4 by Richard Antalik December 21, 2021, 04:27 (GMT) |
Fix T94280: Crash when splitting meta strip This happens because in `SEQ_time_update_sequence` function `SEQ_get_meta_by_seqbase` returns uninitialized value. This isn't nice, but it shouldn't happen in first place. Problem is, that `SEQ_edit_strip_split` does move strips into detached `ListBase`, so other functions can't see them anymore. Detached `ListBase` is used solely to preserve relationships during duplication. Move strips to original `ListBase` immediately after duplication and return `NULL` if `SEQ_get_meta_by_seqbase` can't find meta strip. Splitting itself can still rely on fact, that number of original and duplicated strips is same and they are placed next to each other in exactly same order at the end of original `ListBase`. |
Revision 5457b66 by Hans Goudey December 21, 2021, 00:10 (GMT) |
Cleanup: Use span instead of raw pointer This is a followup to the previous commit. |
Revision 7acd3ad by Hans Goudey December 21, 2021, 00:03 (GMT) |
Cleanup: Use simpler loops in weld modifier In this commit I changed many loops to range-based for loops. I also removed some of the redundant iterator variables, using indexing inside the loop instead. Generally an optimizing compiler should have no problem doing the smartest thing in that situation, and this way makes it much easier to tell where data is coming from. I only changed the loops I was confident about, so there is still more that could be done in the future. Differential Revision: https://developer.blender.org/D13637 |
Revision 5922147 by Philipp Oeser December 20, 2021, 20:52 (GMT) |
Fix T94262: Grease Pencil Blur Effect DoF mode wrong This was visible outside of camera view and was not respecting the "Depth of Field" checkbox on the Camera properties. Now return early if DoF should not be visible. Maniphest Tasks: T94262 Differential Revision: https://developer.blender.org/D13631 |
Revision 399f84d by Joseph Eagar December 20, 2021, 19:30 (GMT) |
Run clang-format |
Revision d93dd85 by Joseph Eagar December 20, 2021, 19:20 (GMT) |
Sculpt: split sculpt.c into three files Sculpt.c is now three files: * Sculpt.c: main API methods and the brush stroke operator * Sculpt_brushes.c: Code for individual brushes. * Sculpt_ops.c: Sculpt operators other than the brush stroke operator. TODO: split brush stroke operator into a new file (sculpt_stroke.c?). |
December 20, 2021, 19:08 (GMT) |
Fix T94144: Duplicate edges in dual mesh node The duplicated edges were caused by 'oversubdivided' edges, i.e. edges where some of the vertices on them are only connected to two polygons. The fix finds these vertices and 'dissolves' them so that only one edge is created. For most 'normal' meshes this shouldn't occurr, or only very little, so the performance impact of this change should be neglegible. In practice this is also avoidable by triangulating the mesh first. Differential Revision: https://developer.blender.org/D13445 |
Revision bdb5852 by Hans Goudey December 20, 2021, 18:46 (GMT) |
Cleanup: Remove mesh valid assertions in debug builds These are useful for development, but when the primitive nodes aren't actively changing, the performance cost is not worth it. |
December 20, 2021, 18:43 (GMT) |
Fix: Incorrect assert conditions in NURBSpline This fix provides better conditions for asserts in `NURBSpline::knots` method accounting for cyclic NURBS curves. Differential Revision: https://developer.blender.org/D13620 |
Revision 76cb11e by Hans Goudey December 20, 2021, 17:03 (GMT) |
Cleanup: Remove unused node type flag This flag was checked, but not set anywhere. |
Revision 82fa2bd by Hans Goudey December 20, 2021, 16:48 (GMT) |
Cleanup: Comment formatting in node.cc Also remove a SCOPED_TIMER I added by mistake in a previous commit. |
Revision cb96435 by Hans Goudey December 20, 2021, 16:34 (GMT) |
Geometry Nodes: Parallelize mesh grid primitive On a Ryzen 3700x, this ended up 2.5x faster than before. More benchmarking details are included in the differential revision. For smaller grids, all this should do is increase the code size a bit, and add a few more if statements. Differential Revision: https://developer.blender.org/D13617 |
Revision 1d25ba1 by Hans Goudey December 20, 2021, 15:57 (GMT) |
Cleanup: Remove unused arguments |
Revision 6c33a0f by Bastien Montagne December 20, 2021, 15:17 (GMT) |
Update our USD 21.02 patch to support gcc-11 There are two issues in USD code that break building it with gcc-11, one (in `demangle.cpp`) was already fixed upstream, the other (in `singularTask.h`) is still pending (reported upstream, see https://github.com/PixarAnimationStudios/USD/issues/1721). CC #platforms_builds_tests_devices project. |
|