blender.git
2 years agoBuildbot: Usable PIE
Sergey Sharybin [Fri, 31 Aug 2018 15:05:51 +0000 (17:05 +0200)]
Buildbot: Usable PIE

Makes it impossible to run from GUI on certain platforms, see T56628.

2 years agoPython: Enable MASS unit in FloatProperty
Monique Dewanchand [Fri, 31 Aug 2018 13:00:38 +0000 (15:00 +0200)]
Python: Enable MASS unit in FloatProperty

MASS unit was already implemented for the C api. Only making sure it is
accessible in the python api. Also added 'CAMERA' to the documentation as a valid option.

2 years agoRemove CCGDM from PBVH
Sergey Sharybin [Fri, 31 Aug 2018 10:41:23 +0000 (12:41 +0200)]
Remove CCGDM from PBVH

The statement that PBVH needs to keep track of CCGDM is wrong, PBVH itself
does not care about CCGDM at all, and it's weird for it to carry on this
beast so others can access.

Even more, nobody will actually caring about CCGDM itself, all the usages
were checking whether there is CCGDM or not. This is as good as simply
checking PBVH type.

Tested with an original report T53551 and everything is still stable.

2 years agoFix T56618: crash in release builds when GHOST asserts.
Brecht Van Lommel [Fri, 31 Aug 2018 10:32:12 +0000 (12:32 +0200)]
Fix T56618: crash in release builds when GHOST asserts.

WITH_ASSERT_ABORT was not disabled for release builds. In most cases asserts
are disabled in release builds, but not always.

This also changes the buildbot to use blender_release.cmake instead of
blender_full.cmake, the only effective difference should be WITH_ASSERT_ABORT.

2 years agoFix T56618: crash when typing certain characters on Linux.
Brecht Van Lommel [Fri, 31 Aug 2018 10:39:16 +0000 (12:39 +0200)]
Fix T56618: crash when typing certain characters on Linux.

2 years agoCycles: Cleanup, use explicit comparison with NULL
Sergey Sharybin [Fri, 31 Aug 2018 10:28:12 +0000 (12:28 +0200)]
Cycles: Cleanup, use explicit comparison with NULL

2 years agoFix T56626: Cycles ambient occlusion only local : crash
Sergey Sharybin [Fri, 31 Aug 2018 10:14:36 +0000 (12:14 +0200)]
Fix T56626: Cycles ambient occlusion only local : crash

Was caused by missing NULL pointer check in BVH8.

2 years agoPyAPI: replace checks for invalid input w/ assert
Campbell Barton [Fri, 31 Aug 2018 04:51:59 +0000 (14:51 +1000)]
PyAPI: replace checks for invalid input w/ assert

Was returning -1 as a bool argument,
in this case the caller needs to ensure non-null args.

2 years agoC/Python API: Add PyC_RunString_AsIntPtr
Campbell Barton [Fri, 31 Aug 2018 04:21:32 +0000 (14:21 +1000)]
C/Python API: Add PyC_RunString_AsIntPtr

Utility to get an int or pointer from a Python expression.

2 years agoCleanup: rename WM_keymap_find -> WM_keymap_ensure
Campbell Barton [Fri, 31 Aug 2018 03:36:14 +0000 (13:36 +1000)]
Cleanup: rename WM_keymap_find -> WM_keymap_ensure

2 years agoCycles: Cleanup, whitespace after keyword
Sergey Sharybin [Thu, 30 Aug 2018 15:34:11 +0000 (17:34 +0200)]
Cycles: Cleanup, whitespace after keyword

2 years agoBuildbot: Correction to previous commit
Sergey Sharybin [Thu, 30 Aug 2018 12:09:14 +0000 (14:09 +0200)]
Buildbot: Correction to previous commit

2 years agoBuildbot: Attempt to fix glibc-2.19 compilation
Sergey Sharybin [Thu, 30 Aug 2018 12:07:48 +0000 (14:07 +0200)]
Buildbot: Attempt to fix glibc-2.19 compilation

