Blender Git Commits

Blender Git "temp-lanpr-staging" branch commits.

Page: 7 / 10

September 12, 2019, 01:13 (GMT)
Fix T69495: Crash changing action in file browser

We need to ensure the file browser window doesn't manage the handlers
for itself.
The special file browser closing code that we used previously isn't
needed anymore, wm_window_open_temp() and the handling of
EVT_FILESELECT_FULL_OPEN already manage it fine.
September 12, 2019, 01:13 (GMT)
Fix T69513: Grease Pencil Fade Layers Overlay only works in Material and Texture Shading

The overlay factor was not used in other modes.
September 12, 2019, 01:13 (GMT)
Copy Transforms: add a mixing mode option.

Allow combining location, rotation and scale at the same time,
using one constraint. The mixing modes are based on matrix
multiplication, but handle scale in a way that avoids creating
shear.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5640
September 12, 2019, 01:13 (GMT)
Transformation Constraint: initialize scale range values to 1 instead of 0.
September 12, 2019, 01:13 (GMT)
Transform: Split transform_conversions into multiple files.

Part of T68836

`transform conversions.c` is a file that is getting too big (almost 10,000 lines).
So it's a good idea to split it into smaller files.

differential revision: https://developer.blender.org/D5677
September 12, 2019, 01:13 (GMT)
UI: Confirmation prompt for file path auto-create

This confirmation prompt was there earlier, we removed the prompts for
creating new directories all together, but in this case it's reasonable.
Without it, it's simply too easy to create new directories by accident.
September 12, 2019, 01:13 (GMT)
UI: tweak 3D view space between navigation gizmo & buttons

Align the lower side of the navigation gizmo with the top of the icons.
September 12, 2019, 01:13 (GMT)
Cleanup: function grouping

Also rename widget color blending functions more clearly.

- color_blend_v3_v3, was widget_state_blend
- color_blend_v4_v4v4, was round_box_shade_col4_r
- color_ensure_contrast_v3, was rgb_ensure_contrast
September 12, 2019, 01:13 (GMT)
Cleanup: reuse mesh select mode enum
September 12, 2019, 01:13 (GMT)
Revert "UI: Add Dimensions to Object Transform panel"

This reverts commit 82fc9d778eecca16f867fd6e3aa3a2c04d86df4a.

This doesn't use the workaround from v3d_object_dimension_buts
needed for dimensions properly update.

Doing this would require moving the panel to C.

Issues from T69536 should be resolved before adding this back.
September 12, 2019, 01:13 (GMT)
Eevee: Shadow map refactor

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5659
September 12, 2019, 01:13 (GMT)
Fix T68840: Metaballs update 'NEVER' method not working

Was always evaluating due to typo in rB34ab90f546f0.

Reviewers: brecht

Maniphest Tasks: T68840

Differential Revision: https://developer.blender.org/D5695
September 12, 2019, 01:10 (GMT)
Fix: Compile error due to undefined isinf function.

Some implementations of the standard c++ library doesn't define its
functions in the global namespace. So the `isinf` function might
fail in some systems. To fix this, we use the `ensure_finite`
function instead.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5687
September 12, 2019, 01:10 (GMT)
Buildbot: enable tests to run again

These will not stop the build on failure yet, first step is to get them passing
more reliably.
September 12, 2019, 01:10 (GMT)
Tracking: Enable "Render Undistorted" only if there is actual distortion

Applies to "Setup Tracking Scene" operator which configures background
images for the viewport.

Solves unnecessary slowdown and higher memory usage when camera's model
does not have any effective distortion.

Differential Revision: https://developer.blender.org/D5520
September 12, 2019, 01:10 (GMT)
Cleanup: de-duplicate code
September 12, 2019, 01:10 (GMT)
Mesh Batch Cache: Fix threading issue

I believed the crash I experienced happened because:
1. The `extract_pos_nor_init` function is called.
2. Tasks are added to the task pool for `extract_pos_nor`.
3. The tasks begin to be executed while more tasks are added.
4. In some rare cases, all existing tasks are finished, but not all have been added yet.
5. This let the task-counter go down to zero.
6. This triggered a call to `extract_pos_nor_finish`.
7. Then more tasks are added and in the end `extract_pos_nor_finish` is called again.

A solution is to use a task pool that is suspended when created.
Unfortunately, there was an outdated comment, that was probably the root cause of the issue.

Reviewers: fclem, sergey

Differential Revision: https://developer.blender.org/D5680
September 12, 2019, 01:10 (GMT)
Depsgraph: Ensure it's fully evaluated after POST callbacks

It is possible that POST callbacks will modify objects or relations.
This change makes it so an extra update pass is done if needed.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5690
September 12, 2019, 01:10 (GMT)
Depsgraph: Free user code from worry about updates flush
September 12, 2019, 01:10 (GMT)
Industry Compat keymap: Add Batch Rename to Alt-Return
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021