Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 604 / 5574

Revision b4a608c by Bastien Montagne
August 28, 2020, 13:09 (GMT)
Merge branch 'blender-v2.90-release' into master
August 28, 2020, 13:05 (GMT)
DNA: add pragma once to dna_type_offsets.h

Sometimes, this generated file is included more than once,
so it should have an include guard.
August 28, 2020, 12:55 (GMT)
Fix Rigidbody depsgraph passive and constraint transform relations.

We need to have transforms from passive objects if they are animated or
driven by parent relations. This is not immediately obvious as the
object transform matrix will still be available, it is just one frame
behind in some cases.

Fixed dependency cycles if there is a constraint between two rigid
bodies. Because bullet keeps track of its simulated bodies, we do not
need to supply objects transforms as bullet should already have them.

I need combine these two fixes because otherwise we will get depsgraph
warnings that nodes are missing that it expects to be there.

Reviewed By: Sergey, Jacques

Differential Revision: https://developer.blender.org/D8732
Revision df8a63b by Bastien Montagne
August 28, 2020, 12:53 (GMT)
Fix T80078: Overrides: Crash with animated IK control on linked armature.

Issue was with our dear posebones again... when applying overrides we
keep the same address/pointer for the IDs themselves, (which avoids us
the need to remap their usages), but their inner data is often
re-allocated.

Therefore, we need once again to go over armature objects and invalidate
their posebone pointers.

This should also be back-ported to Blender LTS 2.83.

Maniphest Tasks: T80078

Differential Revision: https://developer.blender.org/D8734
Revision 0852ecd by Jeroen Bakker
August 28, 2020, 12:47 (GMT)
DrawEngine: Shader Test Suite

A test case that compiles all the GLSL shaders for workbench, gpencil, overlay and some
of eevee. Compilation is still platform dependent, but when run on a test-farm
with different hardware we will be able to detect GLSL compilation
errors early on.

The test will be compiled when `WITH_GTEST` and `WITH_OPENGL_DRAW_TESTS`
are On.

For eevee only the shaders inside eevee_shaders.c are included. EEVEE has some shaders
located inside the submodule. They aren't accessible to the outside and aren't added
to the test case. We should see how we want to add them. For the test cases it is better
to move them to eevee_shaders.c, but for eevee perspective it is better to keep them in
the submodule. Keeping them in the submodule could lead to situations that is harder to test.
as the shader could already have been initialized.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8667
August 28, 2020, 12:41 (GMT)
Fix T80141: Fix Compiling Workbench Volume Shaders (Mesa 20.0.8)

Default mesa driver for ubuntu 20.04 fails when a name is defined twice.
M_PI is defined in both `common_workbench_lib` and `common_math_lib`. This patch
remove the define out of common_workbench_lib

For reference it fails on https://github.com/mesa3d/mesa/blob/mesa-20.0.8/src/compiler/glsl/glcpp/glcpp-parse.y#L1186
during the check if the macros are the same.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8741
August 28, 2020, 12:40 (GMT)
Fix T79920: Fix Compiling EEVEE Volume Shaders

There were some missing UBO bindings, what asserted in debug mode.
This patch fixes this by binding the missing UBO's

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8742
August 28, 2020, 12:38 (GMT)
Fix T80160: Workbench shadows are broken

In recent refactoring {a9f2ebb21508} an issue was introduced that the
opengl rasterizer would be disabled when only writing to a stencil
buffer.

This fix adds stencil writing to the write mask and set it. This makes
the write map not evaluate to GPU_WRITE_NONE and the rasterizer will be
enabled in `GLStateManager::set_write_mask`.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8743
Revision df8e2c7 by Philipp Oeser
August 28, 2020, 12:35 (GMT)
Merge branch 'blender-v2.90-release'
August 28, 2020, 12:32 (GMT)
GPU: Fix Segmentation Fault Freeing Failed Shader

The CPP Shader class does not initialize the interface attribute.
What will crash when deleting the shader.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8740
August 28, 2020, 12:30 (GMT)
Refactor: move CustomData .blend I/O to blenkernel

This is part of T76372.
August 28, 2020, 12:30 (GMT)
Refactor: move defvert .blend IO to blenkernel

This is part of T76372.
August 28, 2020, 12:28 (GMT)
Fix T80182: Curve [Edit Mode] : Can't Deselect Control Point with Select Box

Caused by rB49f59092e7c8: Curves: Implement Handles for selected points
only

Changes from deselecting all were not considered as changes anymore.

Maniphest Tasks: T80182

Differential Revision: https://developer.blender.org/D8744
August 28, 2020, 12:00 (GMT)
Merge branch 'blender-v2.90-release'
August 28, 2020, 11:18 (GMT)
Cleanup: improve function names

With this change, the three .blend read operations: data reading, lib reading
and expanding are more grouped together.
August 28, 2020, 11:05 (GMT)
IDTypeInfo: add .blend file io callbacks

This is part of T76372.
It adds the `blend_write`, `blend_read_data`, `blend_read_lib`
and `blend_read_expand` which correspond to the various
steps when reading and writing .blend files.
Having these callbacks allows us to decentralize the blenloader
code a lot more. This has the affect that code related to any
specific ID type is less scattered.

Reviewers: mont29

Differential Revision: https://developer.blender.org/D8670
August 28, 2020, 10:53 (GMT)
Fix T80149: Cycles OpenCL baking broken after changes to uses tiles for baking

We forgot to update this code as part of D3108. I'd like to include this in 2.90,
it's entirely broken now so can't really get any worse.

Differential Revision: https://developer.blender.org/D8738
August 28, 2020, 09:08 (GMT)
Cleanup 'make vertex parent' operator code.

More localized variables, avoid ugly 'offset by one' index usage in
favor of explicit `INDEX_UNSET` define, etc.

No behavior change expected from this commit.
August 28, 2020, 04:37 (GMT)
Merge branch 'blender-v2.90-release' into master
August 28, 2020, 04:35 (GMT)
Fix T80135: Duplicate doesn't preserve active spline

Checks to preserve the active spline on duplication
required an active vertex too.

Now having no active vertex doesn't prevent duplicate
from keeping the spline active.

Reviewed by: @mano-wii

Ref D8729
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021