Blender Git Commits

Blender Git "master" branch commits.

Page: 161 / 5574

August 31, 2021, 11:24 (GMT)
Cleanup: Remove unused DRW_state_do_color_management.

Function wasn't used since we migrated to the new color management
pipeline. It is also not expected it would be needed in the current
design.
August 31, 2021, 11:24 (GMT)
Cleanup: Draw Manager remove do_color_management from drawing context.

The do_color_management option was set, but never read.
August 31, 2021, 11:24 (GMT)
Cleanup: Converted draw_color_management to CPP.
August 31, 2021, 11:24 (GMT)
Cleanup: Added const keywork to GPU_viewport_colorspace_set.
August 31, 2021, 11:14 (GMT)
Fix crash in recent commit.

Crash introduced by {rB8e00db42961297facd521139762fe8c42042fc5c}, fixed
with a null check. Object can be null.
August 31, 2021, 10:45 (GMT)
Texture Paint: sync changing active texture in the Node Editor to the
Image Editor

When changing to another texture paint slot, the texture displayed in
the viewport changes accordingly (as well as the image displayed
in the Image Editor).

When changing the active texture in the Node Editor though, only the
texture displayed in the viewport changes.

This was mentioned in T88788 and I am not 100% sure this is desired in
all scenarios (or at all), it should be seen in tandem of D11497. This
change makes it so that the Image Editor changes to the image we changed
to in the Node Editor (keeping them in sync).

If this is not desired in all cases, this could be made an option.

ref T88788
ref D11496
ref D11497

Maniphest Tasks: T88788

Differential Revision: https://developer.blender.org/D11498
August 31, 2021, 10:29 (GMT)
Texture Paint: sync changing active texture in the node editor to the
active paint slot

When changing to another texture paint slot, the texture displayed in
the viewport changes accordingly (as well as the image displayed
in the Image Editor).

When changing the active texture in the Node Editor though, only the
texture displayed in the viewport changes.

This _can_ be confusing because you can end up painting on a texture
that you are not looking at in the viewport (so you dont have any
feedback whatsoever). Not 100% sure this is desired in all scenarios,
but this change makes it so that the active paint slot changes to the
one that uses the texture we chaged to in the Node Editor (keeping them
in sync).

If this is not desired in all cases, this could be made an option.

ref T88788
ref D11496

Maniphest Tasks: T88788

Differential Revision: https://developer.blender.org/D11497
August 31, 2021, 10:12 (GMT)
Fix missing render result when using region render

Caused by lazy allocation of passes.
August 31, 2021, 09:55 (GMT)
Fix T91060: GPencil Time Offset Modifier breaks evaluation time

Caused by {rBf3bf87e5887c}.

When using a GPencil Time Offset Modifier, the bGPDlayer>actframe can be
NULL. This can be determined though, but above optimization commit
skipped getting the active frame in this case entirely (with the
intention to only get it if framenumbers did not match).

Now also call BKE_gpencil_layer_frame_get() if actframe is NULL in order
to fetch a valid one if present.

Maniphest Tasks: T91060

Differential Revision: https://developer.blender.org/D12355
August 31, 2021, 09:05 (GMT)
Fix possible wrongly highlighted tiles

Run into it when was re-working tiles in the Cycles X project.
Make sure the storage of highlighted tiles is emptied when the
render is finished or cancelled).

The error is only possible to happen if the engine did not do
something correct, but is still good to deal with such situations
more gracefully.
August 31, 2021, 08:41 (GMT)
Fix AssetBrowser UI errors

Steps to reproduce:
- enable Extended Asset Browser
- open a regular File Browser

gives:
"rna_uiItemR: property not found: FileSelectParams.asset_category"

Now do proper poll.

Differential Revision: https://developer.blender.org/D12350
August 31, 2021, 08:29 (GMT)
Cleanup: remove unnecessary obedit argument from ED_space_image_set

This was left over from when changing the image set the faces texture.
August 31, 2021, 08:02 (GMT)
Fix: Weightpaint overlay not visible when display type wire/boundbox.

When the object display type was set to wireframe or boundbox the depth
buffer wasn't updated resulting in not visible weightpaint overlay.

Thanks to Demeter Dzadik for mentioning it.
August 31, 2021, 07:21 (GMT)
Measure tool: Add support to restrict dimension to one axis

Support axis constraints for the measure tool.

Press X, Y or Z to restrict the dimension to that axis,
it's also possible to toggle between orientations matching transform.

Reviewed By: campbellbarton

Ref D10872
August 31, 2021, 07:02 (GMT)
Transform: avoid passing the context to extended orientation functions

This makes it possible to calculate orientation from functions
that don't have the context.
August 31, 2021, 04:33 (GMT)
Cleanup: Use C style comments for descriptive text
Revision 29590ee by Hans Goudey
August 31, 2021, 03:21 (GMT)
Fix T91054: List of strings custom property cannot be edited

This commit fixes editing the value of a list of strings custom property
with the "Custom Property Edit" operator. This sort of custom property
isn't very well supported in general, but editing the values should
work properly anyway.

Differential Revision: https://developer.blender.org/D12348
August 31, 2021, 03:00 (GMT)
Cleanup: add CTX_data_pointer_set_ptr & CTX_data_list_add_ptr

Many callers expanded a PointerRNA argument,
so add a version of these functions that takes a PointerRNA.
August 31, 2021, 02:30 (GMT)
Fix assigning shortcuts that include array indices

Assigning a shortcut to bone layers for example,
raised a Python exception when used.
August 31, 2021, 02:07 (GMT)
Fix T90723: User menus & shortcuts fails for sequences, bones & NLA

Use context members instead of not working well or failing due to:

- Missing "path" functions (in the case of edit-bones).

- Paths containing names (in the case of sequence-strips or pose-bones).

While technically correct it's not useful for shortcuts or
menu items to lookup data by name.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021