Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 180 / 5574

August 10, 2021, 14:16 (GMT)
Compositor: Full frame input nodes

Adds full frame implementation to "Bokeh Image" node, "Track Position"
node, `SetVectorOperation` and `MovieClipAttribute`.
The other nodes in "Input" submenu are implemented separately.

`MovieClipAttribute` needs resolution to calculate its constant value, it can't be constant folded,
which requires it to be a `ConstantOperation`. Now `ConstantOperation` contemplate this case
and any operation that is always constant without depending on inputs should implement it.
If in the future an operation needs to get an input constant element during
`determineResolution` it must first determine its input resolution.

The nodes have no functional changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D12090
August 10, 2021, 14:05 (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 10, 2021, 14:04 (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 10, 2021, 13:52 (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 10, 2021, 13:44 (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
Revision 05879f2 by Julian Eisel
August 10, 2021, 11:04 (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 10, 2021, 10:07 (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 10, 2021, 10:03 (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 10, 2021, 09:53 (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 10, 2021, 09:37 (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 10, 2021, 08:07 (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 10, 2021, 07:51 (GMT)
Fix T90268: Mesh.from_pydata error using numpy array for edges/faces

Technically not a bug but worth supporting.
August 10, 2021, 07:28 (GMT)
PyDoc: fix for renamed context member

Missing change from 9cff9f9f5df034ca27848875c25471dd952c34c4.
August 10, 2021, 06:42 (GMT)
Fix T90551: Dopesheet displays keyframes differently.

Regression introduced by {rB73b047bcd431}. Missing a check when
converting the file to use LISTBASE_FOREACH.
August 10, 2021, 05:57 (GMT)
Silensed compilation warning in gpu test case.
August 10, 2021, 05:10 (GMT)
Edit Mesh: multi-object edit-mode support for knife project
Revision b83ee72 by Ankit Meel
August 10, 2021, 05:00 (GMT)
Fix T90418: macOS codesign fails with dylib next to executable

Change the dylib folder relative to `Blender` executable to be
the same as before rB652fbc200500497a67bd11d18b786587ba34e3d9 and same
as bpy.so : `@loader_path/../Resources/${BLENDER_VERSION}/lib`
August 10, 2021, 04:44 (GMT)
Fix T90493: Undo a knife-project operation crashes

The crash occurred calling because mesh_get_eval_final in edit-mode
freed all derived mesh data without tagging the object for updating.

However meshes in edit-mode weren't meant to be used as knife-project
source-data, adding support for multi object edit-mode caused this.
August 10, 2021, 02:04 (GMT)
Cleanup: mixing enum/non-enum type warning in conditional expression
August 10, 2021, 01:57 (GMT)
Cleanup: unused function warning
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021