Blender Git Loki

Blender Git "temp-lineart-contained" branch commits.

Page: 12 / 66

August 10, 2021, 01:35 (GMT)
Fix T90256: faces are flat shaded in edit mode with auto smooth

Regression in 39b2a7bb7e815e051348bf5c5ec777d091324164.
August 10, 2021, 01:35 (GMT)
Fix fix invalid index use for edit-mesh laplacian smooth

Only vertex indices were ensured to be correct.
August 10, 2021, 01:35 (GMT)
Fix T89450: Crash slicing BMEditSelSeq

Slicing with indices greater than the length of the sequence would crash.
August 10, 2021, 01:35 (GMT)
UI: VFont Display Names

When displaying the names of fonts for 3D Text objects, use the same
format as shown in File Browser: Family name + Style name. They are
currently shown with Postscript Name, which doesn't match well.

see D12069 for more details.

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

Reviewed by Campbell Barton
August 10, 2021, 01:35 (GMT)
PyDoc: Update GPU Example of `draw_view3d`

This function was changed in rBc8004ab4078c98c54a70113c12bbb186403e90cf but didnt update the example.

Part of T84227
August 10, 2021, 01:35 (GMT)
Cleanup: Fix Clang braced-scalar-init warning
August 10, 2021, 01:35 (GMT)
Fix T89835: Crash after Instancing to Scene after making linked Collection local.

Even though the ID itself remain the same after being made local, from
depsgraph point of view this is a different ID. Hence we need to tag all
of its users for COW update, as well as rebuild depsgraph relationships.

Should be also backported to LTS 2.93 (and 2.83 if possible).
August 10, 2021, 01:35 (GMT)
Cycles: More flexible GI Approximation AO distance control

The goal: allow to easily use AO approximation in scenes which combines
both small and large scale objects.

The idea: use per-object AO distance which will allow to override world
settings. Instancer object will "propagate" its AO distance to all its
instances unless the instance defines own distance (this allows to
modify AO distance in the shot files, without requiring to modify props
used in the shots.

Available from the new Fats GI Approximation panel in object properties.

Differential Revision: https://developer.blender.org/D12112
August 10, 2021, 01:35 (GMT)
Fix T89963: crash when library override is applied to an object from a linked scene.

LibOverride of scenes is not really supported currently, there are many
issues with it.

Will disable most user-accessible ways to create such overrides in a
following commit.
August 10, 2021, 01:35 (GMT)
Fix transparent faces on certain AMD cards

This patch fixes an issue with missing faces when assigning a material slot other than the first to faces on AMD TAHITI cards. Refer to T78390 and T74024 for a description of this issue.

This patch also incorporates fix from T78390 for KAVERI.

{F9029258}

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D9305
August 10, 2021, 01:35 (GMT)
VSE: Allow Wingdings and Symbol Fonts

This patch makes us less restrictive on the allowed types of FreeType
font character maps we allow, rather than primarily unicode-only. This
allows us to use some legacy, symbol, specialty, and proprietary fonts
like Wingdings. Note we were a little less restrictive with vfonts,
used for 3D Text Objects, so this patch primarily helps VSE.

See D12124 for details and examples.

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

Reviewed by Brecht Van Lommel
August 10, 2021, 01:35 (GMT)
LibOverride: Make it reasonably impossible for users to create overrides of scenes.

This is not supported currently,doing so through RNA API remains
possible, but from regular UI operations it should not be doable
anymore.

Ref. T90459.
August 10, 2021, 01:35 (GMT)
Fix T90170: `RNA_property_pointer_get` creating data in non-thread-safe way.

Protect this accessor with a local static mutex when it needs to
create/write data.

Ideally accessors should never create or modify data, but there are some
cases where this bad behavior is currently unavoidable.

This is the case of the Pointer accessor when the actual IDProperty has
not yet been created.

NOTE: this fixes a memory leak in liboverride diffing process when
several different overrides use a same linked reference ID.

Differential Revision: https://developer.blender.org/D12060
August 10, 2021, 01:35 (GMT)
Fix T87635: Rename shader node "Specular" to "Specular BSDF"

Node name edited in Specular node definition

Reviewed By: fclem

Maniphest Tasks: T87635

Differential Revision: https://developer.blender.org/D11022
August 10, 2021, 01:35 (GMT)
Fix calculation of 'projmat_dimensions'

`r_left`, `r_right`, `r_bottom` and `r_top` were ignoring `clip_near` value
when in perspective view.

Also rename `projmat` to `winmat` in these cases.
August 10, 2021, 01:35 (GMT)
Make loopcut drawing consistent between gizmo and operator.

Loopcut drawing from gizmo had thicker lines because
it was using line smoothing without alpha blend, compared
to thin jagged lines from operator.

Make the drawing anti aliased and consistent by using
3D_POLYLINE/3D_POINT shaders, and making sure alpha
blending is on.

Reviewed By: #eevee_viewport, fclem

Differential Revision: https://developer.blender.org/D11333
August 10, 2021, 01:35 (GMT)
Cleanup: spelling
Revision 2dba59c by Gottfried Hofmann / YimingWu (lineart-shadow, temp-lineart-contained)
August 10, 2021, 01:35 (GMT)
Expose Color Management as argument for gpu.types.GPUOffScreen.draw_view3d()

Fix for https://developer.blender.org/T84227

The problem was that https://developer.blender.org/rBe0ffb911a22bb03755687f45fc1a996870e059a8 turned color management for offscreen rendering off by default, which makes it non-color-managed in some cases. So the idea here is that script authors get the choice wether they want color managed non-color-managed output. Thus this patch introduces a new argument do_color_management as a bool to gpu.types.GPUOffScreen.draw_view3d().

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11645
August 10, 2021, 01:35 (GMT)
Fix T90417: font loading creates duplicate ID names

Also repair any errors in existing files.

Error from e0dd3fe5872ba37ff188e292b80b46fcf8df413c.
August 10, 2021, 01:35 (GMT)
Icons: add license headers to utilities
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021