blender.git
3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 14 Aug 2018 00:45:00 +0000 (10:45 +1000)]
Merge branch 'master' into blender2.8

3 years agoCleanup: use boolean argument
Campbell Barton [Tue, 14 Aug 2018 00:41:28 +0000 (10:41 +1000)]
Cleanup: use boolean argument

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 14 Aug 2018 00:17:35 +0000 (10:17 +1000)]
Merge branch 'master' into blender2.8

3 years agoCleanup: use braces w/ particle loop macros
Campbell Barton [Tue, 14 Aug 2018 00:14:05 +0000 (10:14 +1000)]
Cleanup: use braces w/ particle loop macros

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 14 Aug 2018 00:02:43 +0000 (10:02 +1000)]
Merge branch 'master' into blender2.8

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 14 Aug 2018 00:02:05 +0000 (10:02 +1000)]
Merge branch 'master' into blender2.8

3 years agoCleanup: style
Campbell Barton [Tue, 14 Aug 2018 00:00:15 +0000 (10:00 +1000)]
Cleanup: style

3 years agoGPUShader: Fix previous "old Nvidia" fix commit
Clément Foucault [Mon, 13 Aug 2018 21:09:48 +0000 (23:09 +0200)]
GPUShader: Fix previous "old Nvidia" fix commit

Note to myself, next time, better check the fix before pushing it.

GL_ARB_texture_gather is defined if there is support for the extension
not only when the extension is enabled. Do this check ourself with
GPU_ARB_texture_gather define.

Original fix 822de6e9e1b8

3 years agoFix T56298: Rendering glitch when bones are in stick mode in ortho view
Clément Foucault [Mon, 13 Aug 2018 19:51:41 +0000 (21:51 +0200)]
Fix T56298: Rendering glitch when bones are in stick mode in ortho view

3 years agoCleanup: GPU codegen: remove most of legacy code
Clément Foucault [Mon, 13 Aug 2018 16:44:27 +0000 (18:44 +0200)]
Cleanup: GPU codegen: remove most of legacy code

A lot of code in codegen was used by previous GLSL system.
Now most of it is not used due to all the things being written from scratch
in 2.8 and we can clean most of it.

As a side not this make the system a bit less flexible (no support for
cubemaps, preview image, etc...) but can be extended again.

3 years agoCleanup: Rename GPU_* functions to make more sense
Clément Foucault [Mon, 13 Aug 2018 13:30:29 +0000 (15:30 +0200)]
Cleanup: Rename GPU_* functions to make more sense

* Remove GPU_link_changed which is unused.
* Remove all GPU link function that are not used anymore.
* GPU_uniform_buffer is now GPU_uniform.
* GPU_texture_ramp is now GPU_color_band.
* GPU_uniform is now GPU_constant.

3 years agoFix T55802 shader compile bug with texture gather on old Nvidia card
Clément Foucault [Mon, 13 Aug 2018 09:48:44 +0000 (11:48 +0200)]
Fix T55802 shader compile bug with texture gather on old Nvidia card

The extension GL_ARB_texture_gather is reported to be supported and does
not trigger an error when enabled but the textureGater functions are not
defined.

Workaround is to disable the use of this extension on such systems.

3 years agobuild_environment: Remove lapack
Ray Molenkamp [Mon, 13 Aug 2018 20:56:49 +0000 (14:56 -0600)]
build_environment: Remove lapack

3 years agobuild_environment: iconv 1.15
Ray Molenkamp [Mon, 13 Aug 2018 20:45:27 +0000 (14:45 -0600)]
build_environment: iconv 1.15

3 years agobuild_environment: fftw 3.3.8
Ray Molenkamp [Mon, 13 Aug 2018 19:21:36 +0000 (13:21 -0600)]
build_environment: fftw 3.3.8

3 years agobuild_environment: openexr support debug build.
Ray Molenkamp [Mon, 13 Aug 2018 18:37:12 +0000 (12:37 -0600)]
build_environment: openexr support debug build.

