blender.git
23 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Wed, 29 Aug 2018 14:42:32 +0000 (16:42 +0200)]
Merge branch 'master' into blender2.8

23 months agoFix Cycles CUDA build after recent changes.
Brecht Van Lommel [Wed, 29 Aug 2018 14:35:21 +0000 (16:35 +0200)]
Fix Cycles CUDA build after recent changes.

23 months agoCleanup: remove unused build environment patches.
Brecht Van Lommel [Wed, 29 Aug 2018 12:33:42 +0000 (14:33 +0200)]
Cleanup: remove unused build environment patches.

23 months agoCleanup: consistent includes.
Brecht Van Lommel [Wed, 29 Aug 2018 11:54:26 +0000 (13:54 +0200)]
Cleanup: consistent includes.

23 months agoBuildbot: Some inital work to support newer chroot environment
Sergey Sharybin [Wed, 29 Aug 2018 14:29:25 +0000 (16:29 +0200)]
Buildbot: Some inital work to support newer chroot environment

23 months agoPython / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.
Brecht Van Lommel [Wed, 29 Aug 2018 13:02:21 +0000 (15:02 +0200)]
Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.

23 months agoCleanup: rename files from group to collection to match contents.
Brecht Van Lommel [Wed, 29 Aug 2018 13:32:50 +0000 (15:32 +0200)]
Cleanup: rename files from group to collection to match contents.

23 months agoCMake: Allow specifying custom LIBDIR on Unix
Sergey Sharybin [Wed, 29 Aug 2018 14:15:54 +0000 (16:15 +0200)]
CMake: Allow specifying custom LIBDIR on Unix

Works similar to how maxOS deals with this.

23 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 29 Aug 2018 14:09:59 +0000 (16:09 +0200)]
Merge branch 'master' into blender2.8

23 months agoTool System: hide paint options for non brush tools
Campbell Barton [Wed, 29 Aug 2018 13:58:44 +0000 (23:58 +1000)]
Tool System: hide paint options for non brush tools

23 months agoCMake: Comply with include path reported by FindOpenGL.cmake
Sergey Sharybin [Wed, 29 Aug 2018 13:08:28 +0000 (15:08 +0200)]
CMake: Comply with include path reported by FindOpenGL.cmake

The script clearly states:

  This makes the presumption that you are include al.h like
  #include "al.h"
  and not
  #include <AL/al.h>
  The reason for this is that the latter is not entirely portable.
  Windows/Creative Labs does not by default put their headers in AL/ and
  OS X uses the convention <OpenAL/al.h>.

This commit makes default precompiled OpenAL to be properly detected
and also removes hack on MacOS which was finding the OpenAL package but
then was overwriting include directory.

Note, that new audaspace in 2.8 is using expected #include <al.h>.

23 months agoCMake: Make sure zlib folder comes first for precompiled Linux libraries
Sergey Sharybin [Wed, 29 Aug 2018 13:05:03 +0000 (15:05 +0200)]
CMake: Make sure zlib folder comes first for precompiled Linux libraries

Without this find_package(ZLIB) will find ZLib from OpenCollada folder,
which has older ABI and is not what was used to link PNG against.

23 months agoCycles: Add BVH8 and packeted triangle intersection
Sergey Sharybin [Wed, 14 Feb 2018 10:23:30 +0000 (11:23 +0100)]
Cycles: Add BVH8 and packeted triangle intersection

This is an initial implementation of BVH8 optimization structure
and packated triangle intersection. The aim is to get faster ray
to scene intersection checks.

    Scene                BVH4      BVH8
barbershop_interior    10:24.94   10:10.74
bmw27                  02:41.25   02:38.83
classroom              08:16.49   07:56.15
fishy_cat              04:24.56   04:17.29
koro                   06:03.06   06:01.45
pavillon_barcelona     09:21.26   09:02.98
victor                 23:39.65   22:53.71

As memory goes, peak usage raises by about 4.7% in a complex
scenes.

