Blender Git Loki

Blender Git commits from all branches.

Page: 151 / 2888

August 16, 2021, 04:19 (GMT)
PyDoc: fix for renamed context member

Missing change from 9cff9f9f5df034ca27848875c25471dd952c34c4.
August 16, 2021, 04:19 (GMT)
Fix T90268: Mesh.from_pydata error using numpy array for edges/faces

Technically not a bug but worth supporting.
August 16, 2021, 04:19 (GMT)
Cleanup: Comment COW/LOCALIZED ID tags.

This was really missing there (some COW tags behavior was also
documented in some code using them, like in `sound.c`, but not in their
definition).

Ref. T88555.
August 16, 2021, 04:19 (GMT)
Fix T89284: Greasepencil top bar draw tool settings missing

Caused by {rBe3faef686d38}.

Error was getting the preview [which wasnt there yet]
These only appeared once the material tab in the Properties Editor was
used (since this ensured a valid preview icon).

Above commit changed behavior for RNA icon getter (this does not create
data anymore), so ensure the preview by hand here.

Maniphest Tasks: T89284

Differential Revision: https://developer.blender.org/D12178
August 16, 2021, 04:19 (GMT)
Fix T89253: template_list allows arbitrary data changes

Blender forbids property changes in .draw() methods. But they weren't
caught after a call to .template_list() with a custom list type.

Support nested calls that disallow writes.
August 16, 2021, 04:19 (GMT)
Fix crash: mouse is over file space during startup.

When blender starts and the mouse is over a file/asset browser it
crashes. This is because blender wants to highlight a file, but the
layout isn't initialized yet.
August 16, 2021, 04:19 (GMT)
Cleanup: use give_object_under_cursor when dragging materials.

It used to invoke give_base_under_cursor, but only accessed the `object` from the base.
August 16, 2021, 04:19 (GMT)
File/Asset Browser: Select/Activate File on Right Click for Context Menu

Right clicking would spawn the context menu under the cursor, but some
operators would actually act on the active asset/file which wasn't
the one clicked on.

When multiple files are selected and one of them is right-clicked on,
selection is not changed to allow operations on multiple files. E.g.
deletion.

This makes the File/Asset Browser match the Outliner (in behavior, not
implementation).

For the right-click selection keymap:
* The context menu still only spawns on W.
* Bonus: Right click now does something, it actually selects files!
I could have done additional changes here to avoid this, but it seems
like a good addition.

This is also a better alternative to rB5edfde58fe60, which didn't work
properly either. Using rename from the context menu would only work if
the clicked on file was also active...

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

Reviewed by: Campbell Barton
August 16, 2021, 04:19 (GMT)
Fix T90564: Crash when linking 2 node inputs

Caused by {rB37570a73170e}.

Above commit wasnt taking into account that at this point the link could
still be NULL.

Maniphest Tasks: T90564

Differential Revision: https://developer.blender.org/D12180
August 16, 2021, 04:19 (GMT)
Refactor: Custom data comparison in meshes

Added the comparison of non-generic attributes with generic
attributes in the same loop to avoid issues with different
order in layer->types of the two meshes.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D12149
August 16, 2021, 04:19 (GMT)
UI: hide object instancing panel for object types that dont support instancing

Basically, only meshes, empties and pointclouds support direct
instancing atm., no need to have the panel for other types.

note: prior to rB2eca054e14b1, collection instancing was possible on all
types (but that was removed in said commit)

note2: for empties, rna_Object_instance_type_itemf should also be
tweaked so we dont get "Vertices" and "Faces" options, but that can be
done in a separate commit

Maniphest Tasks: T88443

Differential Revision: https://developer.blender.org/D11348
August 16, 2021, 04:19 (GMT)
UI: hide instancing options for empties which cannot be used

Empties can only instance a collection, instancing on "Vertices" or
"Faces" does not make sense for empties, make that clear in the UI.

ref D11348

Maniphest Tasks: T88443

Differential Revision: https://developer.blender.org/D11349
August 16, 2021, 04:19 (GMT)
Compositor: Full frame Sun Beams node

Adds full frame implementation to this node operation.
No functional changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11694
August 16, 2021, 04:19 (GMT)
Compositor: Full frame Bilateral Blur node

Adds full frame implementation to this node operation.
No functional changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11634
August 16, 2021, 03:04 (GMT)
Merge branch 'master' into xr-controller-support
August 16, 2021, 02:48 (GMT)
Changed according to code review suggestions
August 16, 2021, 01:14 (GMT)
Merge branch 'master' into temp_bmesh_multires
August 16, 2021, 01:14 (GMT)
Cleanup and fixes: UV grid types

* Code and comment cleanup
* Refactor subdividing grid code to allow creating grid of different
dimensions different from the previous 4x4 grid
* Change subdividing grid dimensions to start from 8x8
* Refactor code used to calculate increment snapping value for the UV
editor
August 16, 2021, 01:02 (GMT)
Sculpt dyntopo: improve boundary brush for irregular topology
(still a wip)

The boundary brush now builds a geodesic distance
field (from the boundary) from which it derives a tangent
field:

* These now define the rotation plane for bend mode.
* Rotation origins snap to these planes.

There is also typedef'd code for visualization tangents
in a temporary object (note the sculpt object), to enable
define VISBM in sculpt_boundary.c. This will be removed
lated.

Additional changes:

* Added a function to get the number of edges around verts,
SCULPT_vertex_valence_get.
* Added an API to calculate cotangent weights for vert fans,
SCULPT_cotangents_begin (call in main thread first) and
SCULPT_get_cotangents.
* Sculpt neighbors for PBVH_FACES now uses ss->vemap if it exists.
* The Mesh topology mapping code now takes extra parameters for
sorting vert/edge cycles geometrically.
* Similarly, there is now a function to sort BMesh edge cycles,
BM_sort_disk_cycle.
* MDynTopoVert->flag now has a bitflag for when the disk cycle
sorting needs to be redone, DYNVERT_NEED_DISK_SORT.
* The sculpt geodesic code now supports passing in custom vertex
coordinates.
* The geodesic API can also build an optional map of which vertex
in the initial vertex list is closest to any other vertex.
August 15, 2021, 20:23 (GMT)
Add framework to fast obj i/o to regression test whole files.

One tricky aspect is that we want to allow for the version string
part of the header to mismatch, so only check for file equality
after the first lines.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021