Blender Git Loki

Blender Git "soc-2021-uv-editor-improvements" branch commits.

Page: 2 / 4

August 6, 2021, 06:09 (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 6, 2021, 06:09 (GMT)
LibOverride RNA API: add removal of properties and operations.

This should complete the basics of RNA API for library overrides.

Ref. T86656.
August 6, 2021, 06:09 (GMT)
LibOverride: Add RNA API to reset/delete overrides.

Ref. T86656.
August 6, 2021, 06:09 (GMT)
GPencil: New Brush option to define Caps type

This is used to set the default caps type for the stroke. Before always was rounded and only could be changed later in Edit mode

Two new buttons has been added to topbar.

NOTE: New icons are been designed (T90414)

The buttons are expanded to list in Properties panel.

Reviewed By: mendio, HooglyBoogly

Differential Revision: https://developer.blender.org/D11999
August 6, 2021, 06:09 (GMT)
Added some TODO remarks.
August 6, 2021, 06:09 (GMT)
Fix T90427: Center View to Mouse broken

rBfb87d236edb7 made the values returned by `projmat_dimensions` more
standardized following the documentations. But the functions in Blender
that called `projmat_dimensions` followed a proposal that these values
corresponded to a distance of 1m of clip.

Adjust these functions to follow the new algorithm.
August 6, 2021, 06:09 (GMT)
BLI: add double version of 'scaleform'

No functional changes. New utility.
August 6, 2021, 06:09 (GMT)
Fix T90421: edit-mode auto-smooth crash when angle set to 180degrees

Error in 39b2a7bb7e815e051348bf5c5ec777d091324164
which failed to set edge flags with single threaded calculation,
used for low poly models.
August 6, 2021, 06:09 (GMT)
Cleanup: remove *.rej from cb67bfdba2e22d0ee967e50afe0912ac80d73e9b
August 6, 2021, 06:09 (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 6, 2021, 06:09 (GMT)
Cleanup: inconsistent parameter name
August 6, 2021, 06:09 (GMT)
Tweak to recent liboverride API addition: naming.

Rename new API function introduced in recent rB3b0fab6dfaa0 to match our
convention to put the action (verb) at the end of names:
`operations_update`.

Sorry for not catching that during review.
August 6, 2021, 06:09 (GMT)
Cleanup: initialize variable to quiet warning
August 6, 2021, 06:09 (GMT)
Outliner/LibOverrides: Fix logic of checks for drag'n'drop of Collections.

Previous check was too blunt, preventing e.g. re-organization of
collection overrides inside a local parent collection, which is
perfectly valid operation.

Reported by @hjalti from the studio, thanks!
August 6, 2021, 06:09 (GMT)
Fix compile error without `WITH_OCEANSIM` enabled

Was changed in 218df9941097.
August 6, 2021, 06:09 (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 6, 2021, 06:09 (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 6, 2021, 06:09 (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 6, 2021, 06:09 (GMT)
Viewport normal drawing with constant length

Patch for: T37878

{F10169694}

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D11487
August 6, 2021, 06:09 (GMT)
Override: API update_operations.

The update_operations function will update the override structure of the
local object. When working with overrides the override structure is only
updated when the work-file is stored. When using scripts you might want
to enforce the update of override properties and operations.

This function removes a hack on the test cases.

Reviewed By: mont29

Maniphest Tasks: T86656

Differential Revision: https://developer.blender.org/D10848
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021