Blender Git Commits

Blender Git "pygpu_extensions" branch commits.

Page: 3 / 3

February 12, 2021, 15:13 (GMT)
Cleanup: remove unused panel SEQUENCER_PT_sound

These have since been moved to SEQUENCER_PT_source.
February 12, 2021, 15:13 (GMT)
WM: Add 'Confirm On Release' option for WM_OT_radial_control

Adds a new property called "Confirm On Release" that does what it says,
confirm the action without having to do left-click or to press any other
extra-key which concludes in a more dynamic and efficient way of changing
brush size or strength for example, especially for tablet users.

Reviewed By: campbellbarton

Ref D10233
February 12, 2021, 15:13 (GMT)
PyAPI: use PyModule_AddType utility function
February 12, 2021, 15:11 (GMT)
Cleanup: clang-format, spelling
February 12, 2021, 15:11 (GMT)
Fix finding system Haru library on Debian.

Paths and names of system packages-installed libhpdf on Debian (and
probably its derived distributions?) are slightly different than what
was given to CMake finding script.
February 12, 2021, 15:11 (GMT)
Mesh automated testing: improve progress printing

Print number of total tests with each test to show how many tests have been executed and how many are left.
Example: `Running test 27/36: PlaneFaceSplitByEdges...`

Reviewed By: calra, mont29

Differential Revision: https://developer.blender.org/D10278
February 12, 2021, 15:11 (GMT)
Cleanup: delete comments with test index

Tests are not identified with indexes, so no need to maintain comments with indexes anymore

Reviewed By: calra, mont29

Differential Revision: https://developer.blender.org/D10277
February 12, 2021, 15:11 (GMT)
PyAPI: remove Python 3.7x compatibility code

This removes Python version checks needed to build with 3.8+ and 3.7x.

Ref D10381
February 12, 2021, 15:11 (GMT)
CMake: update python to 3.9.1

Default to Python version 3.9.

Reviewed By: LazyDodo, sybren, sebbas

Ref D10380
February 12, 2021, 15:11 (GMT)
Mesh automated testing: compare selection

MeshTest now compares selection between evaluated mesh and expected mesh. This way, we can test more operators
such as `faces_select_linked_flat`

Note: selection comparison intentionally does not happen in BKE_mesh_cmp() on C side but rather on Python side, because
selection is independent of mesh generation.

Reviewed By: calra, mont29

Differential Revision: https://developer.blender.org/D10279
February 12, 2021, 15:11 (GMT)
Cleanup: Remove unused variable
February 11, 2021, 18:01 (GMT)
GPU Python: GPUOffScreen refactor

Remove "unbind" method.

Move context creation to your own class:
```
"__enter__", "__exit__" moved to "GPUOffScreenStackContext"
```
February 11, 2021, 18:01 (GMT)
GPU Python: Implement new object type 'gpu.types.GPUUniformBuf'

For use by `gpu.types.GPUShader` only.

The API of this object includes:
```
>>> gpu.types.GPUUniformBuf.
free(
update(
```
February 11, 2021, 18:00 (GMT)
GPU Python: Implement new object type 'gpu.types.GPUFrameBuffer'

For framebuffer operations on the GPU.

The API of this object includes:
```
>>> gpu.types.GPUFrameBuffer.
__enter__(
__exit__(
bind(
clear(
free(
is_bound
viewport
```
February 11, 2021, 18:00 (GMT)
GPU Python: Implement new object type 'gpu.types.GPUTexture'

This object allows you to do some simple operations with Textures on the GPU.

Can also be used for `gpu.types.GPUShader`.

It will be important to implement `gpu.types.GPUFramebuffer`.

The API of this object includes:
```
>>> gpu.types.GPUTexture.
clear(
free(
height
read(
width
```
February 11, 2021, 18:00 (GMT)
Cleanup: Python GPU: Use consistent prefixes for local API
February 11, 2021, 18:00 (GMT)
GPU Python: Implement new 'gpu.state' module

This new module includes:
```
>>> gpu.state.
blend_get(
blend_set(
color_mask_set(
depth_mask_get(
depth_mask_set(
depth_test_get(
depth_test_set(
face_culling_set(
front_facing_set(
line_width_get(
line_width_set(
point_size_set(
program_point_size_set(
viewport_get(
viewport_set(
```

More details will be in the Blender Python API documentation.
February 11, 2021, 18:00 (GMT)
Fix T85555: Geometry Nodes: Attribute Vector Math Wrap is broken

This was just a copy and paste error / typo. The proper DNA variable
wasn't used. Thanks @charlie for finding the issue.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021