Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 61 / 5574

November 8, 2021, 14:49 (GMT)
GPUTest: Add support to test on Windows.

On windows the OpenGL context wasn't activated when created, on Linux it
is. This patch will activate the context in gpu/draw test cases.
November 8, 2021, 14:43 (GMT)
Basic engine shaders test

This patch adds shader compilation tests for the basic engine in `shaders_test.cc`

Addresses T92701

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D13066
November 8, 2021, 13:25 (GMT)
Merge branch 'blender-v3.0-release'
November 8, 2021, 13:25 (GMT)
Merge branch 'blender-v3.0-release'
November 8, 2021, 13:24 (GMT)
Fix T92481: Memory leak with subdivision surface modifier

Interpolation vertex data on loose edges was writing into already
allocated data.

Resolve this by skipping vertex end-points for custom-data interpolation
which has already been copied from the source mesh.

Reviewed By: sergey

Ref D13082
November 8, 2021, 13:23 (GMT)
Docs: improve comments & doc-strings for the tool-system
November 8, 2021, 11:24 (GMT)
Fix inconsistent creation of `NodeTreeTypeUndefined` type of node tree

Currently, when creating a new node tree ID, its `typeinfo` is set to
`NodeTreeTypeUndefined`, but its `type` enum value is left to `0`,
aka `NTREE_SHADER`.

This patch adds a new `NTREE_UNDIFINED` value, and use it for
`NodeTreeTypeUndefined` types of node trees.

NOTE: While it is not clear whether that actually fixes issues currently,
quite a bit of code still relies on the value of `type`, so think it
makes sense to sanitize this.

NOTE: Would have been ideal to reserve `0` value to undefined type,
but at this point this is not possible anymore, so chose to use `-2` instead.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D13123
November 8, 2021, 11:24 (GMT)
Nodes: store socket declaration reference in socket

Previously, to get the declaration of a socket, one had to go
through `node->declaration`. Now this indirection is not necessary
anymore. This makes it easier to add more per-socket information
into the declaration and accessing it in various places.

Currently, this system is used by socket descriptions and node warnings
for unsupported geometry component types.
November 8, 2021, 10:37 (GMT)
Fix ASAN issue in image editor.

Adding virtual constructors to base classes.
November 8, 2021, 06:19 (GMT)
Merge branch 'blender-v3.0-release'
November 8, 2021, 06:00 (GMT)
Cleanup: use static sets
November 8, 2021, 06:00 (GMT)
CMake: add missing headers to CMake lists
November 8, 2021, 06:00 (GMT)
Fix reading the 3rd value of 2D cursors when transforming

Out of bounds read and potential out-of-bounds write when transforming
the 2D cursor for image editor and sequencer.

While this didn't cause user visible bugs in my tests,
it's error prone and should be avoided.

Use TransData2D for 2D cursors.
November 8, 2021, 06:00 (GMT)
Cleanup: avoid error prone struct declarations in C++

Reference struct members by name instead relying on their order.
This also simplifies moving back to named members when all compilers
we use support them.
Revision 42df2a7 by Hans Goudey
November 8, 2021, 05:20 (GMT)
Cleanup: Grammar in comments
November 8, 2021, 04:22 (GMT)
Fix reading the 3rd value of 2D cursors when transforming

Out of bounds read and potential out-of-bounds write when transforming
the 2D cursor for image editor and sequencer.

While this didn't cause user visible bugs in my tests,
it's error prone and should be avoided.

Use TransData2D for 2D cursors.
November 8, 2021, 03:52 (GMT)
Cleanup: quiet compiler warnings
November 8, 2021, 03:52 (GMT)
Cleanup: use static sets
November 8, 2021, 03:52 (GMT)
CMake: add missing headers to CMake lists
November 8, 2021, 03:14 (GMT)
Cleanup: remove references to non-existent 'mtexpoly'
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021