It is likely to be retired, but for until then lets ensure it works.

2 years agoCycles: Fix detection of CPU brand string on 32 bit platforms
Sergey Sharybin [Thu, 30 Aug 2018 10:50:36 +0000 (12:50 +0200)]
Cycles: Fix detection of CPU brand string on 32 bit platforms

The assembler template was backing up and restoring ebx, which is
fair enough. However, this did not prevent compiler for putting
result variables to ebx. This was causing data corruption.

In order to prevent this easiest solution is to list ebx in clobbers
for the assembly.

2 years agoFix T56612: crash in Cycles viewport render update, after recent changes.
Brecht Van Lommel [Thu, 30 Aug 2018 10:21:57 +0000 (12:21 +0200)]
Fix T56612: crash in Cycles viewport render update, after recent changes.

BVH8 refitting code had a bug.

2 years agoFix T56610: crash saving images with python API.
Brecht Van Lommel [Thu, 30 Aug 2018 10:19:27 +0000 (12:19 +0200)]
Fix T56610: crash saving images with python API.

2 years agoCleanup: license header formatting.
Brecht Van Lommel [Thu, 30 Aug 2018 10:09:47 +0000 (12:09 +0200)]
Cleanup: license header formatting.

2 years agoBuild environment: Tweak to harvasting script
Sergey Sharybin [Thu, 30 Aug 2018 08:21:51 +0000 (10:21 +0200)]
Build environment: Tweak to harvasting script

The idea is to make find_package() to succeed without any
extra tips given. For this, we need header files to be
harvasted.

2 years agoBuildbot: Get rid of OpenJPEG 2 hack
Sergey Sharybin [Thu, 30 Aug 2018 08:00:23 +0000 (10:00 +0200)]
Buildbot: Get rid of OpenJPEG 2 hack

Also clarified some options and decisions.

2 years agoCMake: Automatically detect OpenJPEG 2 libraries
Sergey Sharybin [Thu, 30 Aug 2018 07:55:40 +0000 (09:55 +0200)]
CMake: Automatically detect OpenJPEG 2 libraries

There is chance that on a system with both versions installed this
*might* cause some issues. Such system will be pain to support out
of the box anyway.

This change allows to use precompiled libraries without extra
modifications in the config.

2 years agoCorrection to previous commit
Sergey Sharybin [Wed, 29 Aug 2018 16:37:49 +0000 (18:37 +0200)]
Correction to previous commit

Should not include ABI.

2 years agoBuildbot: Tweak configuration to actually ve successful in chroot
Sergey Sharybin [Wed, 29 Aug 2018 16:32:27 +0000 (18:32 +0200)]
Buildbot: Tweak configuration to actually ve successful in chroot

2 years agoBuildbot: Make configuration to pass config state
Sergey Sharybin [Wed, 29 Aug 2018 15:56:17 +0000 (17:56 +0200)]
Buildbot: Make configuration to pass config state

- Foe some reason CMake's platform and processor are not intialized there.

- Need to set variables in cache, otherwise they are not visible in the
  actual CMake files.

2 years agoCleanup: indentation
Campbell Barton [Wed, 29 Aug 2018 15:31:20 +0000 (01:31 +1000)]
Cleanup: indentation

2 years agoCleanup: trailing space
Campbell Barton [Wed, 29 Aug 2018 15:05:13 +0000 (01:05 +1000)]
Cleanup: trailing space

2 years 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.

2 years 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.

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

2 years 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

2 years 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.

2 years 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>.

2 years 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.

2 years 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.

2 years 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

2 years 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!

2 years 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.

2 years 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

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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.

2 years 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

2 years 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.

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

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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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.

2 years 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.

2 years agoCycles: Add Denoising Clean to the debugging denoising passes
Lukas Stockner [Sat, 25 Aug 2018 16:20:25 +0000 (09:20 -0700)]
Cycles: Add Denoising Clean to the debugging denoising passes

