Blender Git Commits

Blender Git "master" branch commits.

Page: 157 / 5574

September 6, 2021, 10:34 (GMT)
Cleanup: format, spelling
September 6, 2021, 10:32 (GMT)
Cleanup: use pre-calculated size variable

Oversight in a0912ff5663b950222ef00485a3853bfb6001db4
September 6, 2021, 10:05 (GMT)
ImBuf: add IMB_allocFromBufferOwn that takes ownership of the buffer

Avoids duplicating the image buffer when saving thumbnails.
September 6, 2021, 10:04 (GMT)
Cleanup: support passing in arbitrary buffers to IMB_allocFromBuffer

Also remove IB_metadata flag from the resulting imbuf as this image
has no meta-data.
September 6, 2021, 08:58 (GMT)
BLI_utildefines: add UNUSED_FUNCTION_WITH_RETURN_TYPE

Unfortunately the UNUSED_FUNCTION macro doesn't work for pointer types.

Add UNUSED_FUNCTION_WITH_RETURN_TYPE to workaround this limitation.
September 6, 2021, 08:56 (GMT)
Fix tests broken by rB58632a7f3c0f1be6.

Commits breaking RNA API should always run all tests, and do text search
in python code base to ensure everything is updated as needed.
September 6, 2021, 07:03 (GMT)
Fix thumbnail screenshot error in 58632a7f3c0f1be6cc860c7cad9c41ba43e6454f

Scaling didn't clamp above zero, see T89868.
September 6, 2021, 05:51 (GMT)
Cleanup: comment unused functions
September 6, 2021, 04:05 (GMT)
UI: Blend Preview Thumbnails Showing Workspace

This adds an option to use a capture of the entire main window as the
blend file preview thumbnail.

See D10492 for details and examples.

Differential Revision: https://developer.blender.org/D10492

Reviewed by Campbell Barton
September 6, 2021, 03:25 (GMT)
Cleanup: clang-format
September 6, 2021, 02:55 (GMT)
UI: Increase Size of Blend File Thumbnails

Increase effective resolution of blend preview images from 128x128 to
256x256 for versions saved in the file system thumbnail cache.

See D10491 for details and examples.

Differential Revision: https://developer.blender.org/D10491

Reviewed by Campbell Barton
September 6, 2021, 01:27 (GMT)
UI: Split Output Properties Dimensions panel

I remember when we originally decided on the Dimensions panel,
one of the reasons we combined time and image size properties in the same panel,
was simply because the 2.49 and previous UIs used fixed-size panels,
so we often put two categories of properties inside a panel, using two columns.

Now that we no longer do this, we could clarify and simplify some panels
by splitting them, such as the Output > Dimensions panel

{F6753690}

Reviewed By: brecht, pablovazquez

Differential Revision: https://developer.blender.org/D4440
Revision d10ea97 by Aaron Carlisle
September 5, 2021, 19:24 (GMT)
Compositor: New Posterize Node

The posterize node limits the number of colors per channel.
This is useful to generate masks or to generate stylized images

Both the tiled and full-frame implementation are included in this patch

{F10314012}

Reviewed By: manzanilla, jbakker

Differential Revision: https://developer.blender.org/D12304
September 5, 2021, 12:25 (GMT)
Cleanup: improve code clarity

Addresses D12341 review.
September 4, 2021, 16:28 (GMT)
Fix T91143: Gpencil Set Vertex Color not using Linear

The color was not converted to Linear from Brush color.
September 4, 2021, 15:09 (GMT)
Compositor: Merge equal operations

Some operations can take a lot of time to execute and
any duplication should be avoided.

This patch implements a compile step that detects
operations with the same type, inputs and parameters that
produce the same result and merge them. Now operations
can generate a hash that represents their output result. They only
need to implement `hash_output_params` and hash any parameter
that affects the output result.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D12341
September 4, 2021, 15:06 (GMT)
Compositor: Full frame vector nodes

Adds full frame implementation to Map Range, Map Value, Normal and
Normalize nodes. The other nodes in "Vector" sub-menu are submitted
separately.

Part of T88150.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D12233
September 4, 2021, 15:05 (GMT)
Compositor: Full frame filter nodes

Adds full frame implementation to Anti-Aliasing, Defocus, Denoise,
Despeckle, Dilate/Erode, Directional Blur, Filter, Inpaint and
Vector Blur nodes. The other nodes in "Filter" sub-menu are
submitted separately.

Part of T88150.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D12219
September 4, 2021, 15:00 (GMT)
Python: Allow Area Close via Scripting

Screen area maintenance "Close" function allowed to be scripted.

See D12307 for usage example.

Differential Revision: https://developer.blender.org/D12307

Reviewed by Campbell Barton
September 4, 2021, 14:03 (GMT)
GPencil: Fix Noise Modifier Randomize Panel disabled

Fix regression introduced in rB34b213d60472

Reviewed By: antoniov

Differential Revision: https://developer.blender.org/D12398
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021