blender.git
15 months 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 months agoBuild Environment: fix OpenVDB 5.1 build on Linux.
Brecht Van Lommel [Thu, 16 Aug 2018 12:39:05 +0000 (14:39 +0200)]
Build Environment: fix OpenVDB 5.1 build on Linux.

15 months agoBuild Environment: fix for IlmBase lib names without version on Linux.
Brecht Van Lommel [Thu, 16 Aug 2018 10:20:05 +0000 (12:20 +0200)]
Build Environment: fix for IlmBase lib names without version on Linux.

15 months agoBuild Environment: cleanup OpenColorIO duplicated and unused flags.
Brecht Van Lommel [Thu, 16 Aug 2018 10:21:51 +0000 (12:21 +0200)]
Build Environment: cleanup OpenColorIO duplicated and unused flags.

15 months agoFix T56404: Shape keys of the curves with multiple splines go haywire in edit mode.
Bastien Montagne [Thu, 16 Aug 2018 13:46:40 +0000 (15:46 +0200)]
Fix T56404: Shape keys of the curves with multiple splines go haywire in edit mode.

Very dummy mistake (someone forgot to increment one of the variables in
one of the loops in that spaghetti nightmare that is nurbs shapekey
code), took half an age to spot it... :/

15 months agobuild_environment: Fix compilation of FFmpeg and OpenColorIO on Linux
Sergey Sharybin [Thu, 16 Aug 2018 13:18:02 +0000 (15:18 +0200)]
build_environment: Fix compilation of FFmpeg and OpenColorIO on Linux

15 months agobuild_environment: openvdb 5.1.0
Ray Molenkamp [Thu, 16 Aug 2018 02:47:44 +0000 (20:47 -0600)]
build_environment: openvdb 5.1.0

15 months agoCleanup: rename transform UI values
Campbell Barton [Wed, 15 Aug 2018 21:59:49 +0000 (07:59 +1000)]
Cleanup: rename transform UI values

See: T54858

15 months agobuild_environment: opencolorio 1.1.0
Ray Molenkamp [Wed, 15 Aug 2018 18:32:34 +0000 (12:32 -0600)]
build_environment: opencolorio 1.1.0

-Moved from dynamic link to static on windows
-gained lcms/tinyxml/yamlcpp deps, since we need a little more control over the build flags than the build-in options will provide.

15 months agoCleanup: set expand variable for all enum-flags
Campbell Barton [Wed, 15 Aug 2018 05:48:20 +0000 (15:48 +1000)]
Cleanup: set expand variable for all enum-flags

No functional change, needed for fix in 2.8x

15 months agoFix T56359: Unitialized variable in Cycles OpenCL could cause crashes.
Stefan Werner [Tue, 14 Aug 2018 20:51:53 +0000 (22:51 +0200)]
Fix T56359: Unitialized variable in Cycles OpenCL could cause crashes.

15 months agomake.bat: fix ninja support.
Ray Molenkamp [Tue, 14 Aug 2018 13:57:21 +0000 (07:57 -0600)]
make.bat: fix ninja support.

only worked with a fresh build folder.

15 months agoFix use of uninitialized variable in some cases, in recent bugfix.
Brecht Van Lommel [Tue, 14 Aug 2018 13:27:25 +0000 (15:27 +0200)]
Fix use of uninitialized variable in some cases, in recent bugfix.

15 months agoFix T56363: Blender crash when deleting a curve object.
Bastien Montagne [Tue, 14 Aug 2018 12:05:09 +0000 (14:05 +0200)]
Fix T56363: Blender crash when deleting a curve object.

Conversion code could leave object with inconsistent material data
compared to its new obdata.

Ideally, various conversion code would handle that properly, conserving
materials when possible, but for now at least ensure we get valid
result!

15 months agoFix object copying not ensuring validity of material arrays.
Bastien Montagne [Tue, 14 Aug 2018 11:35:51 +0000 (13:35 +0200)]
Fix object copying not ensuring validity of material arrays.

Related to T56363, this is not fixing the root of the bug, but ID
copying should always be a good occasion to ensure sanity of our data
(and error checking is always better than a crash!).

15 months agoCleanup: vpaint face select de-selected twice
Campbell Barton [Tue, 14 Aug 2018 07:37:59 +0000 (17:37 +1000)]
Cleanup: vpaint face select de-selected twice

16 months agoCorrect vpaint vertex circle select
Campbell Barton [Tue, 14 Aug 2018 07:01:31 +0000 (17:01 +1000)]
Correct vpaint vertex circle select

Would run validate when not needed.

16 months agobuild_environment: opencollada 1.6.63
Ray Molenkamp [Tue, 14 Aug 2018 02:45:38 +0000 (20:45 -0600)]
build_environment: opencollada 1.6.63

16 months agobuild_environment: sdl 2.0.8
Ray Molenkamp [Tue, 14 Aug 2018 01:19:42 +0000 (19:19 -0600)]
build_environment: sdl 2.0.8

16 months agobuild_environment: opensubdiv 3.3.3 with PR975 + TBB 2018_U5
Ray Molenkamp [Tue, 14 Aug 2018 01:08:28 +0000 (19:08 -0600)]
build_environment: opensubdiv 3.3.3 with PR975 + TBB 2018_U5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

That effect is NOP with emitter particles anyway...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Needed for Python mathutils elementwise multiply.

16 months agoOpenJPEG: support building against both 1.5 and 2.3.
Brecht Van Lommel [Wed, 8 Aug 2018 17:48:12 +0000 (19:48 +0200)]
OpenJPEG: support building against both 1.5 and 2.3.

