Blender Git Commit Log

All Blender Git commits.

Page: 1459 / 8462

July 17, 2020, 14:11 (GMT)
Fluid: Numpy support for Mantaflow build system

Adjusted the fluid build system so that plugins that depend on numpy can be compiled as well.

Note that in this commit numpy support is still disabled. It can be enabled by re-running the Mantaflow update script with USE_NUMPY=1 and enabling WITH_MANTA_NUMPY in extern/mantaflow/CMakeLists.txt. This will happen in a future commit.
July 17, 2020, 13:58 (GMT)
Fluid: Cleanup build system for extern mantaflow

No longer including unused dependencies. Should numpy IO be needed at some point, the Manta source update script can be configured so that the required dependencies are included again.
July 17, 2020, 12:23 (GMT)
Refactor: move ParticleFunction to separate file
July 17, 2020, 12:17 (GMT)
Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curve
July 17, 2020, 12:17 (GMT)
GPencil: Draw edit lines under curve handles
July 17, 2020, 12:16 (GMT)
GPencil: Convert to curve with click select
July 17, 2020, 12:15 (GMT)
Cleanup: avoid static initialization order issues when accessing CPPTypes

Instead of depending on static initialization order of globals use
static variables within functions. Those are initialized on first use.
This is every so slighly less efficient, but avoids a full class of problems.
July 17, 2020, 11:49 (GMT)
Simulation: move initial simulation code from bf_blenkernel to bf_simulation

I removed bf_blenkernel from `nodes/CMakeLists.txt` again (added it yesterday),
because now this was causing me unresolved symbol errors... Without it, cmake
seems to link the libraries bf_simulation, bf_blenkernel and bf_nodes in the right
order. Not sure if that is just luck or if it is guaranteed.

It was possible to fix the issue by using cmakes `LINK_INTERFACE_MULTIPLICITY`,
but that is probably bad style.
July 17, 2020, 11:47 (GMT)
Fix T77867: Link Duplicate Object crashes during batch creation

When using link duplicated objects it could happen that one object is
calculating the GPUBuffers and the second object is marking these
buffers invalid. This introduces threading issues.

This patch fixes this by combining the surface and surface per material
batches. Most likely the surface per material batches are used and when
requested you will most likely need the surface batch for the depth
tests and overlays.

During tests it slightly improves performance as batches aren't thrown
away without using it.

After this patch we can add a quick path for meshes with one material
and two materials.

Alternative approaches that have been checked:
- sync extraction per object: reduced performance to much (-15%)
({D8292})
- post checks: reduced the threading issues, but didn't solve it.
- separating preparation and execution of the extraction ({D8312})

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8329
Revision bf2bb6d by Ankit Meel (master)
July 17, 2020, 11:42 (GMT)
Cleanup: silence unused variable warning

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D8328
July 17, 2020, 11:36 (GMT)
GPencil: Recalculate curve when entering editmode
July 17, 2020, 10:38 (GMT)
BLI: add StringRefNull.c_str() method

This should be used whenever you rely on the fact, that the
returned pointer points to the beginning of a null-terminated array.
July 17, 2020, 10:36 (GMT)
Simulation: use better api for adding and removing simulation states
July 17, 2020, 09:49 (GMT)
Cleanup: avoid warning about redundant access specifier

No functional changes.
July 17, 2020, 09:36 (GMT)
Nodes: move some code from blenkernel directory to nodes

This also introduces the `blender::nodes` namespace. Eventually,
we want to move most/all of the node implementation files into
this namespace.

The reason for this file-move is that the code fits much better
into the `nodes` directory than in the `blenkernel` directory.
July 17, 2020, 08:32 (GMT)
Fluid: Added cell filtering options for range highlighting
July 17, 2020, 07:39 (GMT)
Cleanup: consistent ordering for scene argument to UV functions
July 17, 2020, 07:39 (GMT)
Cleanup: remove f-string use in favor of percentage for formatting
July 17, 2020, 07:37 (GMT)
Fix vertex selection error from recent refactor

Temporary fix for regression in 8084b7e6e273e.
July 17, 2020, 06:31 (GMT)
Cleanup: extract draw cache sanity checks to own function
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021