Note that BVH8 is disabled when using OSL, this is because OSL
kernel does not get per-microarchitecture optimizations and
hence always considers BVH3 is used.

Original BVH8 patch from Anton Gavrikov.
Batched triangles intersection from Victoria Zhislina.
Extra work and tests and fixes from Maxym Dmytrychenko.

23 months agoTool System: tool to extrude along normals
Campbell Barton [Wed, 29 Aug 2018 12:59:49 +0000 (22:59 +1000)]
Tool System: tool to extrude along normals

23 months agoBuild environment: Fix compilation of boost on Linux 32bit
Sergey Sharybin [Wed, 29 Aug 2018 12:11:32 +0000 (14:11 +0200)]
Build environment: Fix compilation of boost on Linux 32bit

23 months agoMissed last commit
Campbell Barton [Wed, 29 Aug 2018 08:43:32 +0000 (18:43 +1000)]
Missed last commit

23 months agoCleanup: rename manipulator -> gizmo
Campbell Barton [Wed, 29 Aug 2018 08:40:32 +0000 (18:40 +1000)]
Cleanup: rename manipulator -> gizmo

23 months agoIcons: update to r62135
William Reynish [Wed, 29 Aug 2018 08:31:09 +0000 (18:31 +1000)]
Icons: update to r62135

- Added icon for To Sphere
- Added icon for Shear
- Added icons for adding mesh objects
- Added icon for Curve Draw
- Add Curve Extrude to Cursor icon
- Tweak Curve Draw icon
- Simplified Hair Cut icon. Was hard to read
- Tweaks to Hair Puff and Smooth icons
- Added icon for Extrude Along Normals
- Updated Extrude Individual icon to become clearer and more consistent
  with "Extrude Along Normals". Now it's easy to see the difference.
- Rip Edge and Rip Region icon tweaks

Note, many icons are regenerated in this commit which
weren't intended to be changed, in some cases this looks to be caused
by material color. Generating again doesn't modify so it
shouldn't be changing every time in future.

23 months agoTool System: only show select tool w/ paint mask
Campbell Barton [Wed, 29 Aug 2018 06:21:48 +0000 (16:21 +1000)]
Tool System: only show select tool w/ paint mask

23 months agoUI: disable brush popover in particle mode
Campbell Barton [Wed, 29 Aug 2018 05:47:06 +0000 (15:47 +1000)]
UI: disable brush popover in particle mode

This currently duplicates the same settings.

23 months agoUI: refactor particle panel/topbar logic
Campbell Barton [Wed, 29 Aug 2018 05:45:51 +0000 (15:45 +1000)]
UI: refactor particle panel/topbar logic

Similar logic for panel & topbar, use same checks.

23 months agoUI: use icons for sculpt mode toolbar
Campbell Barton [Wed, 29 Aug 2018 05:28:56 +0000 (15:28 +1000)]
UI: use icons for sculpt mode toolbar

Re-order some enums so plus is always first.

23 months agoTool System: add curve extrude
Campbell Barton [Wed, 29 Aug 2018 05:14:41 +0000 (15:14 +1000)]
Tool System: add curve extrude

23 months agoTool System: show radius for circle select
Campbell Barton [Wed, 29 Aug 2018 05:03:50 +0000 (15:03 +1000)]
Tool System: show radius for circle select

23 months agoFix T56517: 2D gizmo hotspot fails
Campbell Barton [Wed, 29 Aug 2018 04:39:58 +0000 (14:39 +1000)]
Fix T56517: 2D gizmo hotspot fails

Regression from 80c9cd13dad

23 months agoWeight Paint: use black for unselected vertices
Campbell Barton [Wed, 29 Aug 2018 02:14:54 +0000 (12:14 +1000)]
Weight Paint: use black for unselected vertices

Contrast for selected vertices mode wasn't very strong.

23 months agoUI: disable decorators when not used
Campbell Barton [Wed, 29 Aug 2018 01:38:45 +0000 (11:38 +1000)]
UI: disable decorators when not used

