Blender Git Commit Log

All Blender Git commits.

Page: 1235 / 8462

October 2, 2020, 01:59 (GMT)
Cleanup: use raw-strings for regex in console completion
October 2, 2020, 01:59 (GMT)
Cleanup: pep8 (indentation, spacing, long lines)
October 2, 2020, 01:59 (GMT)
Cleanup: pep8, blank lines
October 2, 2020, 01:59 (GMT)
Cleanup: trailing space
October 2, 2020, 01:58 (GMT)
Cleanup: compiler warnings
October 1, 2020, 21:21 (GMT)
Cycles: add time statistics to scene update

Gathers information for time spent in the various managers or object (Film, Camera, etc.) being updated in Scene::device_update.

The stats include the total time spent in the device_update methods as well as time spent in subroutines (e.g. bvh build, displacement, etc.).

This does not qualify as a full blown profiler, but is useful to identify potential bottleneck areas.

The stats can be enabled and printed by passing `--cycles-print-stats` on the command line to Cycles, or `-- --cycles-print-stats` to Blender.

Reviewed By: brecht

Maniphest Tasks: T79174

Differential Revision: https://developer.blender.org/D8596
October 1, 2020, 18:47 (GMT)
Fix warnings in cloth brush int casts

Use POINTER_AS_INT instead

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D9083
Revision c3238bd by Hans Goudey (master)
October 1, 2020, 17:56 (GMT)
Cleanup: Use DNA defaults for cloth modifier

Followup for rB8398050695
This requires moving a few enum definitions to DNA instead of BKE, and
adding default definitions for the two structs the cloth modifier where
the cloth modifier stores its settings. The defaults are also reordered
to be consistent with the order of each item in the struct.
Revision 4c0ef4f by Hans Goudey (master)
October 1, 2020, 17:45 (GMT)
Cleanup: Clang tidy fixes

Fix a redundant return statement at the end of void function and
an inconsistent declaration parameter names.
October 1, 2020, 17:24 (GMT)
Fix T80873: Grab active vertex preview not working with shape keys

When a Shape Key is active, use the PBVH deformed coordinates for the
preview.

Reviewed By: sergey

Maniphest Tasks: T80873

Differential Revision: https://developer.blender.org/D8921
October 1, 2020, 17:18 (GMT)
Fix T81268: Crash when undo from Sculpt Mode to Edit Mode

This was introduced in 6c9ec1c893f9. The overlays can now be drawn when
PBVH drawing is not enabled, but the PBVH should still exist in the
SculptSession in order to draw them. Before, it was avoiding the crash
by checking use_pbvh as BKE_sculptsession_use_pbvh_draw also checks if
the PBVH exists.

Reviewed By: sergey

Maniphest Tasks: T81268

Differential Revision: https://developer.blender.org/D9044
October 1, 2020, 17:13 (GMT)
Paint: Ignore inbetween events for anchored strokes

When using anchored strokes, inbetween events are not needed since there
is no stroke path to be reconstructed. Handling the inbewteen events are
only producing unnecessary updates, creating performance issues.

Reviewed By: sergey, brecht

Differential Revision: https://developer.blender.org/D9053
October 1, 2020, 17:11 (GMT)
Sculpt: Cloth Simulation Dynamic area mode

This simulation area mode moves the active area with the brush. When
enabled, the cloth brush has no restrictions on stroke length, area or
mesh vertex count.

In order to work, this enables PBVH nodes dynamically for simulation as
the stroke location moves and builds the constraints for new nodes
during the stroke. When a node is not inside the simulated area, all the
constraints that were created for it and vertex collisions are not
computed. The simulation limits falloff areas and constraints tweaking
control how the simulated and no simulated nodes blend.

Reviewed By: sergey, zeddb

Differential Revision: https://developer.blender.org/D8726
October 1, 2020, 17:04 (GMT)
Smaller UI tweaks for repository selection

* Rename "Local" to "Current File"
* Better separate built-in and custom repositories. Use columns with
headings "Custom" and "Built-in".
* Add separator before repository selector.
October 1, 2020, 16:38 (GMT)
Cleanup: typo in comment
October 1, 2020, 16:29 (GMT)
Support switching between custom repositories in the Asset Browser

Now the repository list in Asset Browers includes the custom
repositories. They can be selected and should load fine (making the
Browser show assets stored in the repository's .blend file).
Some sanity checks (e.g. test if the repository path is valid and points
to a .blend file) could be added still.
October 1, 2020, 16:19 (GMT)
Cycles: Fix broken 32 bit shift.

1ul << n will still be a 32 bit integer regardless
of the value of n, given the target here is 64 bits
the upper 32 bits will always be zero. Using 1ull
will yield the expected result.
October 1, 2020, 16:05 (GMT)
remove foreachObjectLink callback

This removes `foreachObjectLink` from `ModifierTypeInfo`, `GpencilModifierTypeInfo`
and `ShaderFxTypeInfo`. There is no need to have both, `foreachObjectLink` and `foreachIDLink`.
There is not code that actually depends on `foreachObjectLink`.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D9078
October 1, 2020, 15:59 (GMT)
Cleanup: remove trailing whitespace
October 1, 2020, 15:59 (GMT)
Volumes: support lower resolution in viewport

The adds a new option to simplify volumes in the viewport.
The setting can be found in the Simplify panel in the render properties.

Volume objects use OpenVDB grids, which are sparse. For rendering,
we have to convert sparse grids to dense grids (for now). Those require
significantly more memory. Therefore, it's often a good idea to reduce
the resolution of volumes in the viewport.

Reviewers: brecht

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

Ref T73201.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021