2 years agoCycles: Cleanup, style
Sergey Sharybin [Fri, 24 Aug 2018 12:36:18 +0000 (14:36 +0200)]
Cycles: Cleanup, style

I wouldn't mind changing style to have space after keyword, but there was
no official code style change proposed.

2 years agoCycles: Fix wrong looking voronoi of second 2nd closest
Sergey Sharybin [Fri, 24 Aug 2018 10:29:13 +0000 (12:29 +0200)]
Cycles: Fix wrong looking voronoi of second 2nd closest

Was only happening for release builds made with GCC-8. Probably some
optimization strtegy was confused by uninitialized variable.

2 years agoFix T56491: Undo crash while preview jobs run
Campbell Barton [Fri, 24 Aug 2018 02:36:19 +0000 (12:36 +1000)]
Fix T56491: Undo crash while preview jobs run

While the crash is in 2.8, it's possible undo operates on data
which isn't only owned by the current scene (any object for eg).

Thanks to @mont29 for suggesting the fix.

2 years agoUI: always align item w/ label
Campbell Barton [Fri, 24 Aug 2018 02:13:28 +0000 (12:13 +1000)]
UI: always align item w/ label

2 years agoRNA: avoid redundant property lookups in UI API
Campbell Barton [Fri, 24 Aug 2018 01:44:28 +0000 (11:44 +1000)]
RNA: avoid redundant property lookups in UI API

2 years agoFix T56506: Different behaviour of Bounds Clamp with positive and negative axis.
Bastien Montagne [Thu, 23 Aug 2018 12:55:40 +0000 (14:55 +0200)]
Fix T56506: Different behaviour of Bounds Clamp with positive and negative axis.

Small typo on minus sign position... ;)

2 years agoCycles: Add option for building CUDA kernels sequentially
Lukas Stockner [Mon, 20 Aug 2018 08:17:34 +0000 (01:17 -0700)]
Cycles: Add option for building CUDA kernels sequentially

Building the CUDA kernels takes quite a bit of memory, and when building all of
them the combined usage can be too much on some systems (especially VMs).

Therefore, this patch adds an option to force the build system to build them
sequentially by making each build step depend on the previous kernel.

Reviewers: brecht, sergey

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

2 years agoCleanup: use EDBM prefix
Campbell Barton [Wed, 22 Aug 2018 05:22:51 +0000 (15:22 +1000)]
Cleanup: use EDBM prefix

2 years agoUI: disable new text hinting from D3201 by default for now.
Brecht Van Lommel [Tue, 14 Aug 2018 15:53:27 +0000 (17:53 +0200)]
UI: disable new text hinting from D3201 by default for now.

This changes the text hinting setting to be an enum with options
Auto / None / Slight / Full. The default is Auto which currently disables
hinting.

The hinting was tested with a new FreeType version, but this is not what
is used on the buildbots an official release environment, and the fonts
look quite bad because of that. Once FreeType has been upgraded we can
change the default.

Even then the results are not ideal, perhaps due to missing subpixel
positioning and linear color blending support in BLF.

2 years agobuild_environment: cleanup for osl harvesting on windows.
Ray Molenkamp [Tue, 21 Aug 2018 14:15:45 +0000 (08:15 -0600)]
build_environment: cleanup for osl harvesting on windows.

2 years agoPython API: expose missing LAYER_MEMBER property type registration.
Kenneth Perry [Tue, 21 Aug 2018 10:37:20 +0000 (12:37 +0200)]
Python API: expose missing LAYER_MEMBER property type registration.

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

2 years agoCorrect recent makefile OSX check
Campbell Barton [Tue, 21 Aug 2018 10:27:36 +0000 (20:27 +1000)]
Correct recent makefile OSX check

2 years agoGNUmakefile: correct blender binary for macOS
Campbell Barton [Tue, 21 Aug 2018 09:20:01 +0000 (19:20 +1000)]
GNUmakefile: correct blender binary for macOS