23 months agoKeymap: check modal keymap item poll function
Campbell Barton [Wed, 29 Aug 2018 01:29:29 +0000 (11:29 +1000)]
Keymap: check modal keymap item poll function

Fixes T56591: Vertex/Edge slide C-Key fails

23 months agoTool System: make armature extrude use drag event
Campbell Barton [Wed, 29 Aug 2018 01:11:11 +0000 (11:11 +1000)]
Tool System: make armature extrude use drag event

Extrude tool was calling click-extrude.

23 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Tue, 28 Aug 2018 17:15:08 +0000 (19:15 +0200)]
Merge branch 'master' into blender2.8

23 months agoBuild environment: Ensure Python is using static ffi
Sergey Sharybin [Tue, 28 Aug 2018 16:53:59 +0000 (18:53 +0200)]
Build environment: Ensure Python is using static ffi

Surely, need to compile ffi first :)

Good news are: Python seems static enough now!

23 months agoBuild environment: Make sure Python is linkign against static Zlib
Sergey Sharybin [Tue, 28 Aug 2018 16:28:05 +0000 (18:28 +0200)]
Build environment: Make sure Python is linkign against static Zlib

There is system-wide libz development package installed by default,
needed for some other dependencies. This patch ensures Python will
use our own self-compiled Zlib.

23 months agoFix some UI script errors after recent keyword changes.
Roel Koster [Tue, 28 Aug 2018 16:01:53 +0000 (18:01 +0200)]
Fix some UI script errors after recent keyword changes.

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

23 months agoFix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"
Antonioya [Tue, 28 Aug 2018 14:21:35 +0000 (16:21 +0200)]
Fix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"

23 months agoFix space text script - keyboard for labels
Dalai Felinto [Tue, 28 Aug 2018 13:17:58 +0000 (10:17 -0300)]
Fix space text script - keyboard for labels

I guess multi-line ui elements were not covered in the cleanup scripts.

23 months agoRNA: make mesh add methods use required arg 'count'
Campbell Barton [Tue, 28 Aug 2018 12:35:09 +0000 (22:35 +1000)]
RNA: make mesh add methods use required arg 'count'

23 months agoCleanup: pep8
Campbell Barton [Tue, 28 Aug 2018 11:00:25 +0000 (21:00 +1000)]
Cleanup: pep8

23 months agoFix T56530, T56523: collection visiblity toggling wrong after recent changes.
Brecht Van Lommel [Tue, 28 Aug 2018 10:43:13 +0000 (12:43 +0200)]
Fix T56530, T56523: collection visiblity toggling wrong after recent changes.

23 months agoCleanup: compiler warnings.
Brecht Van Lommel [Tue, 28 Aug 2018 09:47:16 +0000 (11:47 +0200)]
Cleanup: compiler warnings.

23 months agoCleanup: remove debug code.
Brecht Van Lommel [Fri, 24 Aug 2018 09:11:06 +0000 (11:11 +0200)]
Cleanup: remove debug code.

23 months agoTool System: use release_confirm for gpencil
William Reynish [Tue, 28 Aug 2018 10:43:34 +0000 (20:43 +1000)]
Tool System: use release_confirm for gpencil

Also rename some grease pencil tools.

23 months agoTool System: add shear and to-sphere tools
William Reynish [Tue, 28 Aug 2018 10:41:48 +0000 (20:41 +1000)]
Tool System: add shear and to-sphere tools

23 months agoBuild environment: Enable bzip2, lzma and sqlite for Python on Linux
Sergey Sharybin [Tue, 28 Aug 2018 10:17:04 +0000 (12:17 +0200)]
Build environment: Enable bzip2, lzma and sqlite for Python on Linux

23 months ago3D View: split object/pose box & lasso select
Campbell Barton [Tue, 28 Aug 2018 06:17:37 +0000 (16:17 +1000)]
3D View: split object/pose box & lasso select

Also fix error in lasso select with multiple pose objects.

