Blender Git Commit Log

All Blender Git commits.

Page: 1794 / 8462

March 9, 2020, 18:14 (GMT)
Cleanup: Move Face Sets random color generation to its own function

This way we can change the color generation easily if we want to improve
it in the future. I also added more values to randomize a little bit the
saturation and value of the colors, as previously it was too easy to get
similar colors when creating new faces, forcing you to use the randomize
colors more than necessary.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D7042
March 9, 2020, 18:11 (GMT)
Merge branch 'master' into uuid-undo-experiments
March 9, 2020, 18:09 (GMT)
Fix T74438: Vertex-only meshes disappear in wireframe mode

The problem happens because, in wireframe mode, `bool use_wire` is
always `true`, so the function that draws all edges is the called.

The solution is set `use_wire` as `false` when the mesh has no edges.

This matches the behavior of blender 2.79.

Reviewed By: fclem, brecht

Differential Revision: https://developer.blender.org/D7041
March 9, 2020, 17:58 (GMT)
Cleanup: Avoid macros, don't print source location for errors
Revision a468368 by Adrian Newton / Brecht Van Lommel (master)
March 9, 2020, 17:49 (GMT)
UI: use pixel units for tile sizes and node auto-offset margin

Differential Revision: https://developer.blender.org/D7077
March 9, 2020, 17:47 (GMT)
Cleanup: Address various review comments
March 9, 2020, 17:43 (GMT)
Cleanup: Move `BKE_animdata_free()` call out of each IDType free data.

This has been long standing TODO...

Note that remaining usages of BKE_xxx_delete should all be carefully
checked for and utilmately nuked in favor of `BKE_id_delete()`, think we
still have quiet a few bugs hidden in those (code seems to usually
assume those functions do a full ID deletion, which is not the case).
March 9, 2020, 17:43 (GMT)
Cleanup: Remove unused switch/case from BKE_lib_id.

Only covers direct usages of new callbacks from IDTypeInfo.

We still have a lot of those switch/case, many can probably go away
with minimal refactor now, but that will be for later.
March 9, 2020, 17:37 (GMT)
Add comments to C-API function declarations
March 9, 2020, 17:27 (GMT)
Alembic: constraint for transform animation is using world matrix again

In rB7c5a44c71f13 I changed the way transform matrices are loaded from
Alembic. Instead of having the Alembic importer convert matrices from
local (in the Alembic file) to World (to pass to the constraint handling
the animation of transforms), I set the constraint space to
`CONSTRAINT_SPACE_LOCAL`.

This worked thanks to rB7728bfd4c45c. However, that commit was reverted,
which meant that for parentless objects `CONSTRAINT_SPACE_LOCAL` no
longer means "local space".

The situation is resolved by setting the constraint to world space
again, and computing the world matrix in the Alembic importer.
March 9, 2020, 17:09 (GMT)
Cleanup: palette: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 17:09 (GMT)
Cleanup: GreasePencil: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 17:09 (GMT)
Cleanup: Ipo: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 17:02 (GMT)
Fix failing assert because of invalid region coordinates

Steps to reproduce were:
* Disable tool settings region in 3D View (View > Tool Settings)
* Split the 3D View and drag all the way down

The removed code doesn't seem to be needed anymore. Tested this on hiDPI
too, seems fine.

These kind of fixes are always tricky, so I wouldn't be surprised if
there are any issues caused by this.
March 9, 2020, 16:42 (GMT)
Fix T72253: Mantaflow adaptive domain cuts off

The issue of T72253 was that the density threshold (RNA adapt_threshold) was considering cells as empty cells too early and thus also shrinking the domain too early. The fix for this is to use smaller threshold values for the adaptive domain. This fix gives more flexibility in the UI to do just that.
March 9, 2020, 16:11 (GMT)
UI: avoid blurring of view navigation widgets at some UI scales

Differential Revision: https://developer.blender.org/D6734
March 9, 2020, 16:11 (GMT)
Fix unnecessary grease pencil drawing when there are no grease pencil objects

Differential Revision: https://developer.blender.org/D6551
March 9, 2020, 16:11 (GMT)
UI: improve layout of keymap preferences, more consistent with other areas

Differential Revision: https://developer.blender.org/D6592
March 9, 2020, 16:11 (GMT)
Python API: allow overriding context.workspace for workspace operators

Differential Revision: https://developer.blender.org/D6867
March 9, 2020, 16:11 (GMT)
UI: input preferences layout tweaks for keymap search and zoom settings

Differential Revision: https://developer.blender.org/D6979
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021