2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 1 Oct 2018 04:06:24 +0000 (14:06 +1000)]
Merge branch 'master' into blender2.8

2 years agoBLI_math: add `isect_seg_seg_v3`
mano-wii [Mon, 1 Oct 2018 03:16:44 +0000 (00:16 -0300)]
BLI_math: add `isect_seg_seg_v3`

2 years agoBLI_math: add `isect_seg_seg_v3` function and use in the cloth collision algorith.
mano-wii [Mon, 1 Oct 2018 03:16:44 +0000 (00:16 -0300)]
BLI_math: add `isect_seg_seg_v3` function and use in the cloth collision algorith.

In my tests a 4% improvement in performance was achieved by simulating a square cloth over the cube.

2 years agoCleanup: use standard prefix for boolean settings
Campbell Barton [Mon, 1 Oct 2018 01:56:41 +0000 (11:56 +1000)]
Cleanup: use standard prefix for boolean settings

Avoid using 'add' as a prefix, it reads like a method.

2 years agoFix freed memory use w/ panel unregister
Campbell Barton [Mon, 1 Oct 2018 00:31:24 +0000 (10:31 +1000)]
Fix freed memory use w/ panel unregister

2 years agoCleanup: use tuple unpacking
Campbell Barton [Sun, 30 Sep 2018 22:45:46 +0000 (08:45 +1000)]
Cleanup: use tuple unpacking

2 years agoCleanup: pep8, unused import
Campbell Barton [Sun, 30 Sep 2018 22:42:58 +0000 (08:42 +1000)]
Cleanup: pep8, unused import

2 years agoCleanup: style
Campbell Barton [Sun, 30 Sep 2018 22:42:26 +0000 (08:42 +1000)]
Cleanup: style

2 years agoFix T56981: python .scene_raycast returned object is not selectable.
Bastien Montagne [Sun, 30 Sep 2018 21:54:11 +0000 (23:54 +0200)]
Fix T56981: python .scene_raycast returned object is not selectable.

Was returning COW evaluated object, not actual data-block...

2 years agoFix T56879: Blender2.8 Crash when Editing Text on Curve.
Bastien Montagne [Sun, 30 Sep 2018 19:36:02 +0000 (21:36 +0200)]
Fix T56879: Blender2.8 Crash when Editing Text on Curve.

Moving cursor in 3D text edit mode calls `BKE_vfont_to_curve_ex()`,
which expects to work with evaluated data (curve cache runtime etc.).

2 years agoFix T56396: Cycles wrong object motion blur with deformation blur disabled.
Brecht Van Lommel [Fri, 28 Sep 2018 16:22:35 +0000 (18:22 +0200)]
Fix T56396: Cycles wrong object motion blur with deformation blur disabled.

2 years agoFix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
Brecht Van Lommel [Sun, 30 Sep 2018 17:28:15 +0000 (19:28 +0200)]
Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.

This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.

2 years agoGP: The primitive line must not enable cyclic mode
Antonioya [Sun, 30 Sep 2018 16:45:45 +0000 (18:45 +0200)]
GP: The primitive line must not enable cyclic mode

2 years agoGP: Cleanup and remove old debug code
Antonioya [Sun, 30 Sep 2018 16:26:50 +0000 (18:26 +0200)]
GP: Cleanup and remove old debug code

2 years agoFix T56984: GP: Materials: Isolate (lock/visibility) buttons don't work.
Antonioya [Sun, 30 Sep 2018 15:35:41 +0000 (17:35 +0200)]
Fix T56984: GP: Materials: Isolate (lock/visibility) buttons don't work.

2 years agoio_utils: remove `orientation_helper_factory`.
Bastien Montagne [Sun, 30 Sep 2018 15:30:29 +0000 (17:30 +0200)]
io_utils: remove `orientation_helper_factory`.

Now we only use orientation_helper decorator.

