Blender Git Commits

Blender Git commits from all branches.

Page: 712 / 2888

September 3, 2020, 10:37 (GMT)
Minor fixes, clang-tidy warnings.
September 3, 2020, 09:52 (GMT)
Merge branch 'master' into soc-2020-fluid-tools
September 3, 2020, 09:00 (GMT)
Revert renaming mesh_utils to utils.

No functional change.
September 3, 2020, 06:22 (GMT)
Merge branch 'master' into greasepencil-edit-curve
September 3, 2020, 06:21 (GMT)
Merge branch 'master' into greasepencil-object
September 2, 2020, 19:31 (GMT)
Add versioning for graph editor FModifier panel expansion
September 2, 2020, 19:31 (GMT)
Merge branch 'master' into fcurve-modifier-panels
September 2, 2020, 18:40 (GMT)
Fix importing multiple material for one object.

Also add sphere type reflection to Metallic socket.

Remove double inline warnings, and also trust compiler to inline
what it deems fit.
September 2, 2020, 18:17 (GMT)
Cleanup: comments and rna warning.
Revision ca0d4d9 by Hans Goudey (property-search-ui-v2)
September 2, 2020, 16:15 (GMT)
Merge branch 'master' into property-search-ui-v2
September 2, 2020, 14:39 (GMT)
UI: Keep track of button's relationship with label buttons

This is needed for property search where we want to highlight a button's label if it matches the search
filter. Otherwise the button itself is highlighted but it has no idea what label to highlight.

This is especially important because of the use of property split layouts where the label is almost
always outside of the button in a separate column.

The additional logic in the layout code isn't ideal, but I think this is generally a good thing to keep track of.
For example, another use for this could be adding a highlight to a buttons label on mouseover.

Differential Revision: https://developer.blender.org/D8783
September 2, 2020, 13:03 (GMT)
Fix T80159: Custom Normals Averaging crash after clearing
custom split normals data

Clearing custom split normals would get rid of the CD_CUSTOMLOOPNORMAL
layer - but editing data `lnor_spacearr` would be kept.

Adding a CD_CUSTOMLOOPNORMAL layer (if none exists yet) should be done
in `edbm_average_normals_exec` / `BKE_editmesh_lnorspace_update` /
`BM_lnorspace_update` / `BM_lnorspacearr_store`. The thing is that if
the editing data `lnor_spacearr` would still be valid after `Clear
Custom Split Normals Data`, blender would happily call
`BM_lnorspace_rebuild` instead. Doing that without a CD_CUSTOMLOOPNORMAL
layer is asking for trouble.

Now clear lnor_spacearr on `Clear Custom Split Normals Data` as well.

Thx @mont29 for feedback here.

Maniphest Tasks: T80159

Differential Revision: https://developer.blender.org/D8730
September 2, 2020, 13:00 (GMT)
Fix crash accessing image space properties without an active window
September 2, 2020, 12:58 (GMT)
Fix T77900: File Browser in macOS fullscreen crashes

When Blender is started in fullscreen mode from the command line,
or if the fullscreen state is saved in the startup file, all temporary windows
will also open in fullscreen mode. When closing the fullscreen File Browser,
Blender would either crash or parent window becomes black.

This does not happen if the Blender switches to full screen manually.

`NSWindowCollectionBehaviorFullScreenPrimary` should be set for windows that
can enter full-screen mode. Otherwise macOS will turn the wrong window into
full-screen.

Similar fix: rB4b39de677d20

Differential Revision: https://developer.blender.org/D8708

Reviewed by: Julian Eisel
September 2, 2020, 12:57 (GMT)
Fix Outliner allowing to enter Pose Mode on linked armature

If a different object was active, clicking on a linked armature's pose
in the Outliner would enter Pose Mode for it.
This would actually cause a failed assert, but in release builds the
armature would just enter pose mode.

Steps to reproduce were:
* Link in armature object
* Activate a different object
* In the Outliner, un-collapse the armature object
* Activate Pose Mode by clicking on its pose there
September 2, 2020, 12:56 (GMT)
Fix T80104: Crash on making material local.

Problem is again with the embedded data, we want to make those local
together with their owner ID, but sometimes we are actually dealing with
copies here, which are inheritently already local.

Code did not considered that possibility before, leading to access to a
NULL `lib` pointer.

This should also be back-ported to 2.83 LTS release.

Maniphest Tasks: T80104

Differential Revision: https://developer.blender.org/D8731
September 2, 2020, 12:54 (GMT)
Fix T80078: Overrides: Crash with animated IK control on linked armature.

Issue was with our dear posebones again... when applying overrides we
keep the same address/pointer for the IDs themselves, (which avoids us
the need to remap their usages), but their inner data is often
re-allocated.

Therefore, we need once again to go over armature objects and invalidate
their posebone pointers.

This should also be back-ported to Blender LTS 2.83.

Maniphest Tasks: T80078

Differential Revision: https://developer.blender.org/D8734
September 2, 2020, 12:53 (GMT)
Add undo step to Alembic and Collada importers...

Re T77754.
September 2, 2020, 12:53 (GMT)
Fix T80135: Duplicate doesn't preserve active spline

Checks to preserve the active spline on duplication
required an active vertex too.

Now having no active vertex doesn't prevent duplicate
from keeping the spline active.

Reviewed by: @mano-wii

Ref D8729
September 2, 2020, 09:00 (GMT)
Fix build errors on MSVC.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021