Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 441 / 5574

January 7, 2021, 20:58 (GMT)
PyAPI Docs: Terminal instructions for Windows incorrect

Fixes T84498
Revision 95c63ba by Hans Goudey
January 7, 2021, 18:30 (GMT)
Cleanup: Declare variables where initialized
January 7, 2021, 18:23 (GMT)
Cycles: Increase instance limit for OptiX acceleration structure building

For a while now OptiX had support for 28-bits of instance IDs, instead of the initial 24-bits (see also
value reported by OPTIX_DEVICE_PROPERTY_LIMIT_MAX_INSTANCE_ID). This change makes use of
that and also adds an error reported when the number of instances an OptiX acceleration structure is
created with goes beyond the limit, to make this clear instead of just rendering an image with artifacts.

Manifest Tasks: T81431
January 7, 2021, 18:08 (GMT)
Surface Deform: optimize handling of the vertex group weight.

There is no need to first copy weights to a separate array,
or create the data layer if it doesn't exist. The threaded
code can retrieve the weight directly from the layer.

Differential Revision: https://developer.blender.org/D10015
January 7, 2021, 17:44 (GMT)
UI: Use Eyedropper Cursor with Sample Weight Tool

While using the Sample Weight tool in Weight Paint mode, user eyedropper mouse cursor.

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

Reviewed by Pablo Vazquez
January 7, 2021, 17:29 (GMT)
UI: Show Weight Value with Sample Weight Tool

While using the Sample Weight tool in Weight Paint mode, show weight value in tool header.

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

Reviewed by Pablo Vazquez
Revision 3db975f by Hans Goudey
January 7, 2021, 15:27 (GMT)
Fix T84326: No ID for geometry nodes instances after scattering

Instances are created with an "index" parameter used for persistence over
time through animation. Currently the geometry nodes instancer passes
the index in the array for this value, but the arrays created by the
"Point Distribution" node aren't necessarily stable in this way when
the input mesh is deformed. In D9832 we already mostly solved this
problem with an `id` attribute. The solution here is to create instances
with this attribute as well.

It's important to note that deforming the instanced points *after*
distribution will usually be a better solution for this problem. This
solution is likely still important though.

Differential Revision: https://developer.blender.org/D10024
January 7, 2021, 14:58 (GMT)
Cleanup: Undo system: minor simplification in non-debug code.
January 7, 2021, 14:58 (GMT)
UndoSystem: Early out from core undo/redo handlers when undo step is NULL.

Also added `undosys_stack_validate` debug check to redo case.
January 7, 2021, 12:36 (GMT)
Fix T84469: Online manual raises an exception with key-map options

Report an error instead of raising a Python exception.

Currently these properties aren't written to the manual
so it's best to show an error.
January 7, 2021, 12:32 (GMT)
Fix T84142: crash when mirroring hair emitted from vertices

The hair mirroring code seems to expect that hair is emitted from faces.
The PE_mirror_x contains the following expression: mirrorfaces[pa->num * 2].
This only makes sense when pa->num is a face index.

The simplest short term solution is to disable the mirror operator when
the particles haven't been emitted from faces.

Diffferential Revision: https://developer.blender.org/D10002
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
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021