Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1016 / 8462

January 7, 2021, 12:31 (GMT)
Fix T83497: missing relations update when group node changes

Changing which node group a group node references needs a depsgraph
relations update in some cases.

Differential Revision: https://developer.blender.org/D10018
January 7, 2021, 10:36 (GMT)
RNA: document Python instancing for ID's and RNA types

Document some of the less obvious implications for
re-using Python instances.
January 7, 2021, 05:20 (GMT)
Outliner: use the scene ID for ObjectBase PointerRNA

While this didn't cause any problems, `Base` structs are part of the
scene which is being set in other uses of this type.
January 7, 2021, 04:54 (GMT)
UI: Fix various issues with UI text

- Use the name "Point Cloud" instead of "Pointcloud"
- Fix a typo in UV_OT_smart_project.
- Use the name "Install Light" to for the installation
operator for MatCaps, HDRIs, and Studio Lights.

Fixes T83585, T65291, and T54921

Differential Revision: https://developer.blender.org/D9867
January 7, 2021, 04:04 (GMT)
Fix memory leak duplicating a scene with "Copy Settings"
January 7, 2021, 03:41 (GMT)
PyAPI: don't raise & clear exceptions when setting context members

BPY_context_dict_clear_members_array used PyDict_DelItemString
which raised & cleared the exception when the key didn't exist.

Even though setting/clearing the exception is supported,
it's worth avoiding where possible as it adds some overhead as well as
overwriting the previous error which can free PyObject's which are
unrelated to the code being executed.

Possible fix for T82552, crashing on Windows when setting the exception.
January 7, 2021, 02:31 (GMT)
Fix BKE_blender_atexit_unregister error removing from linked list

This is an old bug exposed by having multiple atexit calls since
c65c4149c9be8a1811eb389f657216fab071dfc5.
January 7, 2021, 00:52 (GMT)
PyAPI Docs: Link to user docs instead of describing in API doc
January 7, 2021, 00:34 (GMT)
PyAPI Docs: Update Indirect Data Access docs

Fixes T84432
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 (master)
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, 19:26 (GMT)
Add experimental ripple effects option to the cloth solver
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 (master)
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, 16:34 (GMT)
Merge branch 'master' into sculpt-dev
January 6, 2021, 16:34 (GMT)
Fix crash in fairing and memory optimization
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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021