Blender Git Commits

Blender Git "lineart-shadow" branch commits.

Page: 15 / 76

August 16, 2021, 04:19 (GMT)
PyAPI: GPU: Expose builtin shaders

Expose `3D_POLYLINE_SMOOTH_COLOR` and
`3D_POLYLINE_FLAT_COLOR` builtins.

Requested by addon developers.
August 16, 2021, 04:19 (GMT)
Cleanup: moved keyframe drawing to a draw list.

In preparation to do threaded drawing preparation. There should not be any
functional changes.
August 16, 2021, 04:19 (GMT)
Fix invalid string comparison in cd692c6954629e977250ec7c12509ffd3f9
August 16, 2021, 04:19 (GMT)
Cleanup: unused function warning
August 16, 2021, 04:19 (GMT)
Cleanup: mixing enum/non-enum type warning in conditional expression
August 16, 2021, 04:19 (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 16, 2021, 04:19 (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 16, 2021, 04:19 (GMT)
Edit Mesh: multi-object edit-mode support for knife project
August 16, 2021, 04:19 (GMT)
Silensed compilation warning in gpu test case.
August 16, 2021, 04:19 (GMT)
Fix T90551: Dopesheet displays keyframes differently.

Regression introduced by {rB73b047bcd431}. Missing a check when
converting the file to use LISTBASE_FOREACH.
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)
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)
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)
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
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021