Blender Git Commit Log

All Blender Git commits.

Page: 1802 / 8462

March 6, 2020, 15:43 (GMT)
Cleanup: Action: Move to IDTypeInfo, and remove unused BKE API.
March 6, 2020, 15:43 (GMT)
Cleanup: Armature: Move to IDTypeInfo, and remove unused BKE API.
March 6, 2020, 15:41 (GMT)
Bring back code accidentally removed by previous commit

Probably got lost when resolving merge conflicts.
March 6, 2020, 15:27 (GMT)
Cleanup: Reduce context usage in UI functions

Part of https://developer.blender.org/T74429.

There's a chance that this causes some issues becaue in some cases we
change from getting the window from context to getting it from somewhere
else.
March 6, 2020, 15:23 (GMT)
Cleanup: Lattice: Move to IDTypeInfo and remove unused BKE API.
March 6, 2020, 15:23 (GMT)
Cleanup: MetaBall: Move to IDTypeInfo and remove unused BKE API.
March 6, 2020, 15:23 (GMT)
Cleanup: Curve: Move to IDTypeInfo and remove unused BKE API.
March 6, 2020, 15:23 (GMT)
Cleanup: Mesh: Move to IDTypeInfo and remove unused BKE API.
March 6, 2020, 15:19 (GMT)
Cleanup: move Alembic, AVI, Collada, and USD to `source/blender/io`

This moves the `alembic`, `avi`, `collada`, and `usd` modules into a common
`io` directory.

This also cleans up some `#include "../../{somedir}/{somefile}.h"` by
adding `../../io/{somedir}` to `CMakeLists.txt` and then just using
`#include "{somefile}.h"`.

No functional changes.
March 6, 2020, 15:19 (GMT)
Depsgraph: remove unused no-op nodes after building

This is the companion of D7031. That patch adds a new DIMENSIONS node to
the depsgraph for each object that has geometry. However, this node is
only necessary when there are drivers using an object's dimensions as
variable. Since this is rare, it's easiest to remove these nodes after
they turn out to be unnecessary. This is what (almost) happens in this
patch.

Removing nodes from the depsgraph is hard, and there are no functions to
do this yet. Instead, this patch recursively removes all the incoming
relations from unused no-op nodes (i.e. no-op operation nodes without
outgoing connections). Actually removing the nodes will be left as a
future improvement.

I've tested this on a Spring file [1]. Here are there results of blender
--debug-depsgraph-time spring_02_055_A.eevee.blend and letting it run
for a while to stabilise the reported FPS:

master: 11.7 FPS
Just D7031: 11.7 FPS
Just D7033: 11.8 FPS
Both D7031 + D7033: 12.3 FPS

[1] https://cloud.blender.org/p/spring/5d30a1076249366fa1939cf1

Differential Revision: https://developer.blender.org/D7033
March 6, 2020, 15:10 (GMT)
GPencil: Cleanup alloc memory name

March 6, 2020, 15:00 (GMT)
Cleanup: Move Multiplane Scrape brush to its own file
March 6, 2020, 14:56 (GMT)
Fix narrowing from int to short when removing material slot
March 6, 2020, 14:52 (GMT)
Sculpt: Cleanup, remove macro re-definition
March 6, 2020, 14:37 (GMT)
Fix Windows build error with DNA defaults and C++
March 6, 2020, 14:35 (GMT)
Fix integer overflow in BLI_mempool_as_arrayN()

`(size_t)(int * int)` will actually cast overflown integer to size_t,
which isn't what was intended here. Correct thing would be to cast
in the following manner `(size_t)int * int`.

In this particular case can as well use function which is designed to
allocate an array of memory without overflow.
March 6, 2020, 14:27 (GMT)
Cycles: cleanup warning
March 6, 2020, 14:27 (GMT)
Cleanup: Collection: Move to IDTypeInfo, and remove unused BKE API.

Note: we still need BKE_collection_free since we call it from scene.c.
March 6, 2020, 14:24 (GMT)
Cleanup: Use the SCULPT_ prefix in all sculpt_intern functions
March 6, 2020, 14:20 (GMT)
Cleanup: move hair, pointcloud, volume to IDTypeInfo
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021