Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2315 / 8462

July 30, 2019, 14:59 (GMT)
Cleanup: Alembic: renamed 'smooth_normals' to 'export_loop_normals'

The name now indicates what happens when the variable is set to true.

No functional changes.
July 30, 2019, 14:59 (GMT)
Alembic: changed 'void *user_data' to 'Mesh *mesh'

The only thing that is stored in this pointer is a `Mesh*`, and casting
it from/to `void*` is unnecessary and confusing. Maybe the entire
CDStreamConfig class could/should be removed at some point.

No functional changes.
July 30, 2019, 14:59 (GMT)
Alembic: transformed chain-of-ifs into switch statement

By having a switch statement that lists all the values of the enum, it is
clear which cases we're not handling, and it also allows for warnings in
the future when the enum expands.

No functional changes.
July 30, 2019, 14:59 (GMT)
Alembic: use `r_` prefix for return variables

No functional changes.
July 30, 2019, 14:59 (GMT)
Alembic: removal of always-zero parameter

The `poly_start` parameter was always 0, so adding it to a poly index
from Alembic is a no-op.

No functional changes.
July 30, 2019, 14:55 (GMT)
Fix T65717: Alembic (camera - also mesh) import scale issue

The w-component of the translation column of the scaled matrix wasn't
set to 1.0, which, apart from being incorrect, caused drawing problems.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5290
July 30, 2019, 14:51 (GMT)
Fix T67904: GPencil clone brush doesn't copy the right color and layer

When using the clone brush, the first time the brush worked, but the next time no. The reasons were two:

1) The strokes were copied to the active layer, but if there were more than one layer, the stroke must be copied to the original layer.

2) The materials were not assigned properly and the materials were set as the first slot in the list always.

Now, the original layer name is used to try to find the same layer in destination. If the layer is missing, the active layer is used.

For materials, the bug in the hash lookup is fixed and the material is assigned to the right slot.
July 30, 2019, 14:13 (GMT)
use another strategy to create functions for unlinked inputs
July 30, 2019, 14:01 (GMT)
Fix T67460: Vertex painting: Sampling color opens empty options window in viewport

The issue was that the redo panel area would call with region type HUD (not WINDOW).
Now we make sure that the redo panel always polls the operator in the original area type context.

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D5361
July 30, 2019, 13:42 (GMT)
ProfileWidget / Bevel Modifier: Resolved issue where dragging points in the
widget didn't cause the modifier to recalculate.
July 30, 2019, 13:42 (GMT)
Make 3d projpaint iteration lockless.

While speedup is hard to detect (highly fluctuent), it seems to be
around 5% on average on my 8 threads machine...

It also remove usage of a 'global' thread lock, which is always good.

Note that I also tried to use proper foreach threaded iterator construct
(see D5372), but that proved to be relatively slower (presumably due to
the very high dissymmetry between tasks, usually during a paint stroke
only a few chunks will require most of the computing effort, overhead of
threaded foreach management is then noticeable).

This concludes (for now) the work on
T51133 Bad performance with texture painting depending on multi-thread settings.
July 30, 2019, 13:41 (GMT)
Fix T67370 Normal Tools(Alt +N), copy and paste not work

The copy operator requried at least a vert AND a face to be selected.
It should only require that a vert OR a face is selected.
July 30, 2019, 13:06 (GMT)
clang-format
July 30, 2019, 12:59 (GMT)
show node search in menu
July 30, 2019, 12:59 (GMT)
use background color for particle type node
July 30, 2019, 12:59 (GMT)
rename
July 30, 2019, 12:59 (GMT)
add buttons to create particle type nodes
July 30, 2019, 12:56 (GMT)
BLI_task: Cleanup: rename some structs to make them more generic.

TLS and Settings can be used by other types of parallel 'for loops', so
removing 'Range' from their names.

No functional changes expected here.
July 30, 2019, 12:55 (GMT)
renamed particle_modifier_output to particle_effector_output
July 30, 2019, 12:41 (GMT)
added point force node for particle nodes
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021