Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 442 / 5574

January 6, 2021, 23:54 (GMT)
PyAPI Docs: Fix wrong modifier path usage

Fixes T84430
January 6, 2021, 23:45 (GMT)
PyAPI Docs: Clarify quick start guide tips

Some of the text here was outdated with 2.8x.
See T84427
January 6, 2021, 21:26 (GMT)
Fix T84416: Vertex color baking checks for UVMap

Since the introduction in rB2221389d6e8e, baking to vertex colors would
still check for the existence of a valid UVMap (as if baking to image
textures).

Now check for vertex colors instead if target is
R_BAKE_TARGET_VERTEX_COLORS.

Maniphest Tasks: T84416

Differential Revision: https://developer.blender.org/D10006
Revision 6ea01dc by Hans Goudey
January 6, 2021, 20:00 (GMT)
UI: Use the 3D cursor icon for the RNA struct

Since there is a specific icon to represent the 3D cursor it makes sense
to add it to the RNA struct. This struct's icon is only displayed in the
Data API section of the outliner.
January 6, 2021, 17:07 (GMT)
UndoType: Refactor: replace `use_context` boolean by a bitflag.

We will soon need more options here, sinmpler and cleaner to use a
bitflag then.
Revision 5cdf279 by Falk David
January 6, 2021, 16:54 (GMT)
Fix T84420: Linking regular materials to gpencil

When using "Make Links"->"Materials" regular materials could be linked
onto grease pencil objects. This caused a number of issues.

The fix changes the `allow_make_links_data` function to make sure that
if one object is of type `OB_GPENCIL`, the other has to be aswell.

Reviewed By: antoniov

Maniphest Tasks: T84420

Differential Revision: https://developer.blender.org/D10014
January 6, 2021, 15:25 (GMT)
Fix T84202: Sculpt lasso mask crash after remesh.

'Caused'/revealed by rBd29a720c45e5: Operators that fully re-create the
mesh would previously rely on `sculpt_update_object` called from update
code to get required sculpt-specific data layers re-added to the new
mesh.

Now instead put all code adding data to orig mesh for sculpt purpose
into a new util function (`BKE_sculpt_ensure_orig_mesh_data`), and call
that function when entering sculpt mode, and from voxel remesher code.

This is contonuing effort to more clearly separate orig data from evaluated
data handling/usage in sculpt code.

TODO: there are likely other code paths that would need to call that
new function?

Reviewers: @sergey, @pablodp606

Subscribers:
January 6, 2021, 14:59 (GMT)
Undo: Further tweak/fixes the 'use context' flag of undo types.

Note that this is fairly fragile still, especially in cases like paint
cureve undo, which actually does not use context in most cases (and can
be called with a NULL context), but do need it in one case. This will
need a proper rework at some point.
January 6, 2021, 14:35 (GMT)
Fix T82952: Crash changing mesh data block and switching scenes

Regression in 33ac3582bbd5551bdfbc7ef8856640b5e61888f8.
Revision f0071df by Campbell Barton
January 6, 2021, 13:37 (GMT)
Fix T79779: Pick shortest UV face-path ignores sticky setting
January 6, 2021, 13:11 (GMT)
UndoType: Fix some incinsistencies re context usage flag.

`use_context_for_encode` was not properly set regarding actual `encode` code for a few types.
Revision eb1ff4b by Jeroen Bakker
January 6, 2021, 12:55 (GMT)
Cleanup: CodeStyle format
Revision 1c72a2f by Jeroen Bakker
January 6, 2021, 12:54 (GMT)
Cleanup: CodeStyle Format
January 6, 2021, 12:27 (GMT)
Fix T83372: Point.select can be True when unselected
January 6, 2021, 11:28 (GMT)
Cleanup/refactor: UndoType: Clarify `use_context` variable.

Rename it to mark it is only for `encode` callbacks, fix `encode`
callback of text undo to early fail in case it gets a NULL context, add
an assert to `BKE_undosys_step_push_with_type` that context is not NULL
when undotype requires a valid one.

Note that in practice this should not change anything, currently it
seems that we always get a valid context in
`BKE_undosys_step_push_with_type`?
Revision 4e23f08 by Julian Eisel
January 6, 2021, 10:55 (GMT)
Fix object moved to cursor when editing last operation after dropping object

Steps to reproduce were:
* Drag object icon from the Outliner into the 3D view (or an object asset from
the Asset Browser)
* Open the "Adjust Last Operation" panel
* Edit options in there - the object would move to the mouse location

The same issue happens with collection instance and object data adding (e.g.
via drag & drop). This patch addresses them too.

The operator used the event state stored in the window. This shouldn't be
accessed from the operator execute callback generally which happened here.
Especially not if the operator supports editing properties.
January 6, 2021, 10:35 (GMT)
Fix T70316: Custom "Delete Keyframes" shortcut still requires
confirmation

Deleting keyframes in the dopesheet or graph editor always required
confirmation, even if used ouside of the "Delete" menus.

Now add a "confirm" option [same as for deleting objects], which can be
disabled for immediate keyframe deletion.

This will also change the default behavior and bring this in line with
how object deletion works so there is one shortcut for bringing up the
menu/confirmation and another shortcut to delete immediately without
requiring confirmation / another click:

- Blender Default keymap: "X" for menu, "Del" for immediate
- Industry Compatible: "Backspace" for menu, "Del" for immediate

Maniphest Tasks: T70316

Differential Revision: https://developer.blender.org/D9651
January 6, 2021, 08:04 (GMT)
Fix T84426: Limit dissolve ignores selection with custom normals

Regression in 9969c2dd165c7d8ffe607a5a050a80aa59ac50be.

Add note that custom normal calculation functions write into to tags.
January 6, 2021, 07:11 (GMT)
BMesh: assert when a mesh has two kinds of shake-key data

Assert with comment to avoid confusion caused by
mixing two kinds of shape-key data.

This problem was exposed when investigating T84364.
January 5, 2021, 20:21 (GMT)
Fix T83094: Alternate rows in the Sequencer are green (macOS)

The issue is that `UI_GetThemeColorBlendShade4fv()` creates a color
with alpha, but there is not any background underneath to blend in with.

The solution is just to draw an opaque background first, which also
halves the number of rects to draw. Note that the brighter rows get
very slightly darker after this change.

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