Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1089 / 5574

August 14, 2019, 08:54 (GMT)
Fix cycles crash when voxel attributes changed

This could happen e.g. when changing smoke type from flow to domain or
connecting a volume shader with to a domain without an actual flow type
around.

Fixes T58569, T68359

Reviewers: brecht

Maniphest Tasks: T58569, T68359

Differential Revision: https://developer.blender.org/D5478
Revision 7a7eada by Omar Emara
August 14, 2019, 08:53 (GMT)
Shading: Add a clamp option to the Map Range node.

If the option is enabled, the output is clamped to the target range.
The target range is [To Min, To Max]. The option is enabled by default.

The clamp option is implemented in EEVEE by linking to the `clamp_value`
GLSL function. And it is implemented in Cycles using a graph expand
function.

Reviewers: brecht, JacquesLucke

Differential Revision: https://developer.blender.org/D5477
August 14, 2019, 08:30 (GMT)
Fix T68597: GPencil Dope Sheet can fail to display active GP object

Now, the dopesheet is activated if the object is in any Edition mode.
August 14, 2019, 01:55 (GMT)
cleanup: fix python related build error on windows.

Recent python changes caused issues on some systems.
August 13, 2019, 23:03 (GMT)
make.bat: Support running python from lib folder for make format

We are no longer depended on a system python being installed.
August 13, 2019, 23:02 (GMT)
deps: python 3.7.4 for windows.

This also updates to a new packaging method where python is runnable
from the library folder rather than having tarballs in the release
folder.
August 13, 2019, 23:00 (GMT)
deps/cleanup: remove partial boost-python support.

boost python was not required by any dependency nor was it ever properly supported.
August 13, 2019, 22:58 (GMT)
build_environment/python: Bump versions of our site-packages

IDNA 2.8
CHARDET 3.0.4
URLLIB3 1.25.3
CERTIFI 2019.6.16
REQUESTS 2.22.0
NUMPY 1.17.0
Revision 313b789 by Omar Emara
August 13, 2019, 20:22 (GMT)
Shading: Add Clamp node to Cycles and EEVEE.

This patch adds a new node that clamps a value between a maximum and
a minimum values.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5476
Revision 71641ab by Omar Emara
August 13, 2019, 14:38 (GMT)
Shading: Add Map Range node to Cycles and EEVEE.

This patch adds a new Map Range node that linearly remaps an input
value from a range to another. This node is similar to the compositor's
Map Range node.

Reviewers: brecht, JacquesLucke

Differential Revision: https://developer.blender.org/D5471
August 13, 2019, 14:38 (GMT)
Fix T67516 VSE: Animation evaluated incorrectly when scene strip present

The calls to `BKE_animsys_evaluate_all_animation()` and
`BKE_mask_evaluate_all_masks()` used the wrong timecode to evaluate the
animation system. This happened:

- Sequencer in scene A was rendered at frame X.
- Scene strip for scene B which should be evaluated at frame Y.
- BKE_animsys_evaluate_all_animation() was called with frame Y, which
also re-evaluated the animation data in scene A.
- Other sequencer strips with animated values were then evaluated for
frame Y and not frame X.

Since the depsgraph for rendering the scene strip is already OK and does
its job, it's no longer necessary to re-evaluate all the animation in
this way.

Removed `BKE_mask_evaluate_all_masks()` because it's no longer used.

Reviewers: sergey, brecht, iss

Differential Revision: https://developer.blender.org/D5394
August 13, 2019, 14:13 (GMT)
Custom Properties: officially support int and float arrays in the UI.

In some rare cases it is convenient to store a short array value
as a custom property, e.g. a vector or color. For example, it may
be helpful when importing/exporting certain formats that support
custom or nonstandard attributes on objects.

The custom property storage already can handle arrays in order to
support properties defined via python. The only thing missing is
UI support (and some bugs), and this patch fixes that:

- Allow editing short array properties via Custom Properties panel.
- Fix a UI layout sizing bug triggered by the previous item.
- Fix a dependency graph bug with drivers using such properties.
- Make RNA_*_get_default_array code robust in case of size mismatch.
- Support custom default values for array properties, allowing
both an array and a scalar value.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D5457
August 13, 2019, 13:47 (GMT)
UI: Fix wrong properties being grayed out

This has been mentioned in T68610.
August 13, 2019, 13:37 (GMT)
Fix T66373: Strange translation text behaviour.

i18n code does not work from threads on some plaforms, so it is disabled
in Blender when called from non-main thread.

Means that we have to go to a slightly different approach, with dirty
tag and generating string on request for UI.

Note: Also had to update the `info` string size, to fit with expensive
asiatic scripts in utf-8... Using mem for that kind of runtime data is
not really nice, but for now it will have to do.
August 13, 2019, 11:31 (GMT)
Add mathutils.geometry.delaunay_2d_cdt() function to Python API.

Provides Python API access to recently added Constrained Delaunay
Triangulation routine.
Reviewed in D5467.
August 13, 2019, 08:20 (GMT)
Fix T65670: bone envelope head radius missing from transform panel

Make the transforms section of the properties panel consistent with
the transforms section of the side-bar, and to expose some currently
hidden BBone properties in the Bendy Bone section.

- Object transformations were not consistent with Pose Bone
transformations in that they did not use single-column layout.

- Even in Pose Bone transformations,
the rotation mode option was after Scale.

- Edit Bone Transforms panel included "Tail Radius" and
"Envelope Deform Distance", neither of which belong there. See T65670.

- Expose bbone_x and bbone_z.

D5454 by @Mets
August 13, 2019, 04:04 (GMT)
Fix build errors with older GCC versions like 4.9

We can add more fine grained checks for when these flags are supported so
that adding asan flags manually still has all the workarounds, but for now
compiling succesfully is more important.
August 12, 2019, 21:22 (GMT)
Fix T68507: Gpencil: Show always the Select Menu in Edit Mode

In Grease Pencil Edit Mode the Select menu should always be visible. Right now the menu visibility is controlled by the Selection Mask button next interpolate popover

Differential Revision: https://developer.blender.org/D5466
August 12, 2019, 20:13 (GMT)
Fix T68547: Plane Constraint inaccuracy

If it is to prevent division by zero just check if the `factor` is zero (instead of using an epsilon).
August 12, 2019, 19:46 (GMT)
UI: Use singular noun form in add menus
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021