Blender Git Loki

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

Page: 6 / 10

September 12, 2019, 01:13 (GMT)
Fix T68950: Adding lots of edge loops to cylinder produces a crash

Instead of fixed size, `IMM_BUFFER_SIZE` is adjustable now. The internal buffer can expand if there is a need a bigger buffer. All other behaviors are still the same.

Reviewed By: fclem, #gpu_viewport

Differential Revision: https://developer.blender.org/D5570
September 12, 2019, 01:13 (GMT)
Fix T68843: wireframe node in Eevee fails on macOS

Differential Revision: https://developer.blender.org/D5712
September 12, 2019, 01:13 (GMT)
Python API: implement an Operator callback for dynamic description.

Blender UI Layout API allows supplying parameters to operators via
button definitions. If an operator behavior strongly depends on its
parameters, it may be difficult to write a tooltip that covers all
of its operation modes. Thus it is useful to provide a way for the
operator to produce different descriptions based on the input info.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D5709
September 12, 2019, 01:13 (GMT)
UI: File Browser Preview Outlines

File Browser image thumbnails get just a contrasting outline and no shadow.

Differential Revision: https://developer.blender.org/D5708

Reviewed by Brecht Van Lommel
September 12, 2019, 01:13 (GMT)
Cleanup: includes in headers

Forward declare structs where possible.
September 12, 2019, 01:13 (GMT)
Fix T63653: Industry Compatible Keymap can't be saved & loaded

Replace keymap specific operator.
September 12, 2019, 01:13 (GMT)
Fix unreported: snapping to 3d tracking markers sometimes fails
September 12, 2019, 01:13 (GMT)
Fix keymap export of enum-flag properties
September 12, 2019, 01:13 (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.
September 12, 2019, 01:13 (GMT)
Cleanup: Cmake submodule checks

It is a pain if the subfile we are checking if it exists gets
renamed/removed.

Instead we can check if the directory is empty.

Reviewers: mont29

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D5653
September 12, 2019, 01:13 (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
September 12, 2019, 01:13 (GMT)
Fix T69498: Crash on export UV Layout

Ensure there's a drawable context after the file browser window is
destroyed.
September 12, 2019, 01:13 (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 12, 2019, 01:13 (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.
September 12, 2019, 01:13 (GMT)
LibOverride: add a generic macro to check whetehr an ID is overridable.

...and use it in code generating library overrides.
September 12, 2019, 01:13 (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 12, 2019, 01:13 (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 12, 2019, 01:13 (GMT)
Cleanup: use doxy sections
September 12, 2019, 01:13 (GMT)
Improve some textures UI properties click-drag precision

When click-dragging to change values in textures (for example Musgrave-
>Size to give an example) the step size is too big.

Reviewers: brecht, lichtwerk

Reviewed By: brecht, lichtwerk

Differential Revision: https://developer.blender.org/D5661
September 12, 2019, 01:13 (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