Blender Git Commits

Blender Git "master" branch commits.

Page: 1073 / 5574

August 26, 2019, 14:03 (GMT)
Fix T69156: Blender crash when baking rigid body world.

Issue was exposed by recent own rB03bf84db86b commit, but was actually
present in RNA API for PointCaches since (probably) ages: whole accessor
code here was assuming that owner ID was an Object, when it is actually
a scene for RigidBody simulations...

Had also to make `BKE_ptcache_id_find()` and friends a bit more
flexible, now they also accept a NULL object pointer parameter...
August 26, 2019, 13:49 (GMT)
GPencil: Invert Paste operator and make Paste to Active default

Before there were two options: Paste to original layer called "Paste" and Paste to active layer called "Paste & Merge"

Now, by default the paste is in active layer and the "Paste & Merge" has been renamed "Paste".

For old "Paste", now is called "Paste by Layer" and it's not the default value anymore.

Note: Minor edits to add icons not present in Differential revision.

Differential Revision: https://developer.blender.org/D5591
August 26, 2019, 13:43 (GMT)
Fix T68826 Eevee: Multi-Mat not working if switching from Solid shading

The correct fix would be to avoid all those hacks but this is needed if
we want to be able to parallelize object vbo extractions.

This is the fixed version of the hack. The issue was that the ibo ranges
were saved before the batch were reset and the IBO was discarded, leading
to a read after free error. All previous reported crash were tested and
are now not reproductible.
August 26, 2019, 13:22 (GMT)
Cycles: Fix Architecture logging on x64.

x64 builds with WITH_CYCLES_OPTIMIZED_KERNEL_SSE2 not defined
since SSE2 is the lower bar for x64 cpus. Turning the architecture
logging related if into the last if in the architecture detection
chain, which will never execute unless you turn off all kernels
in de debug flags.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5579
August 26, 2019, 12:51 (GMT)
Fix T69146: Segment Fault using Undo for file with several scenes and script.

The specifc bug here came fro; some IDProperties ID pointer storing
references to workspaces.

But that was actually a main loophole in that 'unndoing data while
keeping same UI' process, as we never know who might store a pointer to
one of those datablocks that we want to keep the 'old' version off.

It might actually be ever more needed when we start undoing (changing)
only the IDs actually modified in an undo step...

Notes:
* While not ideal, I think we can afford an extra looping over the whole
Main DB here... Remapping process in itself is fairly cheap, thanks to
the hashes.
* This commit is considered rather risky (especially thanks to 'private'
IDs), think it should work fine for now, unless some IDPointers start
storing references to private IDs...

Once D5559 is in, we shall do another pass here, probably also forbids
assigning private IDs to IDProperties, etc.
August 26, 2019, 12:13 (GMT)
Cleanup: simplify perlin noise function definition

Ref D5363
August 26, 2019, 12:11 (GMT)
Cleanup: use saturate3() for float3 clamping

Ref D5363
August 26, 2019, 11:47 (GMT)
Cleanup: fix compiler warning
August 26, 2019, 09:27 (GMT)
Cleanp: fix compiler warnings
August 26, 2019, 08:26 (GMT)
Cycles: GPU code generation optimizations for direct lighting

Use a single loop to iterate over all lights, reducing divergence and amount
of code to generate. Moving ray intersection calls out of conditionals will
also help the Optix compiler.

Ref D5363
August 26, 2019, 08:26 (GMT)
Cycles: inline more functions on the GPU

This makes little difference for CUDA and OpenCL, but will be helpful
for Optix.
August 26, 2019, 08:26 (GMT)
Cycles: change svm node decoding for more efficient code generation on GPU

These functions no longer accept NULL. They were renamed for clarity and to
avoid hidden merge issues.

Ref D5363
August 26, 2019, 08:26 (GMT)
Cycles: remove workaround to pass ray by value

CUDA is working correct without it now, and it's more efficient not to do this.

Ref D5363
August 26, 2019, 08:26 (GMT)
Cycles: tweaks for better GPU code generation

Uninitialized variables are harder to handle for the compiler.

Ref D5363
August 26, 2019, 08:10 (GMT)
Cycles: fixes for building kernel without certain features

Ref D5363
August 26, 2019, 08:10 (GMT)
Cleanup: fix use of wrong constant

Ref D5363
August 26, 2019, 08:10 (GMT)
Cleanup: fix compiler warning
August 26, 2019, 08:10 (GMT)
Fix render test Python error on crashes
August 26, 2019, 07:12 (GMT)
Gizmo: match the DOF gizmo size with the non-gizmo indicator
August 26, 2019, 07:04 (GMT)
Fix T69153: Camera DOF gizmo fails

Regression from bc3139d792268
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021