Blender Git Commits

Blender Git "master" branch commits.

Page: 121 / 5574

October 4, 2021, 19:57 (GMT)
Cleanup: Use LISTBASE_FOREACH macro

Revision c8d59b6 by Gaia Clary
October 4, 2021, 19:23 (GMT)
Make keyframe inserts/removals less verbose when called from python.

Following operators now only report messages back when they are called via their invoke-methods:

- ANIM_OT_keyframe_insert
- ANIM_OT_keyframe_insert_by_name
- ANIM_OT_keyframe_insert_menu
- ANIM_OT_keyframe_delete
- ANIM_OT_keyframe_clear_v3d
- ANIM_OT_keyframe_delete_v3d

Also removed the attribute confirm_success from the following operators:

- ANIM_OT_keyframe_insert
- ANIM_OT_keyframe_insert_by_name
- ANIM_OT_keyframe_insert_menu
- ANIM_OT_keyframe_delete
- ANIM_OT_keyframe_delete_by_name

Note: addons/scripts possibly need to be updated if they use the above operators AND set the "confirm_success" attribute

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D12697
Revision 3391a2e by Julian Eisel
October 4, 2021, 18:24 (GMT)
Assets: Show all assets indirectly nested inside the active catalog

The asset catalog design was always that the active catalog would also
display all assets of its child catalogs (or grand-childs, etc.). This
is one of the main characteristics that differentiates catalogs from
usual directories.

Sybren prepared this on the asset catalog backend side with
56ce51d1f75a. This integrates it into the Asset Browser backend and the
UI.
Revision ffa20de by Hans Goudey
October 4, 2021, 18:03 (GMT)
Cleanup: Remove unused variable and include
October 4, 2021, 17:47 (GMT)
Fix: Geometry Nodes Handle Type Selection Fix

Fix the selection logic on the Handle Type Selection node to work
as intended:

(Left is Selected AND Left is ChosenType)
OR
(Right is Selected AND Right is ChosenType)
October 4, 2021, 17:01 (GMT)
Geometry Nodes: Curve Trim Node Update

This update allows the Trim Curve node to use float field inputs
for the start and end inputs. These fields are evaluated on the
spline domain.

Differential Revision: https://developer.blender.org/D12744
Revision 301ee97 by Hans Goudey
October 4, 2021, 16:10 (GMT)
Fix: Unable to select left and right in set handle type node

The "enum" RNA flag was missing.
October 4, 2021, 15:08 (GMT)
GPencil: Simplify code removing extra function

The function was not doing anything and only was calling another function.
Revision 2b6f207 by Julian Eisel
October 4, 2021, 15:03 (GMT)
UI Tree-View API: Enforce active item to be un-collapsed

Makes sure that the active item of a tree never has collapsed parent
items, which can be confusing if it happens. E.g. for the asset catalogs
UI, the active catalog decides which assets are visible. Having it
hidden while being the main factor deciding which assets are visible is
quite confusing.

I think it makes sense to have this at the UI Tree-View level, rather
than doing it manually in the asset catalog code for example. Seems like
something you'd commonly want. We can make it optional in the API if
needed.

Renamed the `set_active()` function to make clear that it is more than a
mere setter.
October 4, 2021, 14:43 (GMT)
GPencil: Remove unused flag

This flag was used in older versions, but now is not used anymore.
October 4, 2021, 14:35 (GMT)
Nodes: Revert some socket declarations to previos API

See T91826, there is a bug in the code where both `.` and `_` are used as a seperator for `BLI_uniquename_cb`.

This resulted in some nodes becoming disconnected on file load.
Until this is resolved, the chnages are reverted to prevent data loss.
Revision 4a34640 by Julian Eisel
October 4, 2021, 14:17 (GMT)
Assets: Support dragging assets on "Unassigned" catalog

Dragging assets onto the "Unassigned" catalog tree item will effectively
move the assets out of any catalog. Technically this means unsetting the
Catalog-ID stored in the asset metadata, or more precisely setting the
UUID to be all zeros.
Revision 4882208 by Julian Eisel
October 4, 2021, 13:29 (GMT)
Cleanup: Separate interface & implementation for asset catalog tree-view

Should make the code a bit more organized and help getting an overview
of the interfaces more quickly.
Revision b536605 by Julian Eisel
October 4, 2021, 13:29 (GMT)
Cleanup: Use static function for asset catalog tree-view helper
October 4, 2021, 13:25 (GMT)
Fix T91823: Regression not showing idblocks when recursion is set to `Blend file`

Introduced by fc7beac8d6f4. During code review it wasn't clear why this
branch was needed, so we removed it. Now it is clear why it is needed
so we added it back and added a comment why the branch is needed.

Patch provided by @Severin.
October 4, 2021, 13:07 (GMT)
Fix T91861: Black environment behind shadow catcher

Always sample background pass behind shadow catcher (if the pass
exists, of course), regardless of whether shadow catcher will be
used as approximate or accurate.

Allows to combine accurate shadows into an environment map.

Differential Revision: https://developer.blender.org/D12747
October 4, 2021, 11:58 (GMT)
Fix T91911: error in image dithering code after recent changes

Thanks to Patrik Olsson for spotting this.
October 4, 2021, 11:58 (GMT)
Fix Cycles render time pass being available in UI, but it was removed

This previously only work for CPU rendering, and isn't that practical to get
working in the new architecture.
October 4, 2021, 11:58 (GMT)
Fix T90815: wrong Cycles OSL normal map render after recent optimization
October 4, 2021, 11:58 (GMT)
Fix T89759: baking normals does not take into account mirror modifier
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021