23 months ago3D View: split object/pose border select
Campbell Barton [Tue, 28 Aug 2018 04:04:37 +0000 (14:04 +1000)]
3D View: split object/pose border select

No functional change, duplicate function for easy diffing.

Changes coming next.

23 months agoGP: Use custom api to get material
Antonioya [Tue, 28 Aug 2018 06:17:53 +0000 (08:17 +0200)]
GP: Use custom api to get material

23 months agoGP: Revert replace custom function by standard API
Antonioya [Tue, 28 Aug 2018 06:16:30 +0000 (08:16 +0200)]
GP: Revert replace custom function by standard API

Using custom api breaks material at object level

23 months agoPyRNA: all optional args now must be keyword args
Campbell Barton [Tue, 28 Aug 2018 03:50:24 +0000 (13:50 +1000)]
PyRNA: all optional args now must be keyword args

In some cases the RNA API should be updated to make arguments use the
'required' flag, instead of adjusting Python scripts.

See T47811

23 months agoRNA: use required args for internal popup end API
Campbell Barton [Tue, 28 Aug 2018 03:48:01 +0000 (13:48 +1000)]
RNA: use required args for internal popup end API

23 months agoRNA: make template_list list_id a required arg
Campbell Barton [Tue, 28 Aug 2018 03:42:30 +0000 (13:42 +1000)]
RNA: make template_list list_id a required arg

Prepare for keyword only args.

23 months agoUI: use keyword arguments
Campbell Barton [Tue, 28 Aug 2018 03:41:47 +0000 (13:41 +1000)]
UI: use keyword arguments

Prepare for keyword only args.

23 months agoCycles: use fields for property definitions
Campbell Barton [Tue, 28 Aug 2018 03:16:04 +0000 (13:16 +1000)]
Cycles: use fields for property definitions

23 months agoRNA: UILayout.split(..) 'percentage' to 'factor'
Campbell Barton [Tue, 28 Aug 2018 02:38:54 +0000 (12:38 +1000)]
RNA: UILayout.split(..) 'percentage' to 'factor'

Misleading name since it's between 0..1.

Use as a keyword argument to prepare for keyword only args.

Also document that leaving unset has special behavior.

23 months agoUI: text keyword argument to label
Campbell Barton [Tue, 28 Aug 2018 02:34:51 +0000 (12:34 +1000)]
UI: text keyword argument to label

Prepare for keyword only args

23 months agocmake: adjustments required for lib-upgrade on windows.
Ray Molenkamp [Tue, 28 Aug 2018 01:37:55 +0000 (19:37 -0600)]
cmake: adjustments required for lib-upgrade on windows.

23 months agobuild_environment: llvm only copy lib files for the debug build.
Ray Molenkamp [Tue, 28 Aug 2018 01:23:45 +0000 (19:23 -0600)]
build_environment: llvm only copy lib files for the debug build.

23 months agoCleanup: indentation
Campbell Barton [Tue, 28 Aug 2018 01:01:29 +0000 (11:01 +1000)]
Cleanup: indentation

23 months agoCleanup: warnings
Campbell Barton [Tue, 28 Aug 2018 00:53:35 +0000 (10:53 +1000)]
Cleanup: warnings

23 months agoGP: Replace custom function by standard API
Antonioya [Mon, 27 Aug 2018 21:16:02 +0000 (23:16 +0200)]
GP: Replace custom function by standard API

Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index

23 months agoFix T56577: Crash when using Grease Pencil Fill Brush
Antonioya [Mon, 27 Aug 2018 21:04:58 +0000 (23:04 +0200)]
Fix T56577: Crash when using Grease Pencil Fill Brush

If the brush had assigned a color not present in the object material slots, the fill crashed.

Now, the material is added to the object slot before using it.

23 months agotransform_snap_object: Add a small offset to the clip plane
mano-wii [Mon, 27 Aug 2018 19:00:20 +0000 (16:00 -0300)]
transform_snap_object: Add a small offset to the clip plane
This prioritizes the vertex and edge snap over raycast.