3 years agoUse full transformation of B-Bone segments in Copy Transforms.
Alexander Gavrilov [Mon, 9 Jul 2018 19:25:44 +0000 (22:25 +0300)]
Use full transformation of B-Bone segments in Copy Transforms.

Currently constraints can only read the location along the
spline. This obviously limits opportunities for complex bone
interactions in rigs.

This patch exposes access to rotation and scale as well in
Copy Transforms. However, due to the way how things work,
this data cannot be smoothly interpolated, and abruptly
changes when switching to the next segment.

Reviewers: aligorith

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

3 years agobuild_environment: alembic 1.7.8
Ray Molenkamp [Mon, 13 Aug 2018 17:35:58 +0000 (11:35 -0600)]
build_environment: alembic 1.7.8

3 years agoImplement multiplicative Copy Scale and make it the new default.
Alexander Gavrilov [Tue, 24 Jul 2018 15:53:22 +0000 (18:53 +0300)]
Implement multiplicative Copy Scale and make it the new default.

Scale is a multiplicative quantity, so adding it doesn't make sense.
However, for backward compatibility reasons, and in case somebody
actually desires the old additive behavior, the old way remains as
an option.

Without this change the only way to properly combine scale is via
parenting or the complicated Transformation constraint.

The new mode is turned on by a flag for file compatibility, but the
RNA option is reversed so that the new behavior feels more default.

Reviewers: aligorith

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

3 years agoFix dependency graph for constraints depending on B-Bone shape.
Alexander Gavrilov [Thu, 9 Aug 2018 14:17:40 +0000 (17:17 +0300)]
Fix dependency graph for constraints depending on B-Bone shape.

Some constraints have an option to take the final bezier shape of
the target B-Bone into account. This shape usually depends on two
other bones in addition to the target itself, so the graph should
include the relevant dependencies.