2 years agoGP: New option to disable lasso while drawing
Antonioya [Sun, 30 Sep 2018 14:21:28 +0000 (16:21 +0200)]
GP: New option to disable lasso while drawing

Now it's possible to disable the lasso effect of the fill color while drawing with a fill color.

This sometimes is required to see the lines and it's the first step to implement a new lasso brush.

2 years agoGP: Ensure falloff curve is always initializated
Antonioya [Sun, 30 Sep 2018 13:59:10 +0000 (15:59 +0200)]
GP: Ensure falloff curve is always initializated

2 years agoFix T56970 GP: Sculpt mode : Grap tool doesn't work
Antonioya [Sun, 30 Sep 2018 11:54:23 +0000 (13:54 +0200)]
Fix T56970 GP: Sculpt mode : Grap tool doesn't work

2 years agoGP: Fix error in mutiedit if curve is not available
Antonioya [Sun, 30 Sep 2018 10:54:17 +0000 (12:54 +0200)]
GP: Fix error in mutiedit if curve is not available

2 years agoGP: Do not use UI pixel scale for strokes
Antonioya [Sun, 30 Sep 2018 09:46:47 +0000 (11:46 +0200)]
GP: Do not use UI pixel scale for strokes

This scale value only must affect the interface, but never the stroke.

2 years agoGP: implement Shadow FX (wip)
Antonioya [Sun, 30 Sep 2018 09:19:04 +0000 (11:19 +0200)]
GP: implement Shadow FX (wip)

Initial implementation of effect to create a drop shadow of the strokes

2 years agoAdd Image Operator: minor tweaks
Campbell Barton [Sun, 30 Sep 2018 07:55:39 +0000 (17:55 +1000)]
Add Image Operator: minor tweaks

- Use exception message on error.
- Use 3D view cursor location (for local view).

2 years agoFix mysterious crash when using textureGather on Intel drivers.
mano-wii [Sat, 29 Sep 2018 19:56:47 +0000 (16:56 -0300)]
Fix mysterious crash when using textureGather on Intel drivers.

The crash occurs in a shader with uniform block of a certain size and misaligned.

2 years agoGP: Fix Thickness modifier error for strokes with few points
Antonioya [Sat, 29 Sep 2018 16:07:35 +0000 (18:07 +0200)]
GP: Fix Thickness modifier error for strokes with few points

2 years agoFix mixed drawing face and edge checks in draw manager
Dalai Felinto [Sat, 29 Sep 2018 15:22:44 +0000 (12:22 -0300)]
Fix mixed drawing face and edge checks in draw manager

2 years agoGP: New parameters for instance modifier: Material and On Top
Antonioya [Sat, 29 Sep 2018 14:42:33 +0000 (16:42 +0200)]
GP: New parameters for instance modifier: Material and On Top

Now it's possible to define what material is used in the generated strokes and if the strokes are put in front of the original (default) or keep the original in front.

Before, the generated strokes have been always on top of the original because they were drawn later.

2 years agoA new function to move list at the beginning of another list
Antonioya [Sat, 29 Sep 2018 14:39:45 +0000 (16:39 +0200)]
A new function to move list at the beginning of another list

This is a change of the BLI_movelisttolist but in reverse order.

2 years agoMulti-Objects: ARMATURE_OT_switch_direction
Dalai Felinto [Fri, 28 Sep 2018 22:11:27 +0000 (19:11 -0300)]
Multi-Objects: ARMATURE_OT_switch_direction

2 years agoMulti-Objects: ARMATURE_OT_armature_layers
Dalai Felinto [Fri, 28 Sep 2018 22:06:07 +0000 (19:06 -0300)]
Multi-Objects: ARMATURE_OT_armature_layers

2 years agoExpose armature.dissolve to the menu
Dalai Felinto [Fri, 28 Sep 2018 21:53:25 +0000 (18:53 -0300)]
Expose armature.dissolve to the menu

Following the vertice delete menu logic here, where delete needs no verb
and the special case (dissolve here) gets the full verb + noun)