23 months agoFix T56557: wrong hash in Windows buildbot builds.
Brecht Van Lommel [Mon, 27 Aug 2018 17:35:46 +0000 (19:35 +0200)]
Fix T56557: wrong hash in Windows buildbot builds.

23 months agoBuild Environment: fix Windows Alembic build.
Brecht Van Lommel [Mon, 27 Aug 2018 17:06:00 +0000 (19:06 +0200)]
Build Environment: fix Windows Alembic build.

Ideally we should remove this difference between platforms, but for now
just do the simple fix.

23 months agoBuild environment: Enable SSL for Python on Linux
Sergey Sharybin [Mon, 27 Aug 2018 16:09:30 +0000 (18:09 +0200)]
Build environment: Enable SSL for Python on Linux

This involved getting SSL compiled from sources first, ensuring
it is a static library placement independent code. Configuration
is based on what Debian is using. CFlags required to have own
configuration file, which i didn't find a better place that next
to the corresponding CMake file.

It is OpenSSL btw.

It is set to Python via --with-openssl= configuration argument.
This works fine in a clean chroot, but having libssl-dev installed
might make Python to prefer system wide library, This was worked
around by using libssl_pic.a name for the library and modifying
setup.py. Would be cool to ensure system wide libraries are not
a problem, but official release builder is safe against this,
since it will catch possible non-static dependencies.

There is also a new map file which shadows bunch of Python
symbols. Without this Python's shared libraries might bring
conflicting symbols to Blender namespace at runtime.

Hopefully this doesn't break other platforms.

23 months agoRevert "DRW: Remove unecessary GL calls"
Clément Foucault [Mon, 27 Aug 2018 16:02:48 +0000 (18:02 +0200)]
Revert "DRW: Remove unecessary GL calls"

This reverts commit f8c857ad72e29eb509bd04067f94cd3df8a54aa4.

23 months agoDNA: Deprecate gridview
mano-wii [Mon, 27 Aug 2018 15:16:34 +0000 (12:16 -0300)]
DNA: Deprecate gridview

23 months agoDraw Manager: Remove unused function
mano-wii [Mon, 27 Aug 2018 14:59:57 +0000 (11:59 -0300)]
Draw Manager: Remove unused function

Signed-off-by: fclem
23 months agoFix T56547: Single column properties not aligned
Campbell Barton [Mon, 27 Aug 2018 14:59:15 +0000 (00:59 +1000)]
Fix T56547: Single column properties not aligned

23 months agoFix unreported: the gridview is no longer computed, so the snapping functions have...
mano-wii [Mon, 27 Aug 2018 14:40:48 +0000 (11:40 -0300)]
Fix unreported: the gridview is no longer computed, so the snapping functions have to use the actual grid scale.

23 months agoGP: New operator to copy layers between objects
Antonioya [Mon, 27 Aug 2018 14:29:19 +0000 (16:29 +0200)]
GP: New operator to copy layers between objects

The operator allows to copy a complete layer with all frames or only active frame to a new object.

Can be found in edit specials menu (W key) or in Layers specials menu (last button near layer list).

23 months agoImplement BMesh Operator string enumerators and docs generation.
Andrew Hale [Mon, 27 Aug 2018 13:51:27 +0000 (15:51 +0200)]
Implement BMesh Operator string enumerators and docs generation.

Partial implementation of T56496 for review.

Reviewers: campbellbarton

Reviewed By: campbellbarton

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

23 months agoBuild environment: Fix for C placement independent code
Sergey Sharybin [Mon, 27 Aug 2018 13:45:18 +0000 (15:45 +0200)]
Build environment: Fix for C placement independent code

Need to pass -fPIC to C code as well.
Without this blosc is not being properly placement independent.