2 years agoCleanup: trailing space
Campbell Barton [Tue, 21 Aug 2018 07:01:56 +0000 (17:01 +1000)]
Cleanup: trailing space

2 years agoFix Cycles AO pass not working for shadow catcher objects.
Brecht Van Lommel [Mon, 20 Aug 2018 14:09:17 +0000 (16:09 +0200)]
Fix Cycles AO pass not working for shadow catcher objects.

2 years agoFix BMesh edge_bisect, edge_percent being ignored
Andrew Hale [Mon, 20 Aug 2018 03:23:32 +0000 (13:23 +1000)]
Fix BMesh edge_bisect, edge_percent being ignored

Also fix float/int/bool access methods

2 years agoCleanup: trailing space
Campbell Barton [Mon, 20 Aug 2018 01:24:14 +0000 (11:24 +1000)]
Cleanup: trailing space

2 years agoRNA: Spline.calc_length() utility function
Campbell Barton [Mon, 20 Aug 2018 01:10:09 +0000 (11:10 +1000)]
RNA: Spline.calc_length() utility function

D1810 by @Matpi w/ edits

2 years agobuild_environment: fix build issues with alembic
Ray Molenkamp [Sun, 19 Aug 2018 23:47:16 +0000 (17:47 -0600)]
build_environment: fix build issues with alembic

-read all headers from openexr not ilmbase
-add missing iexmath lib
-turn binaries back on, the blender unit tests require them.

2 years agobuild_environment: windows harvest cleanup.
Ray Molenkamp [Sun, 19 Aug 2018 17:39:32 +0000 (11:39 -0600)]
build_environment: windows harvest cleanup.

remove the commands that have already moved to the individual cmake files.

2 years agobuild_environment: opencolorio buildfixes for windows.
Ray Molenkamp [Sun, 19 Aug 2018 17:38:48 +0000 (11:38 -0600)]
build_environment: opencolorio buildfixes for windows.

copy the debug libs to the right place.

2 years agobuild_environment: openexr windows buildfix.
Ray Molenkamp [Sun, 19 Aug 2018 17:38:13 +0000 (11:38 -0600)]
build_environment: openexr windows buildfix.

with the namespaces disabled the postfix also changed.

2 years agobuild_environment: buildfixes for boost
Ray Molenkamp [Sun, 19 Aug 2018 17:37:16 +0000 (11:37 -0600)]
build_environment: buildfixes for boost

Disable hardcoded 64 bit build.

2 years agobuild_environment: build fixes for openimageio.
Ray Molenkamp [Sun, 19 Aug 2018 17:36:03 +0000 (11:36 -0600)]
build_environment: build fixes for openimageio.

disable testtex due to parameter alignment issues

2 years agobuild_environment: windows environment
Ray Molenkamp [Sun, 19 Aug 2018 17:34:49 +0000 (11:34 -0600)]
build_environment: windows environment

get 32 bit and 64 bit compilers on the same gcc version.

2 years agobuild_environment: python windows build fixes
Ray Molenkamp [Sun, 19 Aug 2018 17:32:21 +0000 (11:32 -0600)]
build_environment: python windows build fixes

fix hardcoded ssl dll names.

2 years agobuild_environment: opensubdiv windows build fixes.
Ray Molenkamp [Sun, 19 Aug 2018 17:29:55 +0000 (11:29 -0600)]
build_environment: opensubdiv windows build fixes.

only build cuda on 64 bit, since 32 bit is no longer supported by nvcc

2 years agobuild_environment: opennvdb windows build fixes.
Ray Molenkamp [Sun, 19 Aug 2018 17:29:04 +0000 (11:29 -0600)]
build_environment: opennvdb windows build fixes.

disable openexr namespaces on windows due to linker errors with it.
link pthreads due to dependency though blosc

