Blender Git Commit Log

All Blender Git commits.

Page: 765 / 8462

April 1, 2021, 15:32 (GMT)
Support custom context menu entries for UI-lists, e.g. for pose assets

Makes it possible to add custom entries to the context menu of UI List items, by doing the following:
`bpy.types.UI_MT_list_item_context_menu.prepend(some_draw_function)`/`append(...)`.

The given draw function must check if the list is of the correct type. For that
to work I made it possible to get the hovered UI List using `context.ui_list`
and the list-ID via `ui_list.list_id`.
April 1, 2021, 15:15 (GMT)
Cleanup: Remove unused enum value in editmesh_knife.c
April 1, 2021, 15:12 (GMT)
Fix compilation error: "too many arguments to function"

Seem on linux.

Caused by rB6ec463a4b754bf69baf94ba6b3683655f6834ccd
April 1, 2021, 14:22 (GMT)
Compositor: Only schedule needed chunks.
April 1, 2021, 14:20 (GMT)
Cleanup/Refactor: Transform Orientation: Use 'orient_index' instead 'orient_type'

`orient_index` is a more comprehensive value as it reveals both the type and index.

Differential Revision: https://developer.blender.org/D9595
April 1, 2021, 13:59 (GMT)
Fix T87065: Deformed Lattice undeforms after setting keyframe

Handle Lattice object the same way as Mesh objects. This is mostly to
execute the `object->data = data_eval;` line, which ensures that the
evaluated mesh is assigned to the evaluated object, and thus prevents
the lattice from un-deforming.
April 1, 2021, 13:59 (GMT)
Cleanup: typo fix in comment

No functional changes.
April 1, 2021, 13:55 (GMT)
BLI: rename resource collector to resource scope

Differential Revision: https://developer.blender.org/D10857
April 1, 2021, 13:54 (GMT)
Curve: Remove 'CU_2D' flag used for nurbs

This fixes T86440

As the CU_2D flag is set for nurbs, a Curve can have 2D nurbs mixed with 3D.

But the UI does not allow this mixing. It updates all nurbs to 2D or 3D when set.

So remove this specific flag for nurbs.

This may break old files, since 2D curves with mixed 3D are now set as 3D.

Differential Revision: https://developer.blender.org/D10738
April 1, 2021, 13:45 (GMT)
Cleanup: use bool instead of int
Revision 6be964e by Hans Goudey (master)
April 1, 2021, 13:42 (GMT)
Cleanup: Remove unused code

There was a note about reusing this for "texture nodes", but that will
probably not be implemented in this way anyway.
April 1, 2021, 13:29 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type
April 1, 2021, 13:14 (GMT)
Cleanup: move node_exec.c to c++

Doing this, because it might make it easier to replace the implementation
of `bNodeInstanceHash`.
April 1, 2021, 13:05 (GMT)
Compositor: Scheduling.
April 1, 2021, 13:04 (GMT)
Cycles: Count possibly rejected camera rays as samples
April 1, 2021, 13:04 (GMT)
Cycles: Multi-thread adaptive sampling filter on CPU
April 1, 2021, 13:04 (GMT)
Cycles: Make threading accessors reusable in PathTraceWorkCPU

Allows to reuse arena creation and kernel globals access between
various tasks such as path tracing, display buffer update, and
filtering.

This change also makes it so the display buffer update respects
the device threads limit.
April 1, 2021, 13:04 (GMT)
Cycles: Ensure none of adaptive filtering samples are "missed"

Force scheduled number of samples to path trace to not go past
any of sample at which filtering is needed.

On a very simple scenes this will harm occupancy of the device,
but it will ensure that adaptive sampling gives perfectly matched
results regardless of how fast the device is.
April 1, 2021, 13:04 (GMT)
Cycles: Make RenderScheduler more readable

- Improve terminology, sticking to the one used in other code.
- More comments and examples.
- Split logic into smaller utility functions.
April 1, 2021, 13:04 (GMT)
Cycles: Implement adaptive sampling filter for CPU

Lacking multi-threading, but it will come.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021