Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 417 / 5574

January 25, 2021, 10:28 (GMT)
UI: object context menu tweaks for consistency

Currently, the object context menu includes some inconsistencies
between object types. This is a small patch that fixes these.

- Adds the same ability to Join and Set Origin
to all supported object types.
- Adds Set Active Camera for cameras.
- Adds Adjust Stroke Width for GP Objects.
- Adds Trace Image to Grease Pencil for Image Empties.

Reviewed By: #grease_pencil

Ref D10144
January 25, 2021, 10:27 (GMT)
Fix T84398: Multiview images show only one view.

The `image_get_gpu_texture` didn't use the iuser->view_index but
recalculated the requested view again. This lead to inconsistent
behavior when switching between multi view textures or stereo textures.

This has been fixed by ensuring that the `iuser->view_index` is always
used.

An Image has only place to store 2 view textures. This is done for
right/left eye compositing. A multi view texture can have more views.
This would lead to reading and writing to unallocated space.

When a multiview texture is requested that is larger than 1. It will
always be cached as being the first eye. The `gpu_view` of the Image is
also used as a cache key to check this.
January 25, 2021, 10:10 (GMT)
Fix T84990: Proportional Editing falloff drawing for masks in MCE is broken

This got broken in 4b1112c8c96. A fix which will be consistent with image
editor is not obviously clear, so for the time being revert the change and
go back to state which was working for a long time.
January 25, 2021, 10:07 (GMT)
Merge branch 'blender-v2.92-release'
January 25, 2021, 10:06 (GMT)
Fix UI message typo in own previous commit.

//sigh//
January 25, 2021, 09:56 (GMT)
Merge branch 'blender-v2.92-release'
January 25, 2021, 09:56 (GMT)
Fix UI messages.

Avoid sticking words together when it's not absolutely necessary.
January 25, 2021, 09:37 (GMT)
Merge branch 'blender-v2.92-release'
January 25, 2021, 09:37 (GMT)
Merge branch 'blender-v2.92-release'
January 25, 2021, 09:35 (GMT)
UI: increase the context menu's light power

This roughly matches the behavior when
editing this value via the buttons.

Part of D10144
January 25, 2021, 09:12 (GMT)
UI: tweak object context menu labels

A number of naming changes for consistency and clarity

- Use 'Adjust...' for all entries that adjust properties
rather than being normal operators.
- Follow naming conventions (ie Draw -> Display etc).
- Less naming ambiguity and more correctness and consistency.

Part of D10144
January 25, 2021, 08:40 (GMT)
Fix T84878: Eevee cryptomatte broken with stereoscopy

During multiview rendering the `cryptomatte_accum_buffer` is not cleared
between the views and leaves artifacts on the next view to be rendered.
This change clears the accum buffer when it already exists and will be
reused for the next view.
January 25, 2021, 07:34 (GMT)
Cleanup: pass 'rctf' rectangle to 2D box drawing functions

Passing 4x arguments for the rectangle,
mixed in with round-box radius & color wasn't very readable.

Instead, pass a `rctf` as the first argument to UI box drawing functions.
January 25, 2021, 07:09 (GMT)
Cleanup: remove redundant len() calls
January 25, 2021, 07:06 (GMT)
UI: Round-box drawing cleanup

The new GPU_SHADER_2D_WIDGET_BASE shader allows us to draw
many complex shapes with anti-aliasing.
One thing it can do is draw an opaque rounded rectangle with colors
that differ between its interior and outline.

In order to do the above in a single pass I recently added an "_ex"
version of UI_draw_roundbox that exposes most of that shaders features.

This simplifies interface_draw.c by removing redundancy in the calling
of this shader by using this new uber "_ex" version.

Ref D10189
January 25, 2021, 06:57 (GMT)
Cleanup: remove unused UI_draw_roundbox_shade_y function

Marked unused 2017 f69678482c849d873b9686cd6068946205db7c2b)

Remove since this remains unused,
split from D10189 to allow reverting if we ever need it back.
January 25, 2021, 06:49 (GMT)
UI: move 'Trace Image to Grease Pencil' to 'Convert' sub-menu

This operator is very specific, and may not warrant being placed in
such a prominent place. Move it together with other convert operators.

Ref D10188
January 25, 2021, 06:43 (GMT)
Merge branch 'blender-v2.92-release'
Revision 7a02819 by Kévin Dietrich
January 25, 2021, 06:40 (GMT)
Fix T85010: Cycles viewport not showing certain material changes when using GPU compute

Modifications to triangle shader association were not considered when checking for updates and the associated device data array was not tagged as modified so it was not resent to the device(s).
January 25, 2021, 06:40 (GMT)
Cleanup: compiler warning, clang-format, spelling
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021