Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1059 / 5574

September 6, 2019, 09:53 (GMT)
Transformation Constraint: implement a Mix Mode option.

Allow selecting how the new location/rotation/scale is combined with
the existing transformation. This is most useful for rotation, which
has multiple options, and scale, which previously could only replace.
September 6, 2019, 09:53 (GMT)
Transformation Constraint: initialize scale range values to 1 instead of 0.
Revision 5fd46d2 by Julian Eisel
September 6, 2019, 09:21 (GMT)
Fix failing assert on directory auto-creation

The failing assert was there before the recent file browser design
overhaul. Might have been in there for quite a while in fact.

Auto-creation in this case means that the file path would be created if
a non-existent path was entered in the file browser path button.
Revision e10f8c2 by Julian Eisel
September 6, 2019, 09:06 (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 6, 2019, 06:47 (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 6, 2019, 06:46 (GMT)
Cleanup: use doxy sections
September 6, 2019, 06:35 (GMT)
Viewport Shading: StudioLight Intensity

Add option to change the Intensity of the HDRI in the 3d viewport. This works for both EEVEE and Cycles

Reviewed By: brecht, fclem

Differential Revision: https://developer.blender.org/D5674
September 6, 2019, 04:58 (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 6, 2019, 04:57 (GMT)
Copy Rotation: implement new mixing modes that actually work.

Upon close inspection, the way the Offset mode works in the
Copy Rotation constraint makes no sense, and in fact, destroys
the rotation of its owner unless either it's single axis, or
the order is set specifically to `ZYX Euler`.

Since it can't simply be changed because of backward compatibility
concerns, replace the checkbox with a dropdown that provides a set
of new modes that actually make sense.

Specifically, add a mode that simply adds Euler components together,
and two options that use matrix multiplication in different order.

The Python use_offset property is replaced with compatibility stubs.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5640
Revision 9972d6c by Julian Eisel
September 5, 2019, 23:31 (GMT)
UI: Bring back features for file path button

Adds back auto-completion and auto-creation (inserting a non-existing
file-path would create it) for the file path button. The second feature
was left out knowingly, but seems there are reasonable use cases for it.

We can't add these features to the button in the Python script, we have
to call into C. So using a template to do that.
Note that this is based on the old file browser code, I've copied over
the TODO comment.
Revision 4c4a8bf by Julian Eisel
September 5, 2019, 22:13 (GMT)
Fix T69498: Crash on export UV Layout

Ensure there's a drawable context after the file browser window is
destroyed.
Revision fbf6898 by Julian Eisel
September 5, 2019, 21:38 (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 5, 2019, 20:21 (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 5, 2019, 20:05 (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 5, 2019, 19:31 (GMT)
LibOverride: Initial attempt to ignore missing place-holders IDs.

Ideally, when a reference linked ID is missing (and replaced by linking
code with an empty place-holder), we should just keep the local
overriding datablocks as-is, until broken links are fixed.

Not really working yet though, needs more work here...
September 5, 2019, 19:31 (GMT)
LibOverride: add a generic macro to check whetehr an ID is overridable.

...and use it in code generating library overrides.
September 5, 2019, 19:31 (GMT)
LibOverride: give more remapping control to `BKE_override_library_create_from_id()` too.

Similar change to the one done for tagged IDs overriding some days ago.
We do not always want to remap all local usages of a linked data-block
to its new local overriding copy.
September 5, 2019, 18:44 (GMT)
Fix T63653: Industry Compatible Keymap can't be saved & loaded

Replace keymap specific operator.
September 5, 2019, 18:44 (GMT)
Fix keymap export of enum-flag properties
September 5, 2019, 18:44 (GMT)
Object: Mode switching operator

Remove unused OBJECT_OT_mode_set_or_submode, add
OBJECT_OT_mode_set_with_submode which can switch to edit mode as well
as a sub-mode - currently only mesh select mode is supported
(others may be added later).
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021