Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 570 / 5574

September 18, 2020, 06:04 (GMT)
UV: select face loops when in face-select mode

Match edit-mesh behavior.
September 18, 2020, 05:31 (GMT)
Cleanup: remove unused global locks from BLI_threads
September 18, 2020, 04:38 (GMT)
Fix T80885: Texture paint camera project crashes after undo/redo

Unmatched ED_image_undo_push_{begin/end},
add doc-strings noting why this is needed.

Thanks to @Baardaap for the initial fix.
Revision 14b2de3 by Hans Goudey
September 18, 2020, 04:15 (GMT)
UI: Refactor panel alignment function

This code had grown overly complicated and hard to understand.
The improvements in this commit:
- Avoid allocating a duplicate of every active panel.
- Instead of complicated logic to calculate each panel's offset,
just keep track of the current offset while iterating through.
- More readable code structure, better comments.

Note that calcuting the X offset here is a relic from pre-2.5 when
panels could be aligned horizontally. I kept this in, but it would
be reasonable to remove it in the future.
Revision aa22192 by Hans Goudey
September 18, 2020, 03:58 (GMT)
Cleanup: Rename variables in panel alignment code

This makes these variable names more consistent with current standards,
mostly by not over-abbreviating already short words. The following commit
will refactor this function.
September 18, 2020, 01:15 (GMT)
Cleanup: change enum usage so types are explicitly listed

Structure switch statements so new missing items cause warnings.
September 18, 2020, 00:24 (GMT)
Cleanup: use 'UI_icon_*' prefix for icons API

- UI_collection_color_icon_get -> UI_icon_color_from_collection
- UI_idcode_icon_get -> UI_icon_from_idcode
- UI_library_icon_get -> UI_icon_from_library
- UI_mode_icon_get -> UI_icon_from_object_mode
- UI_rnaptr_icon_get -> UI_icon_from_rnaptr
- UI_alert_image -> UI_icon_alert_imbuf_get
- UI_preview_render_size -> UI_icon_preview_to_render_size
- UI_id_icon_render -> UI_icon_render_id
September 17, 2020, 21:51 (GMT)
Fix T80771: Avoid changing the visibility of loose geometry when entering Sculpt Mode

When entering scultp mode the visibility from the Face Sets is copied to
the base mesh. This steps was considering that if a vertex belongs to a
face with a visibible Face Set ID, it should be visible. As loose
geometry may not have any faces, those vertex were set to hidden.

Now this function check if a vertex visibility should be modified by the
face sets (by checking the loops), avoiding modifying the visibility of
loose geometry unintentionally.

Reviewed By: sergey

Maniphest Tasks: T80771

Differential Revision: https://developer.blender.org/D8899
September 17, 2020, 21:46 (GMT)
Fix Brushes with deformation target being affected by sim areas

Brushes that target the cloth simulation but are not the cloth brush
affect the entire mesh, so they don't have simulation areas and falloff.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8885
September 17, 2020, 21:44 (GMT)
Fix bad allocation in mask sculpt gestures

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8886
September 17, 2020, 20:39 (GMT)
Pointclouds: support mesh <-> pointcloud in convert operator

Just converts verts to points and vice versa.
Materials and Attribute layers are preserved (so for example if you set
custom radii on the pointcloud, convert to mesh, then convert back to
pointcloud, this will be preserved).

Also not add a Radius layer by default (it is still added and
filled when adding a pointcloud object from the menu), a global Radius
property that will be used if there is no radius attribute can be added
later. A Radius attribute can also be added in the pointcloud data
properties (and filled via python).

This will also add a new utility function that copies materials between
datablocks: BKE_id_materials_copy

ref T75717

Differential Revision: https://developer.blender.org/D7391
Revision 9ee588c by Hans Goudey
September 17, 2020, 20:18 (GMT)
Cleanup: Correct comments
Revision 1f9e3d4 by Hans Goudey
September 17, 2020, 18:14 (GMT)
Cleanup: Doxygen sections
September 17, 2020, 17:30 (GMT)
Cleanup: remove unneeded check in uiTemplateConstraintHeader

Following rB7a0a60dde8b4, checking for temporary IK constraints in
uiTemplateConstraintHeader is not needed anymore (since the whole panel
will now be skipped earlier for those).

Differential Revision: https://developer.blender.org/D8902
September 17, 2020, 17:21 (GMT)
Fix T80131: Rigid Body World Field Weights dont have a proper RNA path
(e.g. cannot be animated)

An RNA path is mandatory for RNA_path_from_ID_to_property, and for
EffectorWeights, this has to be provided using RNA_def_struct_path_func
(since this struct is shared across ParticleSettings, Modifiers and Rigid
Body World). Without this, the animation system cannot work and e.g.
keyframes cannot be inserted.

The case for Rigid Body World in rna_EffectorWeight_path was missing,
now added.

Rigid Body World Field Weights are capable of being animated, tested
with file from T80131 (e.g. gravity, wind).

Maniphest Tasks: T80131

Differential Revision: https://developer.blender.org/D8713
Revision b248ec9 by Alex Strand / Brecht Van Lommel
September 17, 2020, 16:54 (GMT)
Shaders: add emission strength input to Principled BSDF node

This impacts I/O add-ons. OBJ, FBX and Collada have been updated, glTF not yet.

Differential Revision: https://developer.blender.org/D4971
Revision 65fd005 by Hans Goudey
September 17, 2020, 16:30 (GMT)
Cleanup: Extract "draw_fcurve" as a separate function

This is reasonable to do by itself, but it also enables drawing fcurves
outside of this loop, which is useful for D7737.
Revision 5b7a35d by Hans Goudey
September 17, 2020, 16:06 (GMT)
Cleanup: Use "r_" prefix for return arguments
September 17, 2020, 15:32 (GMT)
macOS: Added potrace in platform apple cmake

Ref T80818

Reviewed By: brecht

Maniphest Tasks: T80818

Differential Revision: https://developer.blender.org/D8922
Revision f37c83a by Ankit Meel
September 17, 2020, 14:15 (GMT)
CMake/Potrace: Fix capitalization, silence warning.

The `find_package()` callers expect the library name as `Potrace`, not
`POTRACE`.

Reviewed By: LazyDodo

Differential Revision: https://developer.blender.org/D8923
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021