Bastien Montagne
f22385f28e
I18n: tweak/fix exception catching code of pgettex() wrapper.
...
Related to T57066, rather unlikely to fix core of the issue, but may
solve crash itself.
2018-10-23 14:36:05 +02:00
Ray Molenkamp
4bf4da12de
Merge remote-tracking branch 'origin/master' into blender2.8
2018-10-22 10:19:06 -06:00
Ray Molenkamp
86dbbd156f
Windows: Enable python debugging in Visual Studio.
...
see D3817 for technical details, and https://wiki.blender.org/wiki/Tools/Debugging/Python_Visual_Studio for a end user quick-start guide.
Differential Revision: https://developer.blender.org/D3817
2018-10-22 10:17:08 -06:00
Campbell Barton
71466cac1e
Merge branch 'master' into blender2.8
...
Reverts: 92fd931e53
2018-10-22 14:59:12 +11:00
Lukas Stockner
02e6916890
Cycles: Enable shadow information in requested features when denoising is used
...
The shadow information isn't only used for shadowcatchers, but also to generate the shadowing feature pass of the denoiser.
2018-10-22 00:14:22 +02:00
William Reynish
b3814d8645
UI: closure some more panels by default, leaving open mostly 1 per tab.
2018-10-18 12:14:25 +02:00
Brecht Van Lommel
d09a46c2ac
UI: tweak and fixes for cycles sampling panel, remove unneeded decorators.
2018-10-16 17:14:49 +02:00
Campbell Barton
fd2ffb0b9e
RNA: remove redundant new_from_object/to_mesh arg
...
If the caller wants loop-tris, there is a function to calculate them.
2018-10-11 12:24:38 +11:00
Brecht Van Lommel
e65784a051
Python API: add loop triangles access, remove tessfaces.
...
Loop triangles are tessellated triangles create from polygons, for renderers
or exporters that need to match Blender's polygon tesselation exactly. These
are a read-only runtime cache.
Tessfaces are a legacy data structure from before Blender supported n-gons,
and were already mostly removed from the C code.
Details on porting code to loop triangles is in the release notes.
Differential Revision: https://developer.blender.org/D3539
2018-10-10 17:43:44 +02:00
Campbell Barton
793d5cb7fd
Merge branch 'master' into blender2.8
2018-10-09 10:41:13 +11:00
Campbell Barton
76f640c27d
Cleanup: spelling
2018-10-09 09:29:14 +11:00
Lukas Stockner
7920ebd157
Cycles: Fix NLM denoising kernels zeroing the wrong buffer on OpenCL
...
Since my temporary buffer commit (about a month ago), the OpenCL device was zeroing the wrong buffer, leading to
completely wrong filtered feature passes and therefore significantly lower-quality results than CPU and CUDA.
2018-10-09 00:14:29 +02:00
Campbell Barton
733e6c0b1d
Merge branch 'master' into blender2.8
2018-10-09 08:46:00 +11:00
Lukas Stockner
7aaeb06fb6
Cycles: Clean up extra minus in previous commit
...
Forgot to add that change, sorry for the noise.
2018-10-08 22:22:05 +02:00
Lukas Stockner
0234de7d85
Cycles: Reuse existing buffer in the NLM denoising kernels on CPU
2018-10-08 22:17:06 +02:00
Lukas Stockner
15e9d80375
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.
2018-10-08 22:13:40 +02:00
Brecht Van Lommel
2ac65f6153
UI: new icon set by Andrzej Ambroz.
...
This is a monochrome icon set, with a more modern look and icons for
various features that did not have a proper icon before.
2018-10-08 19:46:00 +02:00
Lukas Stockner
a0cc7bd961
Cycles: Implement vectorized NLM kernels for faster CPU denoising
2018-10-06 21:49:54 +02:00
Ray Molenkamp
ddfd6b518c
Merge remote-tracking branch 'origin/master' into blender2.8
2018-10-04 21:56:20 -06:00
Ray Molenkamp
9a674a749b
cycles: Support building with cuda 10 on windows.
2018-10-03 10:18:22 -06:00
Brecht Van Lommel
a3d9e8edce
Merge branch 'master' into blender2.8
2018-10-03 12:56:44 +02:00
Brecht Van Lommel
d05b9e0a2e
Fix build with older CMake versions that we still need to support.
2018-10-03 12:55:43 +02:00
Brecht Van Lommel
e5387eef18
Merge branch 'master' into blender2.8
2018-10-03 12:12:22 +02:00
Brecht Van Lommel
d2da3af073
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.
2018-10-03 12:09:31 +02:00
Brecht Van Lommel
6afd5292e2
Fix Cycles Python warnings related to annotations.
2018-10-01 17:16:43 +02:00
Brecht Van Lommel
786870e26f
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.
2018-10-01 08:35:32 +02:00
Brecht Van Lommel
bbd3ac73bc
Fix T56396: Cycles wrong object motion blur with deformation blur disabled.
2018-09-30 19:34:34 +02:00
Brecht Van Lommel
0722981e99
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.
2018-09-30 19:33:41 +02:00
Brecht Van Lommel
637d938c0b
Fix T56396: Cycles wrong object motion blur with deformation blur disabled.
2018-09-28 18:24:19 +02:00
Sergey Sharybin
d2d0b4fcd7
Merge branch 'master' into blender2.8
2018-09-28 15:03:03 +02:00
Sergey Sharybin
de3ee3c6e8
Cycles: Fix compilation error of CUDA kernel
...
Was caused by previous commit.
2018-09-28 15:02:44 +02:00
Sergey Sharybin
b880c13c3a
Merge branch 'master' into blender2.8
2018-09-28 13:58:30 +02:00
Sergey Sharybin
b030277e79
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.
2018-09-28 13:57:50 +02:00
Brecht Van Lommel
c3052f9126
Fix merge error, this should have been included from master.
2018-09-28 10:47:11 +02:00
Sergey Sharybin
81f68bbba1
Fix compilation errors and warnings with Clang-6
2018-09-28 09:46:12 +02:00
Sebastian Parborg
a16e5b8efa
Cleanup: remove unused DerivedMesh code.
...
Differential Revision: https://developer.blender.org/D3736
2018-09-27 20:19:28 +02:00
Brecht Van Lommel
975a40dceb
Merge branch 'master' into blender2.8
2018-09-27 20:12:14 +02:00
Brecht Van Lommel
bd267b0332
Fix cycles_cubin_cc build error on macOS.
2018-09-27 15:59:14 +02:00
Brecht Van Lommel
0f6b2504f8
Cleanup: fix harmless compiler warnings.
2018-09-27 15:33:44 +02:00
Brecht Van Lommel
e8e2f51063
Fix CUDA build with Xcode 10.0, use nvrtc due to incompatible compilers.
2018-09-27 15:20:33 +02:00
Sergey Sharybin
4de1e673a4
Merge branch 'master' into blender2.8
2018-09-27 14:51:33 +02:00
Sergey Sharybin
8f9a6b1bab
Cycles: Cleanup
2018-09-27 14:49:37 +02:00
Sergey Sharybin
bee16ec4d8
Cycles: Sync BVH8 unaligned node packing code with BVH4
...
Similar to dfae3de6bd .
2018-09-27 14:49:12 +02:00
Brecht Van Lommel
2a63e062b0
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.
2018-09-27 12:21:48 +02:00
Sergey Sharybin
de811518c0
OpenSubdiv: Cleanup, the TODO was actually solved
2018-09-26 11:52:06 +02:00
Sergey Sharybin
3a15834d63
OpenSubdiv: Cleanup
2018-09-26 10:21:34 +02:00
Brecht Van Lommel
91a5b665b0
Cycles: keep material settings panel closed by default.
2018-09-21 13:56:22 +02:00
Sergey Sharybin
8196b9d7bc
OpenSubdiv: Add extra base level queries to topology refiner
2018-09-20 15:39:41 +02:00
Sergey Sharybin
a53c81c60b
Merge branch 'master' into blender2.8
2018-09-19 18:42:17 +02:00
Sergey Sharybin
a5101e4da8
Cycles: Cleanup, double semicolon
2018-09-19 18:41:43 +02:00