Campbell Barton
0c82a6fec8
Cleanup: unused define
2017-09-22 07:23:03 +10:00
Campbell Barton
f5aa50853c
3D Text: Make Ctrl Backspace/Del delete words
...
Matches text-editor, console & text-button.
2017-09-21 20:43:49 +10:00
Campbell Barton
806bc55a34
Fix T52860: 3D Text crashes w/ Ctrl Backspace
2017-09-21 19:14:04 +10:00
Bastien Montagne
50b9d1d019
Install_deps: Raise python and numpy versions (to 3.6.2 and 1.13.1 respectively).
2017-09-21 09:59:07 +02:00
Arto Kitula
e0f68e5d22
deps build: use pip to install requests 2.18.4 and it's deps
2017-09-21 09:33:00 +03:00
Joshua Leung
0c019a3ffc
Fix T50450: Breakdowner doesn't work in Tweak Mode on translated NLA Strips
2017-09-21 17:38:30 +12:00
Joshua Leung
fde45132de
Fix T52861: Keymap editor filter doesn't show shortcuts using "+"
2017-09-21 16:35:47 +12:00
Gaia Clary
26f98446b1
fix T52831 removed enforcement of matrix decomposition when animations are exported
2017-09-21 00:06:11 +02:00
Gaia Clary
a3b8f98913
revert commit c0a7e9b631
because it did not work as expected
2017-09-21 00:04:10 +02:00
Gaia Clary
c0a7e9b631
D2777: allow blank lines and lines with spaces/tabs in cut/paste
2017-09-20 22:48:38 +02:00
Brecht Van Lommel
78c2242db5
Revert "Fix T52792: Typo in UI label of a HairInfo node socket."
...
This reverts commit 8ad479a322
.
2017-09-20 22:06:23 +02:00
Stefan Werner
ee30a4381f
Added extra "const" to satisfy the strict clang version in Xcode 9
2017-09-20 21:47:45 +02:00
Bastien Montagne
8ad479a322
Fix T52792: Typo in UI label of a HairInfo node socket.
2017-09-20 21:06:33 +02:00
Ray Molenkamp
692631551f
[cmake/msvc] Update python to 3.6 + numpy to 1.13.1
2017-09-20 12:51:36 -06:00
Bastien Montagne
25f28d348f
Fix T52852: Assert in looptri calculation after recent changes.
...
Wrong condition in asserts...
2017-09-20 20:46:51 +02:00
Ray Molenkamp
c5491ba874
[cmake/depsbuilder/msvc] Update to python 3.6 / numpy 1.13.1
...
-No more hardcoded python35/36 tokens in the scripts
-disabled python module for boost, was not used
-Updated patches for python to support building with msvc2013
2017-09-20 12:31:40 -06:00
Bastien Montagne
98d797b67c
Fix missing ID remapping in Action editor callback.
...
Spotted by Joshua Leung (@aligorith), thanks!
Should probably be backported to 2.79a should we do it.
2017-09-20 20:26:40 +02:00
Brecht Van Lommel
18a353dd24
Fix T52368: Cycles OSL trace() failing on Windows 32 bit.
2017-09-20 19:38:08 +02:00
Brecht Van Lommel
14223357e5
Fix T52853: harmless Cycles test failure in debug mode.
2017-09-20 19:38:08 +02:00
Brecht Van Lommel
90d4b823d7
Cycles: use defensive sampling for picking BSDFs and BSSRDFs.
...
For the first bounce we now give each BSDF or BSSRDF a minimum sample weight,
which helps reduce noise for a typical case where you have a glossy BSDF with
a small weight due to Fresnel, but not necessarily small contribution relative
to a diffuse or transmission BSDF below.
We can probably find a better heuristic that also enables this on further
bounces, for example when looking through a perfect mirror, but I wasn't able
to find a robust one so far.
2017-09-20 19:38:08 +02:00
Brecht Van Lommel
095a01a73a
Cycles: slightly improve BSDF sample stratification for path tracing.
...
Similar to what we did for area lights previously, this should help
preserve stratification when using multiple BSDFs in theory. Improvements
are not easily noticeable in practice though, because the number of BSDFs
is usually low. Still nice to eliminate one sampling dimension.
2017-09-20 19:38:08 +02:00
Brecht Van Lommel
b3afc8917c
Code cleanup: refactor BSSRDF closure sampling, for next commit.
2017-09-20 19:38:08 +02:00
Brecht Van Lommel
d029399e6b
Code cleanup: remove SOBOL_SKIP hack, seems no longer needed.
2017-09-20 19:38:08 +02:00
Brecht Van Lommel
d750d182e5
Code cleanup: remove hack to avoid seeing transparent objects in noise.
...
Previously the Sobol pattern suffered from some correlation issues that
made the outline of objects like a smoke domain visible. This helps
simplify the code and also makes some other optimizations possible.
2017-09-20 19:38:08 +02:00
Brecht Van Lommel
8289b47e3a
Fix Cycles test report not closing files properly.
2017-09-20 19:12:26 +02:00
Bastien Montagne
f54f680a26
Fix T52842: Incorrect description for bpy.types.MeshTextureFace.uv
...
Tweak rna_info module to generate valid info also for multi-dimensional arrays.
2017-09-20 16:40:11 +02:00
Bastien Montagne
942c5997c1
Expose multi-dimensional array data in properties' introspection data.
...
Required to generate valid doc for such arrays!
2017-09-20 16:40:11 +02:00
Bastien Montagne
c4bbf1e4b0
Fix rna_info.py module, broken by recent changes in bpy.types presumably.
...
Hope fix is OK, seems to work with API generation script at least.
2017-09-20 16:40:11 +02:00
Campbell Barton
adb647fb92
UI: fullstop at end of tooltips
...
Allows for multiple sentences not to look strange.
Convention not to include in RNA remains.
2017-09-20 23:59:26 +10:00
Arto Kitula
99c9f17098
deps build: correct sndfile fix
2017-09-20 13:20:23 +03:00
Campbell Barton
a2d246c5c0
BLI_polyfill2d_test: script to generate test data
2017-09-20 13:40:30 +10:00
Arto Kitula
77dccbf481
deps build: fix sndfile building on macOS
2017-09-20 00:08:32 +03:00
Arto Kitula
46300a541d
macOS: use python version 3.6 when building blender
2017-09-20 00:07:56 +03:00
Arto Kitula
c87c1ec1da
deps build: bump Python to 3.6.2 and Numpy to 1.13.1
2017-09-20 00:04:23 +03:00
Campbell Barton
f680e42a4c
Correct test ifdef in polyfill
2017-09-20 04:57:48 +10:00
Campbell Barton
16355d545b
Fix T52834: Polyfill2D fails with co-linear edges
2017-09-20 04:29:04 +10:00
Campbell Barton
c4235356c9
BLI_polyfill2d_test: add test for T52834
...
Commented since it currently fails.
2017-09-20 03:40:13 +10:00
Campbell Barton
e00bb4d22c
BLI_polyfill2d_test: Try flipped x/y axis
...
In T52834 this makes a difference.
2017-09-20 03:35:06 +10:00
mano-wii
98ea79cfde
transform_snap_object: simplify IGNORE_BEHIND_RAY
...
`depth_get` is called in most of the time. So not worth going through so many conditions
2017-09-19 13:57:59 -03:00
Sergey Sharybin
b31faac17e
Depsgraph: Fix wrong flag being assigned
2017-09-19 20:55:15 +05:00
Howard Trickey
96ce50449c
Fix T52733 Percent mode for Bevel sometimes had nans.
...
Forgot some initialization.
2017-09-19 09:39:11 -04:00
Sergey Sharybin
3241905f40
Fix T52818: Tangent space calculation is really slow for high-density mesh with degenerated topology
...
Now we replace O(N^2) computational complexity with O(N) extra memory penalty.
Memory is much cheaper than CPU time. Keep in mind, memory penalty is like
4 megabytes per 1M vertices.
2017-09-19 17:50:09 +05:00
Sergey Sharybin
2dab6f499c
Mikkspace: Cleanup, reduce indentation level
2017-09-19 17:50:09 +05:00
Bastien Montagne
9591b5f618
Fix T52816: regression can't open file in 2.79 (crash).
...
Tentative fix, since I cannot reproduce thenissue for some reason here
on linux.
Core of the problem is pretty clear though, thanks to Germano Cavalcante
(@mano-wii): another thread could try to use looptris data after worker
one had allocated it, but before it had actually computed looptris.
So now, we use a temp 'wip' pointer to store looptris being computed
(since this is protected by a mutex, other threads will have to wait on
it, no possibility for them to double-compute the looptris here).
This should probably be backported to 2.79a if done.
2017-09-19 14:00:49 +02:00
Sergey Sharybin
1a4442b3db
Fix T52823: New Depsgraph - Shrinkwrap crashes blender
...
The issue was caused by threading conflict around looptris: it was possible
that DM will return non-NULL but non-initialized array of looptris.
Thanks Campbell for second pair of eyes!
2017-09-19 16:12:05 +05:00
Campbell Barton
495d3c8dd7
CMake: update for renamed headers
2017-09-19 20:26:07 +10:00
Campbell Barton
7b95243240
BLI_utildefines_iter: Use for iteration helpers
2017-09-19 20:22:24 +10:00
Campbell Barton
60956397ca
Cleanup: BLI_utildefines prefix for header-only libs
...
This allows to have different macro headers without them sharing
similar names to regular C modules.
2017-09-19 20:16:05 +10:00
Campbell Barton
215651af1b
Boolean Modifier: add debug options
...
Only show & use when running in debug mode.
2017-09-19 18:29:52 +10:00
Sergey Sharybin
7177e0ac3e
Fix T52811: At any framerate selected, video exported with 1000fps
2017-09-19 11:31:03 +05:00