2 years agobuild_environment: openexr disable namespaces on windows.
Ray Molenkamp [Sun, 19 Aug 2018 17:25:27 +0000 (11:25 -0600)]
build_environment: openexr disable namespaces on windows.

Things do not end up in the right namespaces quite yet, and cause linker errors with other projects using the library.

2 years agobuild_environment: blosc build fixes.
Ray Molenkamp [Sun, 19 Aug 2018 17:24:08 +0000 (11:24 -0600)]
build_environment: blosc build fixes.

blosc embedded a copy of zlib/pthreads causing duplicate symbol linker errors. pthreads was windows specific, but zlib may apply to other platforms as well.

2 years agoWarn when app-template isn't found
Campbell Barton [Fri, 17 Aug 2018 07:05:04 +0000 (17:05 +1000)]
Warn when app-template isn't found

2 years agoWM: app-template command line override
Campbell Barton [Fri, 17 Aug 2018 06:34:51 +0000 (16:34 +1000)]
WM: app-template command line override

Without this, there was no simple way to have
launchers for different app-templates.

Also allows force-disabling the app-template stored in the preferences.

2 years agocmake: fix typo in else()
Ray Molenkamp [Fri, 17 Aug 2018 20:14:26 +0000 (14:14 -0600)]
cmake: fix typo in else()

2 years agocmake/ctest: output test binaries to debug/release folders on windows.
Ray Molenkamp [Fri, 17 Aug 2018 16:04:55 +0000 (10:04 -0600)]
cmake/ctest: output test binaries to debug/release folders on windows.

debug/release builds were writing the binaries to the same folder

2 years agobuild_environment: Various tweaks needed for windows debug libs.
Ray Molenkamp [Fri, 17 Aug 2018 15:20:40 +0000 (09:20 -0600)]
build_environment: Various tweaks needed for windows debug libs.

2 years agobuild_environment: fix mistaken commit in openexr.
Ray Molenkamp [Fri, 17 Aug 2018 12:30:27 +0000 (06:30 -0600)]
build_environment: fix mistaken commit in openexr.

2 years agoBuild Environment: fixes for Linux after recent updates.
Brecht Van Lommel [Fri, 17 Aug 2018 10:40:31 +0000 (12:40 +0200)]
Build Environment: fixes for Linux after recent updates.

2 years agoFix engine.camera_model_matrix() not working in the Python API.
Brecht Van Lommel [Fri, 17 Aug 2018 10:28:27 +0000 (12:28 +0200)]
Fix engine.camera_model_matrix() not working in the Python API.

2 years agobuild_environment: small fix for building ocio on windows.
Ray Molenkamp [Thu, 16 Aug 2018 23:42:06 +0000 (17:42 -0600)]
build_environment: small fix for building ocio on windows.

2 years agobuild_environment: osl 1.9.9
Ray Molenkamp [Thu, 16 Aug 2018 23:41:35 +0000 (17:41 -0600)]
build_environment: osl 1.9.9

does no longer seem to bundle pugixml, so that's a new dependency.

2 years agobuild environment: fix opencollada build on macOS
Arto Kitula [Thu, 16 Aug 2018 22:24:05 +0000 (01:24 +0300)]
build environment: fix opencollada build on macOS

2 years agobuild_environment: openimageio 1.8.13
Ray Molenkamp [Thu, 16 Aug 2018 19:43:23 +0000 (13:43 -0600)]
build_environment: openimageio 1.8.13

2 years agobuild_environment_windows: fix missing x64 ssl libs and debug build.
Ray Molenkamp [Thu, 16 Aug 2018 15:07:13 +0000 (09:07 -0600)]
build_environment_windows: fix missing x64 ssl libs and debug build.

2 years agobuild_environment: python packages update.
Ray Molenkamp [Thu, 16 Aug 2018 15:06:02 +0000 (09:06 -0600)]
build_environment: python packages update.

idna 2.7
chardet 3.0.4
urllib3 1.23
certifi 2018.8.13
requests 2.19.1