20 months agoCycles: Use existing shared temporary memory in reconstruction step of the denoiser
Lukas Stockner [Mon, 8 Oct 2018 20:13:40 +0000 (22:13 +0200)]
Cycles: Use existing shared temporary memory in reconstruction step of the denoiser

Previously the code allocated its own temporary memory, but it's possible to just use the existing shared one instead.

20 months agoTests: Support parallel execution of render tests
Lukas Stockner [Sat, 6 Oct 2018 20:12:28 +0000 (22:12 +0200)]
Tests: Support parallel execution of render tests

Previously, parallel tests would overwrite each others temporary outputs.

20 months agoCycles: Implement vectorized NLM kernels for faster CPU denoising
Lukas Stockner [Sat, 6 Oct 2018 18:39:01 +0000 (20:39 +0200)]
Cycles: Implement vectorized NLM kernels for faster CPU denoising

21 months agoFix T57059: "make deps" build error when sndio library is present.
Jorge Bernal [Thu, 4 Oct 2018 11:31:38 +0000 (13:31 +0200)]
Fix T57059: "make deps" build error when sndio library is present.

21 months agocycles: Support building with cuda 10 on windows.
Ray Molenkamp [Wed, 3 Oct 2018 16:18:22 +0000 (10:18 -0600)]
cycles: Support building with cuda 10 on windows.

21 months agoFix build with older CMake versions that we still need to support.
Brecht Van Lommel [Wed, 3 Oct 2018 10:54:21 +0000 (12:54 +0200)]
Fix build with older CMake versions that we still need to support.

21 months agoFix T54287: memory not freed after rendering on Linux.
Brecht Van Lommel [Wed, 3 Oct 2018 09:10:08 +0000 (11:10 +0200)]
Fix T54287: memory not freed after rendering on Linux.

With new jemalloc versions memory allocated by threads that then become
inactive is not longer automatically freed. Instead we have to enable a
background thread to do it.

Some testing is needed to find out of this is sufficient, because the
background thread only runs periodically.

21 months agoCorrect tooltip
Campbell Barton [Tue, 2 Oct 2018 01:17:31 +0000 (11:17 +1000)]
Correct tooltip

21 months 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.

