Blender Git Commits

Blender Git "master" branch commits.

Page: 877 / 5574

March 6, 2020, 16:26 (GMT)
Cleanup: tweak Freestyle #includes in preparation for clang-format sorting
March 6, 2020, 16:26 (GMT)
Cleanup: Fix forward declaration of headers
Revision b2ee177 by Julian Eisel
March 6, 2020, 16:19 (GMT)
Cleanup: Rename ARegion variables from ar to region

The old convention was easy to confuse with ScrArea.
Part of https://developer.blender.org/T74432.

This is mostly a batch rename with some manual fixing. Only single word
variable names are changed, no prefixed/suffixed names.

Brecht van Lommel and Campbell Barton both gave me a green light for
this convention change.

Also ran clan clang format on affected files.
March 6, 2020, 16:13 (GMT)
Cleanup: Image: Move to IDTypeInfo and remove unused BKE API.
March 6, 2020, 16:13 (GMT)
Cleanup: Texture: Move to IDTypeInfo and remove unused BKE API.
March 6, 2020, 16:13 (GMT)
Cleanup: Material: Move to IDTypeInfo and remove unused BKE API.
March 6, 2020, 15:49 (GMT)
Fix build error on windows

```
Error C4013 '_VA_ELEM1' undefined; assuming extern returning int
```
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.
Revision 14d03af by Julian Eisel
March 6, 2020, 15:41 (GMT)
Bring back code accidentally removed by previous commit

Probably got lost when resolving merge conflicts.
Revision d5572ea by Julian Eisel
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: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
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021