Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2523 / 8462

May 13, 2019, 15:55 (GMT)
Fix T63325: Drivers freezing input value

Not sure why driver would be affecting on the behavior, the actual
issue was caused by lack of proper relations built for lamps and
cameras.
May 13, 2019, 14:46 (GMT)
Fix T64387: Crash with driver copy/paste

Was missing copy-on-write tag since lamp itself has no geometry or
transform.

Now tagging for animation, and taking care of special case in the
dependency graph.
May 13, 2019, 13:56 (GMT)
Cycles/Eevee: add Emission and Alpha inputs to Principled BSDF

This makes it easier to set up materials with emission and transparency.
Importers/exporters and add-ons are recommended to now use these rather than
creating separate transparent BSDF and emission nodes.
May 13, 2019, 13:56 (GMT)
Cycles/Eevee: unify light strength and color

Cycles lights now use strength and color properties of the light outside
of the shading nodes, just like Eevee. The shading nodes then act as a
multiplier on this, and become optional unless textures, fallof or other
effects are desired.

Backwards compatibility is not exact, as we can't be sure which renderer
the .blend was designed for or even if it was designed for a single one.

If the render engine in the active scene is set to Cycles, lights are
converted to ensure overall light strength remains the same, and removing
unnecessary shader node setups that only included a single emission node.

If the engine is set to Eevee, we increase strength to remove the automatic
100x multiplier that was there to match Cycles.

Differential Revision: https://developer.blender.org/D4588
May 13, 2019, 13:56 (GMT)
Cycles/Eevee: unified and improved texture image color space handling

Cycles now uses the color space on the image datablock, and uses OpenColorIO
to convert to scene linear as needed. Byte images do not take extra memory,
they are compressed in scene linear + sRGB transfer function which in common
cases is a no-op.

Eevee and workbench were changed to work similar. Float images are stored as
scene linear. Byte images are compressed as scene linear + sRGB and stored in
a GL_SRGB8_ALPHA8 texture. From the GLSL shader side this means they are read
as scene linear, simplifying the code and taking advantage of hardware support.

Further, OpenGL image textures are now all stored with premultiplied alpha.
Eevee texture sampling looks a little different now because interpolation
happens premultiplied and in scene linear space.

Overlays and grease pencil work in sRGB space so those now have an extra
conversion to sRGB after reading from image textures. This is not particularly
elegant but as long as engines use different conventions, one or the other
needs to do conversion.

This change breaks compatibility for cases where multiple image texture nodes
were using the same image with different color space node settings. However it
gives more predictable behavior for baking and texture painting if save, load
and image editing operations have a single color space to handle.

Differential Revision: https://developer.blender.org/D4807
May 13, 2019, 13:56 (GMT)
Tests: disable DoF in Eevee tests for now, it adds blurring with default values
May 13, 2019, 13:24 (GMT)
Depsgraph: Use for_render flag for curves from depsgraph

Fixes issue with Eevee always using viewport curve resolution.
May 13, 2019, 13:06 (GMT)
Curve: Remove duplicated and confusing argument

Curve function had two arguments:

- for_render, which was originally supposed to be used to control
whether viewport or render visibility for modifiers is to be
used.

- use_render_resolution, which sounds like it is supposed to control
whether viewport or render resolution for curves is to be used.

What is totally confusing is that those arguments were used
interchangeably: sometimes use_render_resolution would control
modifiers visibility.

This commit makes it so there is one single argument for this.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4850
May 13, 2019, 12:28 (GMT)
Preferences: set dirty when editing quick favourites menu
May 13, 2019, 09:55 (GMT)
UI: Don't display markers in driver editor
May 13, 2019, 09:50 (GMT)
Fix T64403: crash sampling coloring in texture paint mode
May 13, 2019, 09:49 (GMT)
Fix T64041: Vertex Sharp not working.

Broken in rB0ac3d5f7db67 last year...
May 13, 2019, 09:48 (GMT)
UI: rename Load Preferences to Revert
May 13, 2019, 09:38 (GMT)
Fix T64120: Dynamic Paint Doesn't Recalculate Normals with Smooth Shading.

For wome reason, tag to mark normals as needing recompute was commented
out instead of updated to new system, during conversion of DynaPaint
code for 2.8 new evaluation stack... Trivial fix.
May 13, 2019, 09:36 (GMT)
RNA: disable undo on OperatorProperties and its subclasses.

Since these are temporary properties, changing them shouldn't cause
undo pushes. There already is a flag to disable that, but since each
operator inherits its own properties from the base, RNA define code
also had to be changed to allow inheriting the flag.
May 13, 2019, 08:57 (GMT)
Fix unintended autosaving of preferences in a few cases

* Dirty flag was not cleared on load
* Navigating tabs should not cause save
* Background mode should not autosave (for e.g. render farms and tests)
May 13, 2019, 08:57 (GMT)
Python API: expose preferences.is_dirty
May 13, 2019, 08:14 (GMT)
cleanup: typo in comment
May 13, 2019, 08:06 (GMT)
Merge branch 'master' into greasepencil-object
May 13, 2019, 08:05 (GMT)
Merge branch 'master' into functions
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021