21 months 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`

21 months 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.

21 months 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.

21 months 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.

21 months 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.

21 months 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.

21 months 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

21 months 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.

21 months 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:

21 months 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.

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

21 months 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.

21 months agoTests: add --no-window-focus to open window without focus.
Brecht Van Lommel [Tue, 10 Apr 2018 08:32:56 +0000 (10:32 +0200)]
Tests: add --no-window-focus to open window without focus.

This is useful to run OpenGL tests while continuing to do other tasks
without windows constantly popping up in the foreground.

21 months agoSpin Tool: hide options unrelated to duplication
Campbell Barton [Thu, 27 Sep 2018 01:52:21 +0000 (11:52 +1000)]
Spin Tool: hide options unrelated to duplication

21 months agoCleanup: redundant include
Campbell Barton [Wed, 26 Sep 2018 00:55:22 +0000 (10:55 +1000)]
Cleanup: redundant include

21 months agoBMesh: spin option to merge first/last
Campbell Barton [Tue, 25 Sep 2018 23:45:14 +0000 (09:45 +1000)]
BMesh: spin option to merge first/last

For 360d revolutions this is almost always whats intended,
enable by default.

21 months agoCMake: Repress deprecation warnings with MSVC.
Ray Molenkamp [Tue, 25 Sep 2018 17:05:01 +0000 (11:05 -0600)]
CMake: Repress deprecation warnings with MSVC.

21 months agoFix UV edit smart stitch not redoing correctly.
Alan Troth [Tue, 25 Sep 2018 16:29:56 +0000 (18:29 +0200)]
Fix UV edit smart stitch not redoing correctly.

Differential Revision:

21 months agoFix missing metaball capsule properties in properties editor.
Michel Anders [Tue, 25 Sep 2018 13:04:10 +0000 (15:04 +0200)]
Fix missing metaball capsule properties in properties editor.

Differential Revision:

21 months agoFix T56912: crashed
Jacques Lucke [Tue, 25 Sep 2018 10:01:43 +0000 (12:01 +0200)]
Fix T56912: crashed

I think there are two possible ways to fix that.
1. Make the name a required parameter.
2. Provide a default value.

I choosed option 1 in this fix to be consistent with other .new functions.

Also I think `RNA_def_string` instead of `RNA_def_string_file_path` should be used here. Looks like a copy-paste error.

Reviewers: brecht

Differential Revision:

21 months agoMissing from last commit
Campbell Barton [Tue, 25 Sep 2018 03:44:25 +0000 (13:44 +1000)]
Missing from last commit

21 months agoBMesh: option to flip normals for extrude/spin
Campbell Barton [Tue, 25 Sep 2018 03:31:29 +0000 (13:31 +1000)]
BMesh: option to flip normals for extrude/spin

21 months agoCleanup: style
Campbell Barton [Tue, 25 Sep 2018 01:41:29 +0000 (11:41 +1000)]
Cleanup: style

21 months agoFix T56861: freestyle + BI + full sample AA not working correct.
IRIE Shinsuke [Mon, 24 Sep 2018 16:08:24 +0000 (18:08 +0200)]
Fix T56861: freestyle + BI + full sample AA not working correct.

21 months agoSpelling fixes in comments and descriptions, patch by luzpaz.
Brecht Van Lommel [Mon, 24 Sep 2018 15:27:41 +0000 (17:27 +0200)]
Spelling fixes in comments and descriptions, patch by luzpaz.

Differential Revision:

21 months agoTracking: Use pixel aspect from clip
Sergey Sharybin [Mon, 24 Sep 2018 14:23:45 +0000 (16:23 +0200)]
Tracking: Use pixel aspect from clip

Don't force square pixel, since on a more real pipeline
expected delivery is same anamorphic as an input footage.

21 months agoFix T56875: Auto Render not working after render pass name refactor
Lukas Stockner [Mon, 24 Sep 2018 09:40:00 +0000 (11:40 +0200)]
Fix T56875: Auto Render not working after render pass name refactor

The default compositor node update function sets the need_exec flag on the node
which the Auto Render feature checks, but the custom update function that was
added as part of rB4cf7fc3b3a4d didn't do so.

Therefore, the two custom update functions that were added now also call the
default update function.

21 months agoCleanup: style, use raw strings
Campbell Barton [Thu, 20 Sep 2018 22:15:46 +0000 (08:15 +1000)]
Cleanup: style, use raw strings

21 months agoSculpt: Fix memory leak in undo system
Sergey Sharybin [Thu, 20 Sep 2018 13:38:15 +0000 (15:38 +0200)]
Sculpt: Fix memory leak in undo system

Was not freeing undo nodes themselves.

21 months agoCleanup: use win_to_3d_on_plane for curve drawing
Campbell Barton [Thu, 20 Sep 2018 02:45:07 +0000 (12:45 +1000)]
Cleanup: use win_to_3d_on_plane for curve drawing

21 months ago3D View: add clip argument to win_to_3d_on_plane
Campbell Barton [Thu, 20 Sep 2018 02:42:00 +0000 (12:42 +1000)]
3D View: add clip argument to win_to_3d_on_plane

21 months ago3D View: add a simple un-clipped win_to_ray
Campbell Barton [Thu, 20 Sep 2018 02:00:02 +0000 (12:00 +1000)]
3D View: add a simple un-clipped win_to_ray

21 months agoCleanup: rename 3D view ray calculation functions
Campbell Barton [Thu, 20 Sep 2018 01:47:17 +0000 (11:47 +1000)]
Cleanup: rename 3D view ray calculation functions

Using near far and optionally clipping planes is
involved and not needed in many cases.

Rename so a simpler version of this function can be added.

21 months ago3D View: point-on-plane from screen location utility
Campbell Barton [Thu, 20 Sep 2018 01:21:34 +0000 (11:21 +1000)]
3D View: point-on-plane from screen location utility

21 months agoCleanup: style
Campbell Barton [Thu, 20 Sep 2018 00:06:59 +0000 (10:06 +1000)]
Cleanup: style

21 months agoFix T53745: Alembic exported with vertex colors not readable by other software.
Wybren van Keulen [Wed, 19 Sep 2018 08:55:49 +0000 (10:55 +0200)]
Fix T53745: Alembic exported with vertex colors not readable by other software.

Most other software expects to read indexed vertex colors, so write indices
along with the colors as we already do for UVs.

Differential Revision:

21 months agoCycles: Cleanup, double semicolon
Sergey Sharybin [Wed, 19 Sep 2018 16:41:43 +0000 (18:41 +0200)]
Cycles: Cleanup, double semicolon

21 months agoSpelling fixes in comments and descriptions, patch by luzpaz.
Brecht Van Lommel [Wed, 19 Sep 2018 15:48:11 +0000 (17:48 +0200)]
Spelling fixes in comments and descriptions, patch by luzpaz.

Differential Revision:

21 months agomake.bat: fix build error when there are spaces in the path to svn/git/cmake
Ray Molenkamp [Wed, 19 Sep 2018 16:16:46 +0000 (10:16 -0600)]
make.bat: fix build error when there are spaces in the path to svn/git/cmake

21 months agoFix wrong CUDA version warning in cmake.
Brecht Van Lommel [Wed, 19 Sep 2018 14:04:11 +0000 (16:04 +0200)]
Fix wrong CUDA version warning in cmake.

Fix suggested by Dalai.

21 months agoFix possible misuse of `BLI_strncpy`.
mano-wii [Wed, 19 Sep 2018 12:04:55 +0000 (09:04 -0300)]
Fix possible misuse of `BLI_strncpy`.

Same issue as rB39f7c8256d58.

21 months agoFix unused var in case Alembic is not enabled, in own previous commit.
Bastien Montagne [Wed, 19 Sep 2018 09:11:39 +0000 (11:11 +0200)]
Fix unused var in case Alembic is not enabled, in own previous commit.

Sorry for the noise...

21 months agoMesh Sequence Cash: do not *always* report as depending on time!
Bastien Montagne [Wed, 19 Sep 2018 09:08:27 +0000 (11:08 +0200)]
Mesh Sequence Cash: do not *always* report as depending on time!

21 months agoFix unreported: Undo of texts pasted in the Text Editor misses one character.
mano-wii [Wed, 19 Sep 2018 02:11:59 +0000 (23:11 -0300)]
Fix unreported: Undo of texts pasted in the Text Editor misses one character.

Caused by commit rB28c34ae7e2d6
Unlike `strncpy`, `BLI_strncpy` ensures the last character is '\0'.

21 months agoBLI_utildefines: rename pointer conversion macros
Campbell Barton [Wed, 19 Sep 2018 02:05:58 +0000 (12:05 +1000)]
BLI_utildefines: rename pointer conversion macros

Terms get/set don't make much sense when casting values.

Name macros so the conversion is obvious,
use common prefix for easier completion.


21 months agoCleanup: trailing space
Campbell Barton [Wed, 19 Sep 2018 02:04:34 +0000 (12:04 +1000)]
Cleanup: trailing space

21 months agoFix T56833: "zoom to cursor" in Clip editor not handling aspect ratio.
Bastien Montagne [Tue, 18 Sep 2018 12:30:06 +0000 (14:30 +0200)]
Fix T56833: "zoom to cursor" in Clip editor not handling aspect ratio.

Trivial fix, just using same code as in Image editor...

21 months agoClose OpenEXR thread pool on exit
Sergey Sharybin [Tue, 18 Sep 2018 09:10:49 +0000 (11:10 +0200)]
Close OpenEXR thread pool on exit

This partially solves ASAN report about unfreed memory. There is still
something in the report, need to have a closer look with debug version
of OpenEXE library.

21 months agoFIX: linker error with a 'make deps' library set and opencollada enabled.
Ray Molenkamp [Tue, 18 Sep 2018 00:06:02 +0000 (18:06 -0600)]
FIX: linker error with a 'make deps' library set and opencollada enabled.

PCRE_LIBRARIES was not being set if the pcre library was found but not the headers.

21 months agoCycles: Fix usage of AVX2 intrinsics in AVX kernel
Ray Molenkamp [Mon, 17 Sep 2018 22:27:13 +0000 (16:27 -0600)]
Cycles: Fix usage of AVX2 intrinsics in AVX kernel

While building the AVX kernel, util_avxf.h/avxb.h were using some AVX2 intrinsics,
these were never called, so it wasn't a run-time issue, but the intrinsics headers
on centos excluded the AVX2 prototypes when building the AVX kernel causing build errors.

This commit cleans up the improper usage of the AVX2 intrinsics and provides AVX
fallback implementations for future use.

Differential Revision:

21 months agobuild_files: bump python version in FindPythonLibsUnix.cmake to 3.7 now that all...
Ray Molenkamp [Mon, 17 Sep 2018 19:45:12 +0000 (13:45 -0600)]
build_files: bump python version in FindPythonLibsUnix.cmake to 3.7 now that all platforms have been updated

21 months agobuild_environment: linux/python, help python find ffi.
Ray Molenkamp [Mon, 17 Sep 2018 19:13:17 +0000 (13:13 -0600)]
build_environment: linux/python, help python find ffi.

we were building ffi, but python wasn't finding it.

21 months agobuild_environment: ffi/linux force predictable lib path.
Ray Molenkamp [Mon, 17 Sep 2018 17:58:13 +0000 (11:58 -0600)]
build_environment: ffi/linux force predictable lib path.

ffi stubbornly wants to put libs in lib64 even when you tell it not to on some linux distributions.
patch based on sed fix the gentoo guys did [1]


21 months agoInstall_deps: workaround building bloody broken OpenEXR release.
Bastien Montagne [Mon, 17 Sep 2018 17:39:21 +0000 (19:39 +0200)]
Install_deps: workaround building bloody broken OpenEXR release.

21 months agoCycles: Cleanup, remove dead code
Sergey Sharybin [Mon, 17 Sep 2018 16:07:22 +0000 (18:07 +0200)]
Cycles: Cleanup, remove dead code

21 months agoCycles: Remove unused malformed function
Sergey Sharybin [Mon, 17 Sep 2018 16:05:32 +0000 (18:05 +0200)]
Cycles: Remove unused malformed function

This isn't really possible to do the shuffle which was attempted to do.

While it's possible to achieve expected behavior, the function needs to
be rewritten. Since it's not used anyway, it's simpler to remove it for

21 months agoCycles: Use proper mask for vectrorized boolean print
Sergey Sharybin [Mon, 17 Sep 2018 16:02:01 +0000 (18:02 +0200)]
Cycles: Use proper mask for vectrorized boolean print

21 months agobuild_environment: force a consistent libdir across Linux distributions.
Ray Molenkamp [Mon, 17 Sep 2018 14:13:08 +0000 (08:13 -0600)]
build_environment: force a consistent libdir across Linux distributions.

on some distributions libs ended up in lib64 confusing the cmake builder.

21 months agoFix object selection with eyerdropper not respecting property poll function.
Brecht Van Lommel [Mon, 17 Sep 2018 10:16:27 +0000 (12:16 +0200)]
Fix object selection with eyerdropper not respecting property poll function.

21 months agoFix T56811: Do not show cancel button for jobs when UI is locked.
Bastien Montagne [Mon, 17 Sep 2018 08:22:00 +0000 (10:22 +0200)]
Fix T56811: Do not show cancel button for jobs when UI is locked.

Since that button is then totally useless and unusable...

21 months agoFix OpenColorIO link errors in some Linux builds.
Brecht Van Lommel [Fri, 14 Sep 2018 14:27:11 +0000 (16:27 +0200)]
Fix OpenColorIO link errors in some Linux builds.

The library can get installed in a lib/static subdirectory, so search there
as well now.

21 months agoFix building deps when OpenCV dev package is present.
Bastien Montagne [Thu, 13 Sep 2018 14:05:59 +0000 (16:05 +0200)]
Fix building deps when OpenCV dev package is present.

Since we are not linking against OpenCV ourselves, that generated
linking errors later on (while building OSL e.g.).
Those 'open' libs link against way too many other libs... :/

Thanks to @intrah for initial report (T56785), and @LazyDodo for
suggested solution.

21 months agoWM: move mousemove out of internal undo function
Campbell Barton [Thu, 13 Sep 2018 13:20:04 +0000 (23:20 +1000)]
WM: move mousemove out of internal undo function

This causes a feedback loop in 2.8x,
where gizmo redo caused fake mousemove that executed gizmo again.

Move the mousemove into the undo/redo operator.

21 months agoPyAPI: remove operator methods that leak memory
Campbell Barton [Thu, 13 Sep 2018 10:10:56 +0000 (20:10 +1000)]
PyAPI: remove operator methods that leak memory

21 months agoPyAPI: use brief description for operator repr
Campbell Barton [Thu, 13 Sep 2018 09:59:15 +0000 (19:59 +1000)]
PyAPI: use brief description for operator repr

Only include description in docstring.

Also avoid using op_get_rna.

21 months agoTentative fix for T56770: Crash after set language to Simplified Chinese.
Bastien Montagne [Thu, 13 Sep 2018 09:20:49 +0000 (11:20 +0200)]
Tentative fix for T56770: Crash after set language to Simplified Chinese.

That bug probably did not affect 2.7x, only 2.8 with COW copying IDs in
threads... But root of the issue is that underlying boost i18n lib does
not support well multi-threaded access. So simply forbid any translation
from non-main thread. This *may* be an annoying limit at some point, but
doubt it will be any issue currently.

21 months agoPyAPI: add API call to get an operators type
Campbell Barton [Thu, 13 Sep 2018 08:16:06 +0000 (18:16 +1000)]
PyAPI: add API call to get an operators type

Getting the instance leaks memory and was only meant to be used for
generating docs.

21 months agoCleanup: _bpy.ops utility to lookup an operator
Campbell Barton [Thu, 13 Sep 2018 07:47:56 +0000 (17:47 +1000)]
Cleanup: _bpy.ops utility to lookup an operator

21 months agoCleanup: use PyImport_GetModuleDict
Campbell Barton [Thu, 13 Sep 2018 07:06:07 +0000 (17:06 +1000)]
Cleanup: use PyImport_GetModuleDict

Replace direct access using PyThreadState_GET

21 months agoPyDoc: replace use of deprecated API call
Campbell Barton [Thu, 13 Sep 2018 06:33:34 +0000 (16:33 +1000)]
PyDoc: replace use of deprecated API call

21 months agoCleanup: move 'make help_features' into own file
Campbell Barton [Thu, 13 Sep 2018 06:20:02 +0000 (16:20 +1000)]
Cleanup: move 'make help_features' into own file

21 months agoPyDoc: disable ASAN exit code for doc building
Campbell Barton [Thu, 13 Sep 2018 05:37:30 +0000 (15:37 +1000)]
PyDoc: disable ASAN exit code for doc building

Prevented docs from building on any minor issue when ASAN was enabled.

21 months agoCleanup: GCC ignored qualifier warning
Campbell Barton [Wed, 12 Sep 2018 21:39:22 +0000 (07:39 +1000)]
Cleanup: GCC ignored qualifier warning

21 months agoFix T56662: Autocomplete for texture slot Crash (in console).
Bastien Montagne [Wed, 12 Sep 2018 16:31:14 +0000 (18:31 +0200)]
Fix T56662: Autocomplete for texture slot Crash (in console).

That pointer can be NULL, RNA default string handling does not support
that. (that whole uv_layer prop is quite nasty actually, since it does
not own that string, always borrows it from some other data :((( ).

21 months agoCycles: Don't allocate Extra if BSDF allocation failed
Sergey Sharybin [Wed, 12 Sep 2018 10:21:04 +0000 (12:21 +0200)]
Cycles: Don't allocate Extra if BSDF allocation failed

Failed as in did not allocate due to possibly weight cutoff.
Tryign to allocated Extra storage for closure in such situation
will consfuse Cycles and cause crashes later one due to obscure
values in ShaderData.

21 months agoCleanup: More correct terminology work
Sergey Sharybin [Wed, 12 Sep 2018 09:00:38 +0000 (11:00 +0200)]
Cleanup: More correct terminology work

Matches threading API.

21 months agoCMake: add openjpeg 2x search paths
Campbell Barton [Wed, 12 Sep 2018 06:26:15 +0000 (16:26 +1000)]
CMake: add openjpeg 2x search paths

Wasn't finding the include path by on Linux.

21 months agoCleanup: remove alpha_check variable from DNA
Campbell Barton [Wed, 12 Sep 2018 05:48:00 +0000 (15:48 +1000)]
Cleanup: remove alpha_check variable from DNA

Just pass as an argument.

21 months agoBuild: require OpenJPEG 2.x minimum, remove bundled version.
Brecht Van Lommel [Thu, 30 Aug 2018 12:20:19 +0000 (14:20 +0200)]
Build: require OpenJPEG 2.x minimum, remove bundled version.

* WITH_SYSTEM_OPENJPEG is removed and is now always on, this was already
  the case for macOS and Windows.
* This should not break existing Linx builds. If there is no new enough
  OpenJPEG installed, CMake will no find libopenjp2 and WITH_IMAGE_OPENJPEG
  will be disabled.
* was updated with new package names, since distributions
  put this version in a new package.

Differential Revision:

21 months agoCleanup: unused variables
Campbell Barton [Tue, 11 Sep 2018 07:30:05 +0000 (17:30 +1000)]
Cleanup: unused variables

21 months agoBuild: update for new macOS libraries.
Brecht Van Lommel [Mon, 10 Sep 2018 20:24:37 +0000 (22:24 +0200)]
Build: update for new macOS libraries.

Run "make update", or "svn update" in lib/darwin to get the matching
precompiled libraries.

21 months agoBuild Environment: updates for macOS.
Brecht Van Lommel [Mon, 10 Sep 2018 12:25:06 +0000 (14:25 +0200)]
Build Environment: updates for macOS.

Mainly this is following Linux to build own xml2/lzma/ssl/sqlite and linking
them all statically. This ensures the Python ssl module uses a recent openssl
version rather than a very old one shipped with macOS.

21 months agoCorrect own error in recent transform orientation changes
Campbell Barton [Tue, 11 Sep 2018 05:00:50 +0000 (15:00 +1000)]
Correct own error in recent transform orientation changes

21 months agoUI: split theme draw style into separate field
Campbell Barton [Tue, 11 Sep 2018 00:56:08 +0000 (10:56 +1000)]
UI: split theme draw style into separate field

Was using UI_BLOCK_LOOP to control draw style,
this meant we couldn't use popup theme colors for cases
where it the interface has the same purpose as a popup but happens
not to use this flag.

21 months agoFix Cycles principled BSDF black with transmission and IOR 1.0.
Brecht Van Lommel [Mon, 10 Sep 2018 16:49:47 +0000 (18:49 +0200)]
Fix Cycles principled BSDF black with transmission and IOR 1.0.

21 months agoFix T56720: Lattice: crash on setting points_u/v/w from python.
Bastien Montagne [Sat, 8 Sep 2018 13:29:39 +0000 (15:29 +0200)]
Fix T56720: Lattice: crash on setting points_u/v/w from python.

One need to check that there is something to free, before trying to free it...

21 months agoCleanup: move area API into own function
Campbell Barton [Fri, 7 Sep 2018 19:59:28 +0000 (05:59 +1000)]
Cleanup: move area API into own function

21 months agoInstall_deps: fix llvm/clang ARCH package names.
Bastien Montagne [Fri, 7 Sep 2018 18:39:42 +0000 (20:39 +0200)]
Install_deps: fix llvm/clang ARCH package names.

Issue raised in T56540, thanks.

Also tried to re-enable using fedora's llvm/clang packages, would hope
and assume old issue here is fixed.

21 months agoInstall_deps: Fix wrong URL for ILMBase/OpenEXR source archives.
Bastien Montagne [Fri, 7 Sep 2018 18:31:50 +0000 (20:31 +0200)]
Install_deps: Fix wrong URL for ILMBase/OpenEXR source archives.

They also went to github...

21 months agoInstall_deps: Fix building python on fedora 28
Bastien Montagne [Fri, 7 Sep 2018 18:20:09 +0000 (20:20 +0200)]
Install_deps: Fix building python on fedora 28

Looks like libffi is now a dependency of python as well...

Done it for the other distro as well, just in case. ;)

21 months agoFix normal transform orientation calculation
Campbell Barton [Fri, 7 Sep 2018 01:24:37 +0000 (11:24 +1000)]
Fix normal transform orientation calculation

When using the 'normal' orientation, the normal would be ignored
if the plane couldn't be calculated.

Now use only the normal if the plane is zero length,
this was already done, just not in all cases.