Blender Git Commits

Blender Git "master" branch commits.

Page: 447 / 5574

Revision 0330b05 by Julian Eisel
January 2, 2021, 14:36 (GMT)
Cleanup: Explicitly pass icon size to generation function, not just bool

* This way you don't have to look up the function declaration to know what the
boolean value means.
* You can call the function in a loop over the available sizes and pass the
index as size.
* Makes it easier to add a new size in future if needed.
Revision 057a8af by Hans Goudey
January 1, 2021, 18:07 (GMT)
Fix T84024: Empty image opacity labeled transparency

This value really is the opacity, or the alpha, since a value of 1.0 means
that the image is fully visible, not invisible like "full transparency"
would suggest. Mistake in rBea4d28aea0343a.

Differential Revision: https://developer.blender.org/D9920
Revision 0da1fc2 by Hans Goudey
December 31, 2020, 23:01 (GMT)
Fix T84029: Point Distribution node crash on mesh with no faces

This bug exposes some ugliness in the implementation in poisson disk
distribution implementation with likely incorrect resizing of vectors and
some other assumptions. However, a simple quick fix is to return early
when the input mesh has no faces. This makes sense anyway because
there is no surface to scatter on.
December 31, 2020, 14:12 (GMT)
Fix mistake in recent rB8c135fa9a834 commit.
December 31, 2020, 13:25 (GMT)
LibOverride/RNA: refactor `rna_property_override_property_real_id_owner`.

Makes it more in line with more generic `RNA_find_real_ID_and_path`, and
avoids generating the rna path string if we do not need it.
December 31, 2020, 04:22 (GMT)
Cleanup: Move functions from sequencer_edit.c

These are utility functions that are not used in this file.

No functional changes.
December 31, 2020, 04:02 (GMT)
Cleanup: Remove unused functions from sequencer_edit.c

No functional changes.
Revision 8373f49 by Hans Goudey
December 30, 2020, 19:12 (GMT)
Add regression tests for curve conversion to mesh

This adds a basic set of tests for curve sampling and bevel generation.
At the moment there are basic test cases for bevels, caps, and the
filling of 2D curves, but more tests can be added in the future.

Curves are actually converted to "DispLists" for displaying them in the
viewport, so it's much simpler to rely on the mesh conversion operator
instead of building a new test framework for another data structure.

Differential Revision: https://developer.blender.org/D9958
December 30, 2020, 18:56 (GMT)
Fix unreported: Sequencer grid lines are not drawn

By design, there should be lines between the alternating horizontal
stripes in the Sequencer. But currently they are all drawn in one place,
on top of each other. Mistake in rBfae895125efe.

Differential Revision: https://developer.blender.org/D9962
December 30, 2020, 16:03 (GMT)
Cleanup: Use LISTBASE_FOREACH macro

Differential Revision: https://developer.blender.org/D9960
December 30, 2020, 11:38 (GMT)
Outliner: Fix useless assert in new liboverride showing code.

It is perfectly 'valid' to find invalid RNA properties references in
override properties list. Data change, RNA changes, IDProperties change,
some linked ID may become unavailable, etc.

Note that those invaldi override properties are cleaned up when updating
the override info (so typically on undo step storage, and .blend file save).
Revision 761ef45 by Hans Goudey
December 30, 2020, 02:46 (GMT)
Cleanup: Fix typo in tests error message
December 29, 2020, 18:57 (GMT)
Fix T83991: Pasting sound strip not working correctly

New UUID was generated for original strip not new one.

Bug caused "invisible" sound strip playing that is impossible to
remove. Especially noticable when transforming pasted strips. In such
case, file reload was necessary.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D9912
December 29, 2020, 17:38 (GMT)
Fix T83439: Sculpt: Radial symmetry combined with mirroring results in texture offsets

Looks like this has been wrong since the introduction in rB5505697ac508
10 years ago.

To get the proper texture lookup in the mirrored area, first rotate, then
translate/flip [instead of the other way around].

Maniphest Tasks: T83439

Differential Revision: https://developer.blender.org/D9897
December 29, 2020, 15:38 (GMT)
Fix T83749: Better handling of alpha in generic Nodes material wrapper for IO add-ons.

Try to detect if a given image may have valid alpha data or not (based
on number of channels and depth). This may be a bit doggy in theory, but
in practice it should cover most fields as expected. We can always
adjust the euristic here in other wrong cases appear.

This will affect all import add-ons using that node shader wrapper (at
least OBJ and FBX ones).
December 29, 2020, 11:11 (GMT)
Cleanup: Use proper `RNA_pointer_is_null` helper.

Followup to rB7f3601e70dd and rBad63d2f60e2.
December 29, 2020, 09:38 (GMT)
Test: Add utility to do near comparison for float[2]
December 28, 2020, 21:34 (GMT)
Fix T84144 cursor wrap broken for Windows.

Modifies WM_BUTTON processing to reuse existing mousemove logic. Fixes
case where cursor wrap was not being handled on mouse release.

Bonus: flattened mouse move logic so all paths lead to a single return.
Removed case where wrap is not handled until subsequent mousemove as
button press may rely on updated mouse move position.
December 28, 2020, 19:19 (GMT)
Fix T84200: Rotating a paintcurve [all paintmodes] doesn?t work correctly

The transform code did not provide a 2d context to be used in 3d space.

The solution is to set all matrices for the screen space in these cases.

This commit also removes the dial3d drawing in these cases.
It was not correct anyway.
December 28, 2020, 17:18 (GMT)
Add operator to copy a modifier to all selected objects

These two operators (one for grease pencil, one for other objects)
copy a single modifier from the active object to all selected objects.
The operators are exposed in the dropdown menus in modifier headers.

Note that It's currently possible to drag and drop modifiers between
objects in the outliner, but that only works for dragging to one object
at a time. Modifiers can also be copied with the "Make Links" operator,
but that copies *all* modifiers rather than just one. The placement
and scope of these new operators allow for more useful poll messages
and error messages as well.

Every object type that supports modifiers is supported. Although hook
and collision modifiers aren't supported because of an unexplained
comment in `BKE_object_copy_modifier`, other than that, every modifier
type is supported, including particle systems, nodes modifiers, etc.

The new modifiers are set active, which required two small tweaks to
`object.c` and `particle.c`.

Reviewed By: Hans Goudey (with additional edits)

Differential Revision: https://developer.blender.org/D9537
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021