Reviewers: sergey

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

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Mon, 13 Aug 2018 15:49:19 +0000 (17:49 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T55745: Pick Shortest Path tool, inconsistent selection.
Bastien Montagne [Mon, 13 Aug 2018 15:40:44 +0000 (17:40 +0200)]
Fix T55745: Pick Shortest Path tool, inconsistent selection.

To get consistent, user-expected results here, we need to 'fake'
starting immediately after a 'skip' block (such that we start with a
full block of selected elements).

Same issue affected vertices and edges selection of course, did not
check the other usages of WM_operator_properties_checker_interval_test()
though.

3 years agobuild_environment: fix windows ilmbase/openexr support.
Ray Molenkamp [Mon, 13 Aug 2018 15:27:57 +0000 (09:27 -0600)]
build_environment: fix windows ilmbase/openexr support.

seems like the openexr 2.3.0 release tarball has broken cmake support, latest from git works
we'll have to revisit this once they get a new release out.

3 years agoVersion update to 2.80 Alpha 2, new splash from Hero open movie.
Brecht Van Lommel [Mon, 13 Aug 2018 14:52:34 +0000 (16:52 +0200)]
Version update to 2.80 Alpha 2, new splash from Hero open movie.

3 years agoSubsurf: Introduce quality option
Sergey Sharybin [Mon, 13 Aug 2018 13:39:01 +0000 (15:39 +0200)]
Subsurf: Introduce quality option

For users it defines how accurate vertex positions are in terms
of limit surface (as in, how close the vertices locations to the
condition when they are calculated for an infinitely subdivided
mesh).

This affects things like:

- Irregular vertices (joint of 3 or more edges)
- Crease

Keep quality value low for performance.

NOTE: Going higher does not necessarily mean real improvement
in quality, ideal case might be reached well before maximum
quality of 10. Quality of 3 is a good starting point.

Internally quality is translated directly to adaptive subdivision
level.

Reviewers: brecht

Reviewed By: brecht

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

3 years agobuild_environment: ffmpeg 4.0.2
Ray Molenkamp [Mon, 13 Aug 2018 13:57:09 +0000 (07:57 -0600)]
build_environment: ffmpeg 4.0.2

with
lame 3.100
ogg 1.3.3
vorbis 1.3.6
flac 1.3.2
vpx 1.7.0
x264 20180811
xvidcore 1.3.5
faad 2.8.8

3 years agoFix bevel problem for vertex-only cube corners.
Howard Trickey [Mon, 13 Aug 2018 13:25:16 +0000 (09:25 -0400)]
Fix bevel problem for vertex-only cube corners.

Was introduced by code from gsoc branch that does better job
on cube corners, but shouldn't have applied to vertex-only case.

3 years agobuild_environment: update ilmbase and openexr to 2.3.0
Arto Kitula [Mon, 13 Aug 2018 13:12:30 +0000 (16:12 +0300)]
build_environment: update ilmbase and openexr to 2.3.0

3 years agoDepsgraph: Build node and relations for movieclip ID for its nodes
Dalai Felinto [Mon, 13 Aug 2018 13:11:21 +0000 (10:11 -0300)]
Depsgraph: Build node and relations for movieclip ID for its nodes

Otherwise we get asserts when opening files with the Move Distortion node.

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Mon, 13 Aug 2018 11:49:48 +0000 (13:49 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: avoid too close namings, prone to typo mistakes!
Bastien Montagne [Mon, 13 Aug 2018 11:47:06 +0000 (13:47 +0200)]
Cleanup: avoid too close namings, prone to typo mistakes!

3 years agoFix T56224: Blender2.8 will force a quit when trying to open a scene containing clip...
Bastien Montagne [Mon, 13 Aug 2018 11:43:35 +0000 (13:43 +0200)]
Fix T56224: Blender2.8 will force a quit when trying to open a scene containing clip track created by blender 2.79.

Beautiful example of typo going unoticed and firing back up in totally
unexpected place years later. Guess nobody actually duplicated a Clip
data-block before! :P

Most likely own fault, during refactor of ID copying code.

3 years agoDepsgraph: Remove obscure code which was only needed for old OSD implementation
Sergey Sharybin [Mon, 13 Aug 2018 11:03:50 +0000 (13:03 +0200)]
Depsgraph: Remove obscure code which was only needed for old OSD implementation

3 years agoSubsurf: Remove OpenSubdiv options from modifier
Sergey Sharybin [Mon, 13 Aug 2018 11:03:50 +0000 (13:03 +0200)]
Subsurf: Remove OpenSubdiv options from modifier

There are following reasons to do so:

- The plan is to replace it with some sort of object or viewport option,
  so we can apply OpenSubdiv subdivisions on top of modifier stack and
  keep modifier stack purely CPU side.

  This will solve issues when adding some relation in scene will force
  modifier to be evaluated on CPU.

- With new upcoming OpenSubdiv based CPU modifier implementation we can
  cache topology similar to what GPU side was doing, which will already
  be reasonably faster.

- OpenSubdiv GPU does not work since the OpenGL version bump, and is
  to be rewritten with all the adaptive refine options kept in mind.

Since OpenSubdiv GPU was already broken and was only causing object
to become invisible, there is no reason to keep having that option in
the modifier.

Reviewers: brecht

Reviewed By: brecht

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

3 years agoFix T56290: Segfault when loading file - OpenSubdiv
Sergey Sharybin [Mon, 13 Aug 2018 10:51:34 +0000 (12:51 +0200)]
Fix T56290: Segfault when loading file - OpenSubdiv

Filled missing callbacks to converter.

3 years agoSubsurf: Make uv boundaries easily extendible
Sergey Sharybin [Thu, 2 Aug 2018 11:36:22 +0000 (13:36 +0200)]
Subsurf: Make uv boundaries easily extendible

This replaces old single toggle option to subdivide UVs with
an enum which can have more options. The usecase for this is
to be compatible with other software. But we also might choose
different subdivision type as default in the future.

DNA and underlying code supports all possible options, but
only the ones which are compatible with old subdivision code
are currently exposes.

Reviewers: brecht

Reviewed By: brecht

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

3 years agoOpenSubdiv: Add stub implementation of C-API
Sergey Sharybin [Mon, 13 Aug 2018 10:21:29 +0000 (12:21 +0200)]
OpenSubdiv: Add stub implementation of C-API

C-API is way smaller than the rest of the code which uses it.
So better to conditionally compile stub implementation than
to keep adding ifdef everywhere.

3 years agoOpenSubdiv: Fix typo in crease comparison
Sergey Sharybin [Mon, 13 Aug 2018 09:52:44 +0000 (11:52 +0200)]
OpenSubdiv: Fix typo in crease comparison

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Mon, 13 Aug 2018 09:58:24 +0000 (11:58 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T56344: Crash when used Twist for Emitter type of Particles System.
Bastien Montagne [Mon, 13 Aug 2018 09:57:18 +0000 (11:57 +0200)]
Fix T56344: Crash when used Twist for Emitter type of Particles System.

That effect is NOP with emitter particles anyway...

3 years agoCleanup: Description should not end with a fullstop
Sergey Sharybin [Mon, 13 Aug 2018 09:45:55 +0000 (11:45 +0200)]
Cleanup: Description should not end with a fullstop

3 years agoPyAPI: update scripts for matrix multiply operator
Campbell Barton [Sun, 12 Aug 2018 05:01:26 +0000 (15:01 +1000)]
PyAPI: update scripts for matrix multiply operator

Operators:
- add torus
- align objects
- bake physics
- make dupli faces
- smart project

Templates:
- 3D view ray cast

Other:
- Methods for bones/edit-bones

3 years agoGizmo: add blank gizmo definition
Campbell Barton [Sun, 12 Aug 2018 03:17:10 +0000 (13:17 +1000)]
Gizmo: add blank gizmo definition

Missed from 98c304e865f by accident.

3 years agobuild_environment: blosc 1.14.4
Ray Molenkamp [Sat, 11 Aug 2018 21:34:11 +0000 (15:34 -0600)]
build_environment: blosc 1.14.4

3 years agobuild_environment: zlib move harvesting to zlib.cmake
Ray Molenkamp [Sat, 11 Aug 2018 21:13:39 +0000 (15:13 -0600)]
build_environment: zlib move harvesting to zlib.cmake

3 years agobuild_environment:openal 1.18.2
Ray Molenkamp [Sat, 11 Aug 2018 20:44:02 +0000 (14:44 -0600)]
build_environment:openal 1.18.2

3 years agobuild_environment: zlib 1.2.11
Ray Molenkamp [Sat, 11 Aug 2018 20:34:29 +0000 (14:34 -0600)]
build_environment: zlib 1.2.11

3 years agoCleanup: Fix wrong formatting
Antonioya [Sat, 11 Aug 2018 18:54:13 +0000 (20:54 +0200)]
Cleanup: Fix wrong formatting

For unknown reasons, visual studio unformat a section of the code.

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Sat, 11 Aug 2018 13:39:47 +0000 (15:39 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T56293: Particle Instance Modifier Axis Buttons UX.
Bastien Montagne [Sat, 11 Aug 2018 13:35:22 +0000 (15:35 +0200)]
Fix T56293: Particle Instance Modifier Axis Buttons UX.

Those axis buttons indeed affect instances orientation even when Create
Along Path is not defined...

3 years agodeplibs: disable functions that can be found on 10.13 sdk but aren't available on...
Arto Kitula [Sat, 11 Aug 2018 10:59:13 +0000 (13:59 +0300)]
deplibs: disable functions that can be found on 10.13 sdk but aren't available on 10.9 target

3 years agoCleanup: Remove debug print
Antonioya [Sat, 11 Aug 2018 08:03:06 +0000 (10:03 +0200)]
Cleanup: Remove debug print

3 years agoCleanup GP instance: Remove element 0 because is duplicated
Antonioya [Fri, 10 Aug 2018 19:32:25 +0000 (21:32 +0200)]
Cleanup GP instance: Remove element 0 because is duplicated

3 years agodeplibs: python use pkg-config from homebrew for ssl + xz
Arto Kitula [Fri, 10 Aug 2018 22:45:46 +0000 (01:45 +0300)]
deplibs: python use pkg-config from homebrew for ssl + xz

3 years agodeplibs: get freetype tar.gz rather than zip to get unix line endings
Arto Kitula [Fri, 10 Aug 2018 20:31:27 +0000 (23:31 +0300)]
deplibs: get freetype tar.gz rather than zip to get unix line endings

3 years agodeplibs: let cmake do normal install on webp
Arto Kitula [Fri, 10 Aug 2018 18:17:45 +0000 (21:17 +0300)]
deplibs: let cmake do normal install on webp

3 years agobuild_environment: python 3.7.0 + numpy 1.15.0
Ray Molenkamp [Fri, 10 Aug 2018 16:35:42 +0000 (10:35 -0600)]
build_environment: python 3.7.0 + numpy 1.15.0

3 years agoOutliner: use generic WM drag and drop system for collections.
Brecht Van Lommel [Fri, 10 Aug 2018 15:04:05 +0000 (17:04 +0200)]
Outliner: use generic WM drag and drop system for collections.

* Drag and drop between multiple outliners now works.
* Dragging the icon and text now give the same results.
* Fixes various crashes.

3 years agoWM: internal changes to support dragging multiple IDs.
Brecht Van Lommel [Sun, 5 Aug 2018 10:14:55 +0000 (12:14 +0200)]
WM: internal changes to support dragging multiple IDs.

To be used by the outliner.

3 years agoWM: pass on wmDrag to drop operators, so they can get the data directly.
Brecht Van Lommel [Tue, 7 Aug 2018 08:57:09 +0000 (10:57 +0200)]
WM: pass on wmDrag to drop operators, so they can get the data directly.

Currently drop operators work mostly by specifying the name of the datablock.
However there can be datablocks with the same name in different libraries, so
this gives wrong results in some cases.

Currently only outliner drop operators have been updated to use this mechanism.

3 years agoWM: drag and drop poll functions can now specify a custom tooltip.
Brecht Van Lommel [Tue, 7 Aug 2018 08:38:20 +0000 (10:38 +0200)]
WM: drag and drop poll functions can now specify a custom tooltip.

3 years agoCleanup: decouple outliner tree element icon retrieving from drawing.
Brecht Van Lommel [Tue, 7 Aug 2018 08:55:03 +0000 (10:55 +0200)]
Cleanup: decouple outliner tree element icon retrieving from drawing.

3 years agoCleanup: move most outliner drag & drop code into one file.
Brecht Van Lommel [Tue, 7 Aug 2018 08:23:07 +0000 (10:23 +0200)]
Cleanup: move most outliner drag & drop code into one file.

3 years agoupdate image libraries, D3005 with few mods
Arto Kitula [Fri, 10 Aug 2018 15:50:15 +0000 (18:50 +0300)]
update image libraries, D3005 with few mods

3 years agobuild_environment: remove unneeded boost patch on windows.
Ray Molenkamp [Fri, 10 Aug 2018 15:13:48 +0000 (09:13 -0600)]
build_environment: remove unneeded boost patch on windows.

3 years agoSubmodule commit generated by git tool
Antonioya [Fri, 10 Aug 2018 15:00:35 +0000 (17:00 +0200)]
Submodule commit generated by git tool

This commit des not change nothing only is required by visual studio git tool

3 years agoCleanup: Remove unused param
Antonioya [Fri, 10 Aug 2018 14:59:29 +0000 (16:59 +0200)]
Cleanup: Remove unused param

3 years agoGPUMaterial: Fix color ramp node with constant interpolation
Clément Foucault [Fri, 10 Aug 2018 14:16:09 +0000 (16:16 +0200)]
GPUMaterial: Fix color ramp node with constant interpolation

Color ramp with constant interpolation must bypass texture filtering and
use nearest neighboor sampling in order to appear correctly sharp.

This patch use a GLSL hack to use nearest sampling on thoses particular
color band.

3 years agoEevee: Fix assert with object volume rendering
Clément Foucault [Fri, 10 Aug 2018 14:04:52 +0000 (16:04 +0200)]
Eevee: Fix assert with object volume rendering

3 years agoGPUMaterial: Group all colorband texture together
Clément Foucault [Fri, 10 Aug 2018 13:13:39 +0000 (15:13 +0200)]
GPUMaterial: Group all colorband texture together

This lower the use of texture samplers slots and let users use more real
textures in their shaders.

This patch also make the ramp texture 16 bit floating point. Meaning you
can now use value greater than one in your color ramps.

With the limit of 128 colorband per shader (a color band being either a
color ramp, a wavelength node or a curve node (and maybe wavelength node in
the future)).

Only drawback with the current implementation is that it does not remove
colorband from pruned GPUNodes but it shouldn't really matter in practice.

This should fix T56010

3 years agoUI: Fix nodelink not touching inputs when noodle_curving is 0
Clément Foucault [Fri, 10 Aug 2018 12:24:31 +0000 (14:24 +0200)]
UI: Fix nodelink not touching inputs when noodle_curving is 0

3 years agoGP: Set instance maximum value to something more logic
Antonioya [Fri, 10 Aug 2018 13:57:45 +0000 (15:57 +0200)]
GP: Set instance maximum value  to something more logic

3 years agobuild_environment: update freetype to 2.9.1
Ray Molenkamp [Fri, 10 Aug 2018 13:48:27 +0000 (07:48 -0600)]
build_environment: update freetype to 2.9.1

3 years agoPython: Add support for @ infix operator matrix multiplication
Andrew Hale [Fri, 10 Aug 2018 12:53:38 +0000 (14:53 +0200)]
Python: Add support for @ infix operator matrix multiplication

This differential revision implements the code for T56276

Reviewers: campbellbarton

Reviewed By: campbellbarton

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

3 years agoFix build error due to missing file from commit 98c304e865f8.
Brecht Van Lommel [Fri, 10 Aug 2018 12:30:27 +0000 (14:30 +0200)]
Fix build error due to missing file from commit 98c304e865f8.

Proper contents still needs to be added, this just makes things build.

3 years agoFix unreported assert error when change instance modifier
Antonioya [Thu, 9 Aug 2018 18:48:05 +0000 (20:48 +0200)]
Fix unreported assert error when change instance modifier

Doing very fast change in the number of instances soemtimes get an error of duplicate ghash entry.

3 years agoGizmo: add option to catch all mouse clicks
Campbell Barton [Fri, 10 Aug 2018 11:04:06 +0000 (21:04 +1000)]
Gizmo: add option to catch all mouse clicks

This was previously default behavior, now it's default.

3 years agoGizmo: support for 2D selection checks for 3D gizmos
Campbell Barton [Fri, 10 Aug 2018 07:32:40 +0000 (17:32 +1000)]
Gizmo: support for 2D selection checks for 3D gizmos

This means 3D manipulators can use their own logic
for checking if the cursor intersects.

3 years agolibs: boost 1.68
Arto Kitula [Fri, 10 Aug 2018 00:08:18 +0000 (03:08 +0300)]
libs: boost 1.68

3 years agoGizmo: 2d select now takes region coords
Campbell Barton [Thu, 9 Aug 2018 13:10:54 +0000 (23:10 +1000)]
Gizmo: 2d select now takes region coords

Was taking an event, when only the region coords are needed.

3 years agoCleanup: style
Campbell Barton [Thu, 9 Aug 2018 22:10:07 +0000 (08:10 +1000)]
Cleanup: style

3 years agobuild_environment: move llvm/clang to ninja on windows.
Ray Molenkamp [Thu, 9 Aug 2018 18:53:39 +0000 (12:53 -0600)]
build_environment: move llvm/clang to ninja on windows.

3 years agoQuiet warnings in bmesh_bevel.c.
Howard Trickey [Thu, 9 Aug 2018 18:42:26 +0000 (14:42 -0400)]
Quiet warnings in bmesh_bevel.c.

3 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Thu, 9 Aug 2018 16:07:57 +0000 (18:07 +0200)]
Merge branch 'master' into blender2.8

3 years agoupdate llvm + clang to 6.0.1 and add openmp for macOS
Arto Kitula [Thu, 9 Aug 2018 14:57:12 +0000 (17:57 +0300)]
update llvm + clang to 6.0.1 and add openmp for macOS

3 years agoEevee: Fix assert with subsurface bsdf
Clément Foucault [Thu, 9 Aug 2018 14:45:56 +0000 (16:45 +0200)]
Eevee: Fix assert with subsurface bsdf

3 years agoEevee: Principled BSDF: Add support for the sheen parameter
Clément Foucault [Thu, 9 Aug 2018 13:03:15 +0000 (15:03 +0200)]
Eevee: Principled BSDF: Add support for the sheen parameter

This is a rough (but fast) approximation that still match cycles reference
in common case.

In practice, it's just adding more of the diffuse light computed for the
diffuse contribution.

3 years agoMerge branch 'soc-2018-bevel' into blender2.8
Rohan Rathi [Thu, 9 Aug 2018 14:22:07 +0000 (19:52 +0530)]
Merge branch 'soc-2018-bevel' into blender2.8

3 years agoFix T56279: Grease Pencil transformations show a help line with wrong origin
Antonioya [Thu, 9 Aug 2018 14:14:14 +0000 (16:14 +0200)]
Fix T56279: Grease Pencil transformations show a help line with wrong origin

As grease pencil use multiedit frames instead of multiobject edit, this fix solves the issue.

In the future maybe will need modifications if we add multiobject support, but we need a solution now.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 9 Aug 2018 14:03:09 +0000 (16:03 +0200)]
Merge branch 'master' into blender2.8

3 years agoCycles: Append compute units for RX Vega card names
fclem [Thu, 9 Aug 2018 13:41:24 +0000 (15:41 +0200)]
Cycles: Append compute units for RX Vega card names

Makes it more clear whether compute device is Vega 56 or Vega 64.

3 years agoCycles: Report more details about OpenCL devices
fclem [Thu, 9 Aug 2018 13:31:44 +0000 (15:31 +0200)]
Cycles: Report more details about OpenCL devices

3 years agoCycles: Util, add to_string() with some helper
fclem [Thu, 9 Aug 2018 13:27:19 +0000 (15:27 +0200)]
Cycles: Util, add to_string() with some helper

Currently unused, but will allow to convert unknown
argument type to a string for reporting and such.

3 years agoFix trivial error in call soc-2018-bevel
Rohan Rathi [Thu, 9 Aug 2018 13:26:46 +0000 (18:56 +0530)]
Fix trivial error in call

3 years agoFixed custom shading not updating in Edit Mode
Rohan Rathi [Thu, 9 Aug 2018 13:06:38 +0000 (18:36 +0530)]
Fixed custom shading not updating in Edit Mode

3 years agoGP: Add option to select color affected in modifiers
Charlie Jolly [Thu, 9 Aug 2018 11:42:02 +0000 (13:42 +0200)]
GP: Add option to select color affected in modifiers

Now it's possible to define if the Tint, Hue and OPacity modifier affect the stroke color, fill color or both.

3 years agoGP: Undo incorrect modification in previous commit
Antonioya [Thu, 9 Aug 2018 11:39:35 +0000 (13:39 +0200)]
GP: Undo incorrect modification in previous commit

3 years agoFix T56239: creating material crashes with OpenGL render engine selected.
Brecht Van Lommel [Thu, 9 Aug 2018 10:04:00 +0000 (12:04 +0200)]
Fix T56239: creating material crashes with OpenGL render engine selected.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 8 Aug 2018 22:20:06 +0000 (08:20 +1000)]
Merge branch 'master' into blender2.8

3 years agoMath Lib: varied size vector multiply
Andrew Hale [Wed, 8 Aug 2018 22:10:27 +0000 (08:10 +1000)]
Math Lib: varied size vector multiply

Needed for Python mathutils elementwise multiply.