Note: This operator wasn't even listed in the T54646 task. I suspect other
operators may share the same fate.

2 years agoMultiple-Objects: ARMATURE_OT_dissolve
Dalai Felinto [Fri, 28 Sep 2018 21:42:42 +0000 (18:42 -0300)]
Multiple-Objects: ARMATURE_OT_dissolve

2 years agoMultiple-Objects: ARMATURE_OT_flip_names
Dalai Felinto [Fri, 28 Sep 2018 21:20:34 +0000 (18:20 -0300)]
Multiple-Objects: ARMATURE_OT_flip_names

2 years agoRNA: Cleanup - remove no longer needed get/set functions
Dalai Felinto [Fri, 28 Sep 2018 19:44:48 +0000 (16:44 -0300)]
RNA: Cleanup - remove no longer needed get/set functions

Left over from rBbdbf4471a6c4ba2d444eea5e7f0e6984b3aaafc2.

2 years agoFix painting clone ui/rna not working
Dalai Felinto [Fri, 28 Sep 2018 19:34:12 +0000 (16:34 -0300)]
Fix painting clone ui/rna not working

2 years agoGP: Fix Fx Wave options panel
Antonioya [Fri, 28 Sep 2018 16:55:53 +0000 (18:55 +0200)]
GP: Fix Fx Wave options panel

The orientation was layout vertical

2 years agoMulti-Objects: Fix edit mesh texts drawing in the wrong place
Dalai Felinto [Fri, 28 Sep 2018 16:37:28 +0000 (13:37 -0300)]
Multi-Objects: Fix edit mesh texts drawing in the wrong place

It was always drawing on the active object localspace.

2 years agoFix T56396: Cycles wrong object motion blur with deformation blur disabled.
Brecht Van Lommel [Fri, 28 Sep 2018 16:22:35 +0000 (18:22 +0200)]
Fix T56396: Cycles wrong object motion blur with deformation blur disabled.

2 years agoFix errors for show_occlude_wire not in view3d.overlay
Dalai Felinto [Fri, 28 Sep 2018 15:25:50 +0000 (12:25 -0300)]
Fix errors for show_occlude_wire not in view3d.overlay

2 years agoMulti-Objects: MESH_OT_sort_elements
Dalai Felinto [Fri, 28 Sep 2018 14:52:11 +0000 (11:52 -0300)]
Multi-Objects: MESH_OT_sort_elements

Based on D3330 by Falk David

2 years agoFix wireframe threshold not active on wireframe mode
Dalai Felinto [Fri, 28 Sep 2018 15:05:25 +0000 (12:05 -0300)]
Fix wireframe threshold not active on wireframe mode

2 years agoTemplates: tweaks to 2D animation template from grease pencil team.
Brecht Van Lommel [Fri, 28 Sep 2018 13:35:54 +0000 (15:35 +0200)]
Templates: tweaks to 2D animation template from grease pencil team.

2 years agoGP: Remove Shader FX use_property_split to keep UI consistency
Antonioya [Fri, 28 Sep 2018 15:25:35 +0000 (17:25 +0200)]
GP: Remove Shader FX use_property_split to keep UI consistency

In order to get the same look and feel of modifiers, we need disable this single column option.

2 years agoGP: Remove show lines from Pixelate effect
Antonioya [Fri, 28 Sep 2018 15:20:00 +0000 (17:20 +0200)]
GP: Remove show lines from Pixelate effect

The grid lines get a weird result and it's better keep disabled. Maybe in the future we implement a new shader with a full grid.

2 years agoGP: Set pixel shader fx lines to OFF by default
Antonioya [Fri, 28 Sep 2018 14:52:20 +0000 (16:52 +0200)]
GP: Set pixel shader fx lines to OFF by default

2 years agoGP: Make Layer and Material lists shorter
Antonioya [Fri, 28 Sep 2018 13:47:36 +0000 (15:47 +0200)]
GP: Make Layer and Material lists shorter

This reduces UI vertical space.

2 years agoCleanup: Remove bmo_similar.c and small renaming
Dalai Felinto [Fri, 28 Sep 2018 13:32:04 +0000 (10:32 -0300)]
Cleanup: Remove bmo_similar.c and small renaming

2 years agoMulti-Objects: Select similar vertex: SIMVERT_VGROUP
Dalai Felinto [Wed, 19 Sep 2018 01:08:54 +0000 (22:08 -0300)]
Multi-Objects: Select similar vertex: SIMVERT_VGROUP

I'm storing the name of the vertex groups in a gset. This way
we can select vertex groups with the same name across different

Also this is the last select similar mode that needs porting o/

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 28 Sep 2018 13:03:03 +0000 (15:03 +0200)]
Merge branch 'master' into blender2.8

2 years agoCycles: Fix compilation error of CUDA kernel
Sergey Sharybin [Fri, 28 Sep 2018 13:02:20 +0000 (15:02 +0200)]
Cycles: Fix compilation error of CUDA kernel

Was caused by previous commit.

2 years agoFix T56947: Copy text from disabled search menu crashed
Jacques Lucke [Fri, 28 Sep 2018 12:12:00 +0000 (14:12 +0200)]
Fix T56947: Copy text from disabled search menu crashed

Reviewers: brecht

Differential Revision:

2 years agoTests: recurse into directories for finding OpenGL draw test .blends.
Brecht Van Lommel [Fri, 28 Sep 2018 12:09:42 +0000 (14:09 +0200)]
Tests: recurse into directories for finding OpenGL draw test .blends.

2 years agoGP: Remove add/delete buttons from topbar material popover
Antonioya [Fri, 28 Sep 2018 12:01:36 +0000 (14:01 +0200)]
GP: Remove add/delete buttons from topbar material popover

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 28 Sep 2018 11:58:30 +0000 (13:58 +0200)]
Merge branch 'master' into blender2.8

2 years agoCycles: Fix crash with BVH8 on certain scenes
Sergey Sharybin [Fri, 28 Sep 2018 10:39:49 +0000 (12:39 +0200)]
Cycles: Fix crash with BVH8 on certain scenes

The crash was caused by BVH traversal stack being overflowed.

That overflow was caused by lots of false-positive intersections
for rays originating on a non-finite location.

Not sure why those rays will be existing in the first place,
this is to be investigated separately.

This commit moves pre-SSE4.1 check to a higher level function
and enables it for all miroarchitectures.

2 years agoFix T56905: unsupported channel layout error writing AAC audio.
Brecht Van Lommel [Fri, 28 Sep 2018 10:03:15 +0000 (12:03 +0200)]
Fix T56905: unsupported channel layout error writing AAC audio.

This uses same mapping as Audaspace to specify channel layout, which was
missing before.

2 years agoUI: move messages and running jobs to top bar.
Brecht Van Lommel [Fri, 28 Sep 2018 09:05:04 +0000 (11:05 +0200)]
UI: move messages and running jobs to top bar.

It's too easy to miss at the bottom of the screen, and if the status bar is
collapsed critical messages may not be seen at all. There might be a better
looking solution, but for now this solves the main usability problem.

2 years agoFix merge error, this should have been included from master.
Brecht Van Lommel [Fri, 28 Sep 2018 08:47:11 +0000 (10:47 +0200)]
Fix merge error, this should have been included from 

2 years agoFix T56940: crash rendering with OpenGL as engine.
Brecht Van Lommel [Fri, 28 Sep 2018 08:39:20 +0000 (10:39 +0200)]
Fix T56940: crash rendering with OpenGL as engine.

2 years agoMake struct initialization happy for CLang
Sergey Sharybin [Fri, 28 Sep 2018 08:13:56 +0000 (10:13 +0200)]
Make struct initialization happy for CLang

2 years agoSubdiv: Return enumerator of proper type
Sergey Sharybin [Fri, 28 Sep 2018 08:13:18 +0000 (10:13 +0200)]
Subdiv: Return enumerator of proper type

Was harmless, that code is never to be reached.

2 years agoFix/workaround stupidity of CLang
Sergey Sharybin [Fri, 28 Sep 2018 08:11:28 +0000 (10:11 +0200)]
Fix/workaround stupidity of CLang

Seems there is something wrong with ternary operator
and type deduction.

Copying matrix to a variable with cleaner name seems
to be better solution than to force cast to an array.

2 years agoGPencil: Avoid tautology assignment
Sergey Sharybin [Fri, 28 Sep 2018 08:10:25 +0000 (10:10 +0200)]
GPencil: Avoid tautology assignment

This is considered a warning which is usually promoted to
error in developers' environment.

Probably worth adding an assert or so, if possible?

2 years agoCMake: Default to C11 for Clang and GCC
Sergey Sharybin [Fri, 28 Sep 2018 08:06:59 +0000 (10:06 +0200)]
CMake: Default to C11 for Clang and GCC

The option WITH_C11 is gone, and C++ is defaulting to C++11 now,
so guess it's fine to assume we need C11 now.

This is technically what we use anyway, with all the re-definitions
of structs (like when we typedef anonymous struct in a header file
first, and them define it to a proper structure in implementation

2 years agoGPencil: Use proper enumerator type
Sergey Sharybin [Fri, 28 Sep 2018 08:04:31 +0000 (10:04 +0200)]
GPencil: Use proper enumerator type

Was using GpencilModifierType in type definition,
but rest of usage was using values from GpencilModifierTypeType.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 28 Sep 2018 07:47:02 +0000 (09:47 +0200)]
Merge branch 'master' into blender2.8

2 years agoFix compilation errors and warnings with Clang-6
Sergey Sharybin [Fri, 28 Sep 2018 07:46:12 +0000 (09:46 +0200)]
Fix compilation errors and warnings with Clang-6

2 years agoPython IO: Initial nodal shader support for import AND export.
Bastien Montagne [Thu, 27 Sep 2018 20:03:30 +0000 (22:03 +0200)]
Python IO: Initial nodal shader support for import AND export.

That new bpy_extras' node_shader_utils module is remotely based on
existing addons' cycles_shader_compat module. It has some key
differences though:
 - It is based on Principled shader, instead of the noodle combination
   of half a dozen simpler shaders.
 - It does not do any value conversion (like e.g. clamping, which was
   only suited for FBX). Any conversion/adaptation is to be done
   by each IO add-on.
 - It extensively uses accessors to offer:
   - Easy read/write of values, hiding all the hairy noodly nodes
     (principled shader helps a lot here).
   - lazy creation of most nodes on accessing (when generating a
     material), which avoids getting unused nodes in final shader.
 - We only use Principled BSDF so far though, which means some features
   supported by previous system are not yet implemented in new one.

Note that, even though we support 'exporting' side of things, this will
only work for a very specific (and basic) kind of shader. This will have
to be clearly explained in end-user documentation.

Also, that code has had some basic testing, but most certainly needs a
lot more refinement.

As proof-of-concept, OBJ IO script will be updated to use that new
system after that commit.

2 years agoGP: Expand properties material list
Antonioya [Thu, 27 Sep 2018 20:10:39 +0000 (22:10 +0200)]
GP: Expand properties material list

2 years agoGP: Expand properties layer list
Antonioya [Thu, 27 Sep 2018 20:08:27 +0000 (22:08 +0200)]
GP: Expand properties layer list

2 years agoGP: Remove separator line in materials submenu
Antonioya [Thu, 27 Sep 2018 20:06:47 +0000 (22:06 +0200)]
GP: Remove separator line in materials submenu

2 years agoGP: Remove material submenu icons
Antonioya [Thu, 27 Sep 2018 20:05:32 +0000 (22:05 +0200)]
GP: Remove material submenu icons