23 months agoBuild Environment: fix alembic, openvdb, ffmpeg, osl build on Linux.
Brecht Van Lommel [Mon, 27 Aug 2018 11:36:42 +0000 (13:36 +0200)]
Build Environment: fix alembic, openvdb, ffmpeg, osl build on Linux.

23 months agoFix assert displaying UV's of faceless meshes
Campbell Barton [Mon, 27 Aug 2018 07:32:14 +0000 (17:32 +1000)]
Fix assert displaying UV's of faceless meshes

23 months agoHandle multi-hidden-layers when converting groups to collections.
Bastien Montagne [Mon, 27 Aug 2018 07:20:06 +0000 (09:20 +0200)]
Handle multi-hidden-layers when converting groups to collections.

That is kind of mandatory with complex rigged-character groups, with
hundreds of helper objects, and a few useful ones being hidden on
specific layers (like e.g. the main rig...).

It is especially critical point with static override, which won't allow
to move objects between collections and such (that would be a nightmare
to implement and handle).

Note that this is rather basic implementation, we could go further and
move all objects in all layers they are 'active', but that would
probably be overkill.

Reviewers: brecht

Subscribers: brecht

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

23 months agoBMesh: improvements/fixes to select side of active
Campbell Barton [Mon, 27 Aug 2018 07:04:16 +0000 (17:04 +1000)]
BMesh: improvements/fixes to select side of active

- Add orientation option (defaults to local, as 2.7x does)
  can optionally use global, cursor, view... etc.
- Fix typo which caused select flush to fail.
- Fix for instanced objects (was only checking one instance).
- Only tag for changes if a change is made.
- Skip meshes with all vertices selected.

23 months agoCleanup: rename 'vindex' to 'def_nr'
Campbell Barton [Mon, 27 Aug 2018 06:02:41 +0000 (16:02 +1000)]
Cleanup: rename 'vindex' to 'def_nr'

Name hinted 'vertex index', where it's the index of the vertex group.

23 months agoGP: replace custom API w/ BKE_deform API
Campbell Barton [Mon, 27 Aug 2018 04:20:40 +0000 (14:20 +1000)]
GP: replace custom API w/ BKE_deform API

23 months agoFix grease pencil weight invert
Campbell Barton [Mon, 27 Aug 2018 04:19:08 +0000 (14:19 +1000)]
Fix grease pencil weight invert

Was always using first group.

23 months agoIcons: update to rBL62101
William Reynish [Mon, 27 Aug 2018 01:47:27 +0000 (11:47 +1000)]
Icons: update to rBL62101

- Updated icons for Annotation
- Updated Sculpt Mode icons once again, with a flat base.
  Makes them more readable
- Updated Hair tools icons
- Updated Armature Edit mode icons
- Updated Grease Pencil icons

23 months agoCleanup: warning, use const args
Campbell Barton [Mon, 27 Aug 2018 01:46:09 +0000 (11:46 +1000)]
Cleanup: warning, use const args

23 months agoDRW: Remove unecessary GL calls
Clément Foucault [Sat, 25 Aug 2018 11:03:49 +0000 (13:03 +0200)]
DRW: Remove unecessary GL calls

23 months agoFix pen tablet stuck on Windows for some non-Wacom tablets.
Colby Klein [Sun, 26 Aug 2018 21:16:43 +0000 (23:16 +0200)]
Fix pen tablet stuck on Windows for some non-Wacom tablets.

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

23 months agoCleanup: remove double ;
Antonioya [Sun, 26 Aug 2018 15:25:17 +0000 (17:25 +0200)]
Cleanup: remove double ;

23 months agoGP: Reduce weight paint data memory footprint
Antonioya [Sun, 26 Aug 2018 14:39:01 +0000 (16:39 +0200)]
GP: Reduce weight paint data memory footprint

Before, the weight data array was created always, but now only is added when a weight value is assigned.

This change was suggested by algorithm, and both agreed it was good idea.

23 months agoStatic override: add constraint targets as overrideable!
Bastien Montagne [Sun, 26 Aug 2018 13:36:06 +0000 (15:36 +0200)]
Static override: add constraint targets as overrideable!