Patch porting to OpenJPEG 2.3 is by Campbell.

Once all platforms are upgraded we can remove the code for 1.5, and upgrade
or remove the openjpeg version from extern/. This intermediate step makes it
possible for platform maintainers to upgrade to 2.3 without breaking other
platforms.

16 months agoBuild: fix ffmpeg using system crystalhd library.
Brecht Van Lommel [Wed, 8 Aug 2018 18:26:14 +0000 (20:26 +0200)]
Build: fix ffmpeg using system crystalhd library.

16 months agoFix T55095: Undo crash w/ linked library data
Campbell Barton [Wed, 8 Aug 2018 09:16:43 +0000 (19:16 +1000)]
Fix T55095: Undo crash w/ linked library data

16 months agoGhost/X11: correct function signature
Campbell Barton [Wed, 8 Aug 2018 07:54:41 +0000 (17:54 +1000)]
Ghost/X11: correct function signature

16 months agoFix T54584: Crash w/ image undo
Campbell Barton [Wed, 8 Aug 2018 07:08:53 +0000 (17:08 +1000)]
Fix T54584: Crash w/ image undo

Using accumulation undo type (eg painting)
as the first undo step, broke code which adds an initial memfile undo.

16 months agoCleanup: correct header guard
Campbell Barton [Wed, 8 Aug 2018 03:10:53 +0000 (13:10 +1000)]
Cleanup: correct header guard

Header guard was duplicated before renaming.

16 months agoCleanup: use conforming header guard
Campbell Barton [Wed, 8 Aug 2018 01:49:51 +0000 (11:49 +1000)]
Cleanup: use conforming header guard

16 months agoCleanup: indentation
Campbell Barton [Wed, 8 Aug 2018 01:31:28 +0000 (11:31 +1000)]
Cleanup: indentation

16 months agoCleanup: use static variables
Campbell Barton [Wed, 8 Aug 2018 01:00:57 +0000 (11:00 +1000)]
Cleanup: use static variables

16 months agoPyAPI: Make skin modifier roots settable
Andrew Hale [Mon, 6 Aug 2018 09:37:49 +0000 (11:37 +0200)]
PyAPI: Make skin modifier roots settable

This make the root flag writable using the Python API, using the
generic skin vertex flag setter function.

Reviewed By: Campbell Barton

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

16 months agoFix T55012: Corruption editing screen keymap
Campbell Barton [Mon, 6 Aug 2018 07:08:39 +0000 (17:08 +1000)]
Fix T55012: Corruption editing screen keymap

16 months agoFix Cycles crash rendering mix of instanced and non-instanced volumes.
Brecht Van Lommel [Sun, 5 Aug 2018 09:58:31 +0000 (11:58 +0200)]
Fix Cycles crash rendering mix of instanced and non-instanced volumes.

16 months agoFix T56222: Bevel Modifier bug (uninitialized value).
Bastien Montagne [Sat, 4 Aug 2018 11:40:38 +0000 (13:40 +0200)]
Fix T56222: Bevel Modifier bug (uninitialized value).

16 months agoRNA: make particle enum public
Campbell Barton [Thu, 2 Aug 2018 07:49:03 +0000 (17:49 +1000)]
RNA: make particle enum public

16 months agoFix T56197: Cycles OpenCL build error after recent changes.
Brecht Van Lommel [Wed, 1 Aug 2018 17:31:27 +0000 (19:31 +0200)]
Fix T56197: Cycles OpenCL build error after recent changes.

16 months agoFix T56195: Typo in BLI_array_utils.h.
Bastien Montagne [Wed, 1 Aug 2018 14:12:36 +0000 (16:12 +0200)]
Fix T56195: Typo in BLI_array_utils.h.

16 months agoCleanup: remove unused array member
Campbell Barton [Wed, 1 Aug 2018 06:32:22 +0000 (16:32 +1000)]
Cleanup: remove unused array member

16 months agoCleanup: declare vars or make static
Campbell Barton [Tue, 31 Jul 2018 22:57:31 +0000 (08:57 +1000)]
Cleanup: declare vars or make static

16 months agoDNA: remove View3D.flag3
Campbell Barton [Tue, 31 Jul 2018 22:08:59 +0000 (08:08 +1000)]
DNA: remove View3D.flag3

Having 'flag, flag2, flag3' is getting out of hand especially
when we support increasing the size of types.

Make flag2 into an int.

Note, this looses the 'show world' option,
but it's not such an important setting.

16 months agoRevert "Gitignore: Ignore diffs in all subdirs"
Aaron Carlisle [Tue, 31 Jul 2018 17:03:48 +0000 (13:03 -0400)]
Revert "Gitignore: Ignore diffs in all subdirs"

This is an issue for some file in the extern dir

This reverts commit d940a081a9f1f4106a5d2d155682695b0a6b0cb6.

16 months agoGitignore: Ignore diffs in all subdirs
Aaron Carlisle [Tue, 26 Jun 2018 17:53:54 +0000 (13:53 -0400)]
Gitignore: Ignore diffs in all subdirs

16 months agoFix cmake external library build for blosc/freetype on some systems.
Brecht Van Lommel [Tue, 31 Jul 2018 12:22:32 +0000 (14:22 +0200)]
Fix cmake external library build for blosc/freetype on some systems.

16 months agoFix building w/ FreeBSD
Campbell Barton [Tue, 31 Jul 2018 10:52:36 +0000 (20:52 +1000)]
Fix building w/ FreeBSD

fileno could be a macro which can't take a void pointer.