The icons made too heavy for the UI

2 years agoGP: Expand topbar layers list
Antonioya [Thu, 27 Sep 2018 20:03:50 +0000 (22:03 +0200)]
GP: Expand topbar layers list

2 years agoGP: Make materials topbar list longer
Antonioya [Thu, 27 Sep 2018 19:11:13 +0000 (21:11 +0200)]
GP: Make materials topbar list longer

2 years agoGP: Reorganize topbar material selector
Antonioya [Thu, 27 Sep 2018 18:50:05 +0000 (20:50 +0200)]
GP: Reorganize topbar material selector

2 years agoCleanup: remove unused DerivedMesh code.
Sebastian Parborg [Thu, 27 Sep 2018 13:54:10 +0000 (15:54 +0200)]
Cleanup: remove unused DerivedMesh code.

Differential Revision:

2 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Thu, 27 Sep 2018 18:12:14 +0000 (20:12 +0200)]
Merge branch 'master' into blender2.8

2 years agoUI: use new 3D viewport navigation icons and image icon in add menu.
Brecht Van Lommel [Thu, 27 Sep 2018 17:15:18 +0000 (19:15 +0200)]
UI: use new 3D viewport navigation icons and image icon in add menu.

I had to make the viewport navigation icons a bit smaller in the SVG since
the edges were being clipped off, we only support 16x16 icons currently.
They are a bit blurry because of this.

2 years agoUI: add first batch of monochrome icons designed by Andrzej Ambroz.
Brecht Van Lommel [Thu, 27 Sep 2018 15:05:59 +0000 (17:05 +0200)]
UI: add first batch of monochrome icons designed by Andrzej Ambroz.

Currently only for simple commands like play, add, zoom, expand, etc.

2 years agoUI: draw mono icons with button type text color, instead of area text color.
Brecht Van Lommel [Thu, 27 Sep 2018 16:25:50 +0000 (18:25 +0200)]
UI: draw mono icons with button type text color, instead of area text color.

2 years agoFix not working after mono icon changes.
Brecht Van Lommel [Thu, 27 Sep 2018 16:38:36 +0000 (18:38 +0200)]
Fix not working after mono icon changes.

2 years agoGP: Remove old annotation panel from Image editor
Antonioya [Thu, 27 Sep 2018 16:03:13 +0000 (18:03 +0200)]
GP: Remove old annotation panel from Image editor

This has been replaced with tools.

2 years agoGP: Enable force fill recalc by default
Antonioya [Thu, 27 Sep 2018 15:39:16 +0000 (17:39 +0200)]
GP: Enable force fill recalc by default

2 years agoFix missing libquery processing of ID pointers in GPencil Modifiers.
Bastien Montagne [Thu, 27 Sep 2018 14:33:47 +0000 (16:33 +0200)]
Fix missing libquery processing of ID pointers in GPencil Modifiers.


2 years agoImplement a new dedicated weight painting shader.
Jeroen Bakker [Tue, 25 Sep 2018 16:19:59 +0000 (19:19 +0300)]
Implement a new dedicated weight painting shader.

Move the weight paint drawing to the fragment shader. The shader
uses a texture that uses the U.coba_weight custom color band, or
an internal color band.

In addition to actual weights, the shader has to display two
alert colors: missing vertex group, and zero weight. The zero
weight alert has to be blended with regular weight colors,
so that a single alert vertex surrounded by weighted ones is
still visible.

Reviewers: campbellbarton, fclem

Differential Revision:

2 years agoEmpty Object: new "Load Image as Empty" operator
Jacques Lucke [Thu, 27 Sep 2018 14:21:51 +0000 (16:21 +0200)]
Empty Object: new "Load Image as Empty" operator

New entry in the Add Object menu.
Opens a file selector and creates a new empty object from the selected image.
Previously more steps were needed to archieve the same.


Reviewer: brecht