23 months agoFix conversion from 2.7x groups to new 2.8 collections - hidden layers.
Bastien Montagne [Fri, 24 Aug 2018 14:34:15 +0000 (16:34 +0200)]
Fix conversion from 2.7x groups to new 2.8 collections - hidden layers.

You cannot immediately add parent's library to newly generated hidden
child collection, since it would allow to get several of those hidden
collections with same name/library. That is strictly forbidden!

So rather loop again on collections after all hidden ones have been
generated, and assign children's library from parent one then.

23 months agoCycles: change default emission color to 1 1 1.
Brecht Van Lommel [Sun, 26 Aug 2018 11:46:56 +0000 (13:46 +0200)]
Cycles: change default emission color to 1 1 1.

23 months agoCleanup: style
Campbell Barton [Sun, 26 Aug 2018 10:34:33 +0000 (20:34 +1000)]
Cleanup: style

23 months agoCleanup: trailing space
Campbell Barton [Sun, 26 Aug 2018 10:20:35 +0000 (20:20 +1000)]
Cleanup: trailing space

23 months agoCleanup: style
Campbell Barton [Sun, 26 Aug 2018 09:57:19 +0000 (19:57 +1000)]
Cleanup: style

23 months agoDNA: don't deprecate gridview, it's still used
Campbell Barton [Sun, 26 Aug 2018 09:47:47 +0000 (19:47 +1000)]
DNA: don't deprecate gridview, it's still used

23 months agobuild_environment: fix building openvdb on win32
Ray Molenkamp [Sun, 26 Aug 2018 01:40:44 +0000 (19:40 -0600)]
build_environment: fix building openvdb on win32

23 months agobuild_environment: fix build-flags on windows.
Ray Molenkamp [Sun, 26 Aug 2018 01:40:07 +0000 (19:40 -0600)]
build_environment: fix build-flags on windows.

build all object files with /bigobj since multiple of the dependencies go over the limit on x86

23 months agobuild_environment: cleanup harvest on windows
Ray Molenkamp [Sun, 26 Aug 2018 01:38:47 +0000 (19:38 -0600)]
build_environment: cleanup harvest on windows

23 months agobuild_environment: ffmpeg support x86 builds on windows.
Ray Molenkamp [Sun, 26 Aug 2018 01:37:30 +0000 (19:37 -0600)]
build_environment: ffmpeg support x86 builds on windows.

23 months agobuild_environment: mingw32 fix repeated unpack of gcc tarball
Ray Molenkamp [Sun, 26 Aug 2018 01:37:11 +0000 (19:37 -0600)]
build_environment: mingw32 fix repeated unpack of gcc tarball

23 months agobuild_environment: osl work around shutdown issues.
Ray Molenkamp [Sun, 26 Aug 2018 01:35:45 +0000 (19:35 -0600)]
build_environment: osl work around shutdown issues.

there is an issue with objects destructing in a non deterministic way during process shutdown, temporary work around this until osl has a fix in place.

23 months agoCloth: Fix mistake in big matrix multiplication
Luca Rood [Fri, 17 Aug 2018 11:08:47 +0000 (13:08 +0200)]
Cloth: Fix mistake in big matrix multiplication

Only the upper triangle of the block matrix is stored, thus when
executing operations on the lower triangle, each block must be
transposed. This transposition was not ocurring in the matrix-vector
multiplication function, which is fixed by this commit.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D3619

23 months agoCycles Denoiser: Allocate a single temporary buffer for the entire denoising process
Lukas Stockner [Sat, 25 Aug 2018 19:19:44 +0000 (12:19 -0700)]
Cycles Denoiser: Allocate a single temporary buffer for the entire denoising process

With small tiles, the repeated allocations on GPUs can actually slow down the denoising quite a lot.
Allocating the buffer just once reduces rendertime for the default cube with 16x16 tiles and denoising on a mobile 1050 from 22.7sec to 14.0sec.