2 years agoFix T56915: Selectability in Solid Xray Mode
Clément Foucault [Thu, 27 Sep 2018 14:09:04 +0000 (16:09 +0200)]
Fix T56915: Selectability in Solid Xray Mode

This was caused by the object center being selected by the wireframe pass.

The wireframe pass is now only drawn if we search for the nearest surface.
This makes all wire objects (like non-meshes objects) higher priority than
mesh surfaces.

2 years agoRefactor: Copy/Paste values from/to UI
Jacques Lucke [Thu, 27 Sep 2018 14:06:24 +0000 (16:06 +0200)]
Refactor: Copy/Paste values from/to UI

Previously copy and paste was handled within the same function using a mode switch, which is quite ugly in most cases.
This patch separates the function into two and splits up those in even smaller functions to increase maintainability.

Finally one new feature was added: You can copy from disabled fields now. (requested by hjalti)

Reviewers: brecht

Differential Revision:

2 years agoFix cycles_cubin_cc build error on macOS.
Brecht Van Lommel [Thu, 27 Sep 2018 13:59:14 +0000 (15:59 +0200)]
Fix cycles_cubin_cc build error on macOS.

2 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Thu, 27 Sep 2018 13:49:59 +0000 (15:49 +0200)]
Merge branch 'master' into blender2.8

2 years agoSpelling fixes in comments and descriptions, patch by luzpaz.
Brecht Van Lommel [Thu, 27 Sep 2018 13:35:22 +0000 (15:35 +0200)]
Spelling fixes in comments and descriptions, patch by luzpaz.

Differential Revision:

2 years agoCleanup: fix harmless compiler warnings.
Brecht Van Lommel [Thu, 27 Sep 2018 12:29:53 +0000 (14:29 +0200)]
Cleanup: fix harmless compiler warnings.

2 years agoFix CUDA build with Xcode 10.0, use nvrtc due to incompatible compilers.
Brecht Van Lommel [Thu, 27 Sep 2018 13:17:49 +0000 (15:17 +0200)]
Fix CUDA build with Xcode 10.0, use nvrtc due to incompatible compilers.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 27 Sep 2018 12:51:33 +0000 (14:51 +0200)]
Merge branch 'master' into blender2.8

2 years agoCycles: Cleanup
Sergey Sharybin [Thu, 27 Sep 2018 12:47:52 +0000 (14:47 +0200)]
Cycles: Cleanup

2 years agoCycles: Sync BVH8 unaligned node packing code with BVH4
Sergey Sharybin [Thu, 27 Sep 2018 11:42:16 +0000 (13:42 +0200)]
Cycles: Sync BVH8 unaligned node packing code with BVH4

Similar to dfae3de6bdf.

2 years agoUI: new clip editor panels and headers layout.
Sebastian Koenig [Thu, 27 Sep 2018 10:44:51 +0000 (12:44 +0200)]
UI: new clip editor panels and headers layout.

* Panels now use single column layout.
* Footage Info was moved into Footage Settings.
* Display settings are now in a popover in the header.
* Graph view shows tracking controls in the header center.

Differential Revision:

2 years agoUI: update camera background images panel layout.
Sebastian Koenig [Thu, 27 Sep 2018 10:37:18 +0000 (12:37 +0200)]
UI: update camera background images panel layout.

Differential Revision:

2 years agoGP: Avoid duplicated weight deformation for strokes
Antonioya [Thu, 27 Sep 2018 12:10:27 +0000 (14:10 +0200)]
GP: Avoid duplicated weight deformation for strokes

If the point had several weights, the result could be wrongly accumulated.

2 years agoPartial revert of recent toolsystem defaults
Campbell Barton [Thu, 27 Sep 2018 11:18:02 +0000 (21:18 +1000)]
Partial revert of recent toolsystem defaults

- Use ctrl for de-select since we may want to use shift for extend.
- Use cursor tool by default,
  it's agreed lasso select isn't accessible from a shortcut by default.