blender.git
21 months agoMerge branch 'master' into soc-2016-pbvh-painting soc-2016-pbvh-painting
Campbell Barton [Thu, 28 Sep 2017 04:49:38 +0000 (14:49 +1000)]
Merge branch 'master' into soc-2016-pbvh-painting

21 months agoCMake: move MSVC warnings to central location
Campbell Barton [Thu, 28 Sep 2017 02:59:28 +0000 (12:59 +1000)]
CMake: move MSVC warnings to central location

21 months agoCleanup: switch fall-through warning
Campbell Barton [Thu, 28 Sep 2017 03:39:32 +0000 (13:39 +1000)]
Cleanup: switch fall-through warning

21 months agoAdding paint brushes crashes w/ linked libs
Campbell Barton [Thu, 28 Sep 2017 03:33:09 +0000 (13:33 +1000)]
Adding paint brushes crashes w/ linked libs

While we could skip this for linked files,
convention so far is to only update startup.

21 months agobgl module: extend `gl_buffer_type_from_py_format_char` function to work with more...
Germano [Wed, 27 Sep 2017 19:07:06 +0000 (16:07 -0300)]
bgl module: extend `gl_buffer_type_from_py_format_char` function to work with more string formats

Only basic types of character codes were being used

21 months ago[build_deps.cmd] Turn down logging verbosity to normal.
Ray Molenkamp [Wed, 27 Sep 2017 16:54:27 +0000 (10:54 -0600)]
[build_deps.cmd] Turn down logging verbosity to normal.

21 months ago[msvc] treat C4133 as error instead of a warning to mimic gcc's -Werror=incompatible...
Ray Molenkamp [Wed, 27 Sep 2017 16:11:00 +0000 (10:11 -0600)]
[msvc] treat C4133 as error instead of a warning to mimic gcc's -Werror=incompatible-pointer-types

as requested by @campbellbarton and @mano-wii

21 months agoCleanup: warning
Campbell Barton [Wed, 27 Sep 2017 16:04:58 +0000 (02:04 +1000)]
Cleanup: warning

21 months agoVertex/Weight Paint: Use PBVH for painting
Campbell Barton [Wed, 27 Sep 2017 15:38:17 +0000 (01:38 +1000)]
Vertex/Weight Paint: Use PBVH for painting

2016 GSOC project by @nathanvollmer, see D2150

- Mirrored painting and radial symmetry, like in sculpt mode.
- Volume based splash prevention,
  which avoids painting vertices far away from the 3D brush location.
- Normal based splash prevention,
  which avoids painting vertices with normals opposite the normal
  at the 3D brush location.
- Blur mode now uses a nearest neighbor average.
- Average mode, which averages the color/weight
  of the vertices within the brush
- Smudge mode, which pulls the colors/weights
  along the direction of the brush
- RGB^2 color blending, which gives a more accurate
  blend between two colors
- multithreading support. (PBVH leaves are painted in parallel.)
- Foreground/background color picker in vertex paint

21 months agobgl module: Interpret a buffer as a bgl.Buffer
Germano [Wed, 27 Sep 2017 14:20:00 +0000 (11:20 -0300)]
bgl module: Interpret a buffer as a bgl.Buffer

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

21 months agoCode refactor: simplify CUDA context push/pop.
Brecht Van Lommel [Sat, 23 Sep 2017 22:18:28 +0000 (00:18 +0200)]
Code refactor: simplify CUDA context push/pop.

Makes it possible to call a function like mem_alloc() when the context is
already active. Also fixes some missing pops in case of errors.

21 months agoCleanup: unused function
Campbell Barton [Wed, 27 Sep 2017 11:40:32 +0000 (21:40 +1000)]
Cleanup: unused function

21 months agoCleanup: move accumulation structs out of sculpt-session
Campbell Barton [Wed, 27 Sep 2017 05:40:31 +0000 (15:40 +1000)]
Cleanup: move accumulation structs out of sculpt-session

These were over-allocated to the size of all pbvh nodes.
Now only allocate as-needed,
using the total number of nodes under the brush.

21 months agoAvoid redundant vert->loop->vert topology lookup
Campbell Barton [Wed, 27 Sep 2017 04:56:28 +0000 (14:56 +1000)]
Avoid redundant vert->loop->vert topology lookup

This is only needed for vertex colors, vertices store their own weights,
so this is redundant.

21 months agoCleanup: split vert/weight paint into separate members
Campbell Barton [Wed, 27 Sep 2017 04:40:33 +0000 (14:40 +1000)]
Cleanup: split vert/weight paint into separate members

- Remove unused previous wpaint/vpaint struct members.
- Avoid allocating arrays when they aren't used.

21 months agoResolve bug w/ non-airbrush weight-paint blending
Campbell Barton [Wed, 27 Sep 2017 01:46:39 +0000 (11:46 +1000)]
Resolve bug w/ non-airbrush weight-paint blending

Instead of clamping the max-weight (which locked the value at 1.0),
Store the initial weight and maximum strength used for painting.
Repaint only with a higher strength, using the initial weight.

21 months agoMerge branch 'master' into soc-2016-pbvh-painting
Campbell Barton [Wed, 27 Sep 2017 01:19:21 +0000 (11:19 +1000)]
Merge branch 'master' into soc-2016-pbvh-painting

21 months agoMath Lib: Add non-clamped round_* functions
Campbell Barton [Wed, 27 Sep 2017 01:13:03 +0000 (11:13 +1000)]
Math Lib: Add non-clamped round_* functions

Replace iroundf with round_fl_to_int, add other types

21 months agoCleanup: use shorter uchar, uint type names
Campbell Barton [Wed, 27 Sep 2017 01:03:47 +0000 (11:03 +1000)]
Cleanup: use shorter uchar, uint type names

21 months agoUse BLI_math rounding function, replace sqrtl w/ sqrtf
Campbell Barton [Wed, 27 Sep 2017 01:01:22 +0000 (11:01 +1000)]
Use BLI_math rounding function, replace sqrtl w/ sqrtf

21 months agoMerge branch 'master' into soc-2016-pbvh-painting
Campbell Barton [Wed, 27 Sep 2017 00:15:41 +0000 (10:15 +1000)]
Merge branch 'master' into soc-2016-pbvh-painting

21 months agoCleanup: indentation
Campbell Barton [Tue, 26 Sep 2017 14:17:28 +0000 (00:17 +1000)]
Cleanup: indentation

21 months agoCleanup: remove bounds runtime data from scene
Campbell Barton [Tue, 26 Sep 2017 12:27:15 +0000 (22:27 +1000)]
Cleanup: remove bounds runtime data from scene

21 months agoBeauty fill was skipping small faces
Campbell Barton [Tue, 26 Sep 2017 02:59:23 +0000 (12:59 +1000)]
Beauty fill was skipping small faces

21 months agoFix T52871: beauty fill error
Campbell Barton [Tue, 26 Sep 2017 02:14:46 +0000 (12:14 +1000)]
Fix T52871: beauty fill error

Only lock tri's facing different directions.
Needed because scanfill creates zero area faces.

21 months agoRevert "Fix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly consid...
Campbell Barton [Mon, 25 Sep 2017 06:54:36 +0000 (16:54 +1000)]
Revert "Fix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly considering the state as degenerated"

This reverts commit a8f11f5422afa01608817755eea310e987f896be.

Result is no longer symmetrical, will investigate a different fix.

21 months agoAdd missing header
Campbell Barton [Tue, 26 Sep 2017 02:13:33 +0000 (12:13 +1000)]
Add missing header

21 months agoFix T52901: New Depsgraph - Driver using "self" needs reloading file to work
Joshua Leung [Tue, 26 Sep 2017 00:29:48 +0000 (13:29 +1300)]
Fix T52901: New Depsgraph - Driver using "self" needs reloading file to work

21 months agoFix: When transforming GP strokes in "Local" mode, the strokes would get obscured
Joshua Leung [Mon, 25 Sep 2017 23:56:24 +0000 (12:56 +1300)]
Fix: When transforming GP strokes in "Local" mode, the strokes would get obscured
by the transform constraint lines

Ported over e7395c75d504af2c2f720f43ea27b93e04a378e4 from the
greasepencil-object branch. I should've fixed this ages ago, but
couldn't figure out why at the time.

21 months agodeps libs: fix xiph library support on sndfile on macOS
Arto Kitula [Mon, 25 Sep 2017 23:17:39 +0000 (02:17 +0300)]
deps libs: fix xiph library support on sndfile on macOS

21 months agoFix T52835: When driven IK influence change, ik animation have 1 frame delay
Sergey Sharybin [Mon, 25 Sep 2017 13:48:38 +0000 (18:48 +0500)]
Fix T52835: When driven IK influence change, ik animation have 1 frame delay

21 months agoFix T52865: Improve wording of error message when saving packed images fails
Joshua Leung [Mon, 25 Sep 2017 12:24:13 +0000 (01:24 +1300)]
Fix T52865: Improve wording of error message when saving packed images fails

Make it clear that the packed file could not be saved back out to disk
at the specified path (e.g. destination directory doesn't exist).

21 months agoOpenVDB: Fix compilation error against OpenVDB 4
Sergey Sharybin [Mon, 25 Sep 2017 09:41:30 +0000 (14:41 +0500)]
OpenVDB: Fix compilation error against OpenVDB 4

One crucial thing here: OpenVDB shoudl be compiled WITHOUT
OPENVDB_ENABLE_3_ABI_COMPATIBLE flag. This is how OpenVDB's Makefile is
configured and it's not really possible to detect this for a compiled library.

If we ever want to support that option, we need to add extra CMake argument and
use old version 3 API everywhere.

21 months agoAdd an 'atomic cas' wrapper for pointers.
Bastien Montagne [Mon, 25 Sep 2017 08:40:50 +0000 (10:40 +0200)]
Add an 'atomic cas' wrapper for pointers.

Avoids having to repeat obfuscating castings everywhere...

21 months agoTweak to fix for thread concurency in looptri generation.
Bastien Montagne [Mon, 25 Sep 2017 07:56:02 +0000 (09:56 +0200)]
Tweak to fix for thread concurency in looptri generation.

Even if pointer assignment may be atomic, it does not prevent reordering
and other nifty compiler tricks, we need a memory barrier to ensure not
only that transferring pointer from wip array to final one is atomic,
but also that all previous writing to memory are “flushed” to
(visible by) all CPUs...

Thanks @sergey for finding the potential (though quite unlikely) issue.

21 months agoCycles: Cleanup, indentation
Sergey Sharybin [Sat, 23 Sep 2017 12:36:04 +0000 (17:36 +0500)]
Cycles: Cleanup, indentation

21 months agoMirror Modifier: option to offset UV's
Campbell Barton [Mon, 25 Sep 2017 04:11:27 +0000 (14:11 +1000)]
Mirror Modifier: option to offset UV's

Useful for baking, so UV's can be moved outside the image
and not used to bake pixels (but still used for display).

D2801 by @Zuorion

21 months agoFix T52890: Crash unlinking sequencer sound
Campbell Barton [Mon, 25 Sep 2017 00:28:17 +0000 (10:28 +1000)]
Fix T52890: Crash unlinking sequencer sound

21 months agoFix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly considering...
Germano [Sat, 23 Sep 2017 15:59:02 +0000 (12:59 -0300)]
Fix T52871: `BLI_polyfill_beautify_quad_rotate_calc_ex` was mistakenly considering the state as degenerated

21 months agoCycles: Fix compilation error of OpenCL megakernel on Apple
Sergey Sharybin [Sat, 23 Sep 2017 12:07:19 +0000 (17:07 +0500)]
Cycles: Fix compilation error of OpenCL megakernel on Apple

21 months agoCycles: Fix compilation error of megakernel on NVidia device
Sergey Sharybin [Sat, 23 Sep 2017 12:02:38 +0000 (17:02 +0500)]
Cycles: Fix compilation error of megakernel on NVidia device

It is more readable to explicitly compare to NULL anyway.

21 months agoTracking: Followup to previous fix, need to remap frame number for sequence tracking
Sergey Sharybin [Sat, 23 Sep 2017 11:18:27 +0000 (16:18 +0500)]
Tracking: Followup to previous fix, need to remap frame number for sequence tracking

21 months agoTracking: Cleanup, reuse existing variable
Sergey Sharybin [Sat, 23 Sep 2017 11:16:22 +0000 (16:16 +0500)]
Tracking: Cleanup, reuse existing variable

21 months agoFix T52851: Per-frame traking is broken when sequence doesn't start at frame 1
Sergey Sharybin [Sat, 23 Sep 2017 11:13:23 +0000 (16:13 +0500)]
Fix T52851: Per-frame traking is broken when sequence doesn't start at frame 1

21 months agoTracking: Fix crash when tracking failed
Sergey Sharybin [Sat, 23 Sep 2017 11:07:32 +0000 (16:07 +0500)]
Tracking: Fix crash when tracking failed

Was a dangling pointer to a freed memory left behind.

21 months agoRemove remaining qtcodecdata
Aaron Carlisle [Fri, 22 Sep 2017 21:13:46 +0000 (17:13 -0400)]
Remove remaining qtcodecdata

This fixes a mistake in rBefd5e3c25401b43cbd7f909418835bb570db1ab3

21 months agoRemove quicktime support
Aaron Carlisle [Fri, 22 Sep 2017 20:11:24 +0000 (16:11 -0400)]
Remove quicktime support

It has been deprecated since at least macOS 10.9 and fully removed in 10.12.

I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens.

Reviewers: mont29, dfelinto, juicyfruit, brecht

Reviewed By: mont29, brecht

Subscribers: Blendify, brecht

Maniphest Tasks: T52807

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

21 months ago[cmake/deps_builder] update openjpeg to 1.5.2 to match the version in master/extern...
Ray Molenkamp [Fri, 22 Sep 2017 19:57:21 +0000 (13:57 -0600)]
[cmake/deps_builder] update openjpeg to 1.5.2 to match the version in master/extern , add support for openjpeg in oiio. Mark webp as an optional component.

21 months agoFix T52875: install_deps.sh - numpy-1.13.1.tar.gz - 404 Not Found.
Bastien Montagne [Fri, 22 Sep 2017 16:56:37 +0000 (18:56 +0200)]
Fix T52875: install_deps.sh - numpy-1.13.1.tar.gz - 404 Not Found.

21 months agoFix T52840: New Depsgraph - Mask editor not working correctly
Sergey Sharybin [Fri, 22 Sep 2017 08:23:21 +0000 (13:23 +0500)]
Fix T52840: New Depsgraph - Mask editor not working correctly

21 months agobuild deps: add support for multiple xcode installs
Arto Kitula [Thu, 21 Sep 2017 20:54:17 +0000 (23:54 +0300)]
build deps: add support for multiple xcode installs

21 months agoCode cleanup: simplify kernel side work stealing code.
Brecht Van Lommel [Thu, 21 Sep 2017 01:37:22 +0000 (03:37 +0200)]
Code cleanup: simplify kernel side work stealing code.

21 months ago[cmake_deps/msvc] Move llvm/clang harvest to their individual cmake files.
Ray Molenkamp [Thu, 21 Sep 2017 19:10:55 +0000 (13:10 -0600)]
[cmake_deps/msvc] Move llvm/clang harvest to their individual cmake files.

21 months agodeps build: add openjpeg to OIIO
Arto Kitula [Thu, 21 Sep 2017 19:09:52 +0000 (22:09 +0300)]
deps build: add openjpeg to OIIO

21 months ago[cmake_deps/msvc] Move boost harvest to boost.cmake
Ray Molenkamp [Thu, 21 Sep 2017 17:16:52 +0000 (11:16 -0600)]
[cmake_deps/msvc] Move boost harvest to boost.cmake

21 months ago[cmake/builddeps] update for site-packages on windows to support the new requests...
Ray Molenkamp [Thu, 21 Sep 2017 16:16:40 +0000 (10:16 -0600)]
[cmake/builddeps] update for site-packages on windows to support the new requests version.

21 months agoCMake: Add extra requests dependencies
Sergey Sharybin [Thu, 21 Sep 2017 13:50:19 +0000 (18:50 +0500)]
CMake: Add extra requests dependencies

Apparently, we already had some code to deal with this. So for now just
added some extra dependencies needed for latest requests.

21 months agoCleanup: unused define
Campbell Barton [Thu, 21 Sep 2017 21:23:03 +0000 (07:23 +1000)]
Cleanup: unused define

21 months ago3D Text: Make Ctrl Backspace/Del delete words
Campbell Barton [Thu, 21 Sep 2017 10:41:09 +0000 (20:41 +1000)]
3D Text: Make Ctrl Backspace/Del delete words

Matches text-editor, console & text-button.

21 months agoFix T52860: 3D Text crashes w/ Ctrl Backspace
Campbell Barton [Thu, 21 Sep 2017 09:14:04 +0000 (19:14 +1000)]
Fix T52860: 3D Text crashes w/ Ctrl Backspace

21 months agoInstall_deps: Raise python and numpy versions (to 3.6.2 and 1.13.1 respectively).
Bastien Montagne [Thu, 21 Sep 2017 07:57:56 +0000 (09:57 +0200)]
Install_deps: Raise python and numpy versions (to 3.6.2 and 1.13.1 respectively).

21 months agodeps build: use pip to install requests 2.18.4 and it's deps
Arto Kitula [Thu, 21 Sep 2017 06:33:00 +0000 (09:33 +0300)]
deps build: use pip to install requests 2.18.4 and it's deps

21 months agoFix T50450: Breakdowner doesn't work in Tweak Mode on translated NLA Strips
Joshua Leung [Thu, 21 Sep 2017 05:38:30 +0000 (17:38 +1200)]
Fix T50450: Breakdowner doesn't work in Tweak Mode on translated NLA Strips

21 months agoFix T52861: Keymap editor filter doesn't show shortcuts using "+"
Joshua Leung [Thu, 21 Sep 2017 04:34:48 +0000 (16:34 +1200)]
Fix T52861: Keymap editor filter doesn't show shortcuts using "+"

21 months agofix T52831 removed enforcement of matrix decomposition when animations are exported
Gaia Clary [Wed, 20 Sep 2017 22:06:11 +0000 (00:06 +0200)]
fix T52831 removed enforcement of matrix decomposition when animations are exported

21 months agorevert commit c0a7e9b6312d74 because it did not work as expected
Gaia Clary [Wed, 20 Sep 2017 22:04:10 +0000 (00:04 +0200)]
revert commit c0a7e9b6312d74 because it did not work as expected

21 months agoD2777: allow blank lines and lines with spaces/tabs in cut/paste
Gaia Clary [Mon, 7 Aug 2017 18:34:22 +0000 (20:34 +0200)]
D2777: allow blank lines and lines with spaces/tabs in cut/paste

21 months agoRevert "Fix T52792: Typo in UI label of a HairInfo node socket."
Brecht Van Lommel [Wed, 20 Sep 2017 19:39:54 +0000 (21:39 +0200)]
Revert "Fix T52792: Typo in UI label of a HairInfo node socket."

This reverts commit 8ad479a3227e36b201f740a127c08e29950bb219.

21 months agoAdded extra "const" to satisfy the strict clang version in Xcode 9
Stefan Werner [Wed, 20 Sep 2017 19:47:37 +0000 (21:47 +0200)]
Added extra "const" to satisfy the strict clang version in Xcode 9

21 months agoFix T52792: Typo in UI label of a HairInfo node socket.
Bastien Montagne [Wed, 20 Sep 2017 19:02:57 +0000 (21:02 +0200)]
Fix T52792: Typo in UI label of a HairInfo node socket.

21 months ago[cmake/msvc] Update python to 3.6 + numpy to 1.13.1
Ray Molenkamp [Wed, 20 Sep 2017 18:51:36 +0000 (12:51 -0600)]
[cmake/msvc] Update python to 3.6 + numpy to 1.13.1

21 months agoFix T52852: Assert in looptri calculation after recent changes.
Bastien Montagne [Wed, 20 Sep 2017 18:45:51 +0000 (20:45 +0200)]
Fix T52852: Assert in looptri calculation after recent changes.

Wrong condition in asserts...

21 months ago[cmake/depsbuilder/msvc] Update to python 3.6 / numpy 1.13.1
Ray Molenkamp [Wed, 20 Sep 2017 18:29:50 +0000 (12:29 -0600)]
[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

21 months agoFix missing ID remapping in Action editor callback.
Bastien Montagne [Wed, 20 Sep 2017 18:24:54 +0000 (20:24 +0200)]
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.

21 months agoFix T52368: Cycles OSL trace() failing on Windows 32 bit.
Brecht Van Lommel [Wed, 20 Sep 2017 17:36:24 +0000 (19:36 +0200)]
Fix T52368: Cycles OSL trace() failing on Windows 32 bit.

21 months agoFix T52853: harmless Cycles test failure in debug mode.
Brecht Van Lommel [Wed, 20 Sep 2017 17:24:18 +0000 (19:24 +0200)]
Fix T52853: harmless Cycles test failure in debug mode.

21 months agoCycles: use defensive sampling for picking BSDFs and BSSRDFs.
Brecht Van Lommel [Wed, 13 Sep 2017 16:28:31 +0000 (18:28 +0200)]
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.

21 months agoCycles: slightly improve BSDF sample stratification for path tracing.
Brecht Van Lommel [Thu, 14 Sep 2017 20:56:32 +0000 (22:56 +0200)]
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.

21 months agoCode cleanup: refactor BSSRDF closure sampling, for next commit.
Brecht Van Lommel [Thu, 14 Sep 2017 23:55:44 +0000 (01:55 +0200)]
Code cleanup: refactor BSSRDF closure sampling, for next commit.

21 months agoCode cleanup: remove SOBOL_SKIP hack, seems no longer needed.
Brecht Van Lommel [Mon, 18 Sep 2017 22:38:22 +0000 (00:38 +0200)]
Code cleanup: remove SOBOL_SKIP hack, seems no longer needed.

21 months agoCode cleanup: remove hack to avoid seeing transparent objects in noise.
Brecht Van Lommel [Thu, 14 Sep 2017 19:53:00 +0000 (21:53 +0200)]
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.

21 months agoFix Cycles test report not closing files properly.
Brecht Van Lommel [Wed, 20 Sep 2017 17:12:26 +0000 (19:12 +0200)]
Fix Cycles test report not closing files properly.

21 months agoFix T52842: Incorrect description for bpy.types.MeshTextureFace.uv
Bastien Montagne [Wed, 20 Sep 2017 14:39:13 +0000 (16:39 +0200)]
Fix T52842: Incorrect description for bpy.types.MeshTextureFace.uv

Tweak rna_info module to generate valid info also for multi-dimensional arrays.

21 months agoExpose multi-dimensional array data in properties' introspection data.
Bastien Montagne [Wed, 20 Sep 2017 14:37:01 +0000 (16:37 +0200)]
Expose multi-dimensional array data in properties' introspection data.

Required to generate valid doc for such arrays!

21 months agoFix rna_info.py module, broken by recent changes in bpy.types presumably.
Bastien Montagne [Wed, 20 Sep 2017 14:35:23 +0000 (16:35 +0200)]
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.

21 months agoUI: fullstop at end of tooltips
Campbell Barton [Wed, 20 Sep 2017 13:58:08 +0000 (23:58 +1000)]
UI: fullstop at end of tooltips

Allows for multiple sentences not to look strange.
Convention not to include in RNA remains.

21 months agodeps build: correct sndfile fix
Arto Kitula [Wed, 20 Sep 2017 10:20:23 +0000 (13:20 +0300)]
deps build: correct sndfile fix

21 months agoBLI_polyfill2d_test: script to generate test data
Campbell Barton [Wed, 20 Sep 2017 03:39:31 +0000 (13:39 +1000)]
BLI_polyfill2d_test: script to generate test data

21 months agodeps build: fix sndfile building on macOS
Arto Kitula [Tue, 19 Sep 2017 21:08:32 +0000 (00:08 +0300)]
deps build: fix sndfile building on macOS

21 months agomacOS: use python version 3.6 when building blender
Arto Kitula [Tue, 19 Sep 2017 21:07:56 +0000 (00:07 +0300)]
macOS: use python version 3.6 when building blender

21 months agodeps build: bump Python to 3.6.2 and Numpy to 1.13.1
Arto Kitula [Tue, 19 Sep 2017 21:04:23 +0000 (00:04 +0300)]
deps build: bump Python to 3.6.2 and Numpy to 1.13.1

21 months agoCorrect test ifdef in polyfill
Campbell Barton [Tue, 19 Sep 2017 18:57:48 +0000 (04:57 +1000)]
Correct test ifdef in polyfill

21 months agoFix T52834: Polyfill2D fails with co-linear edges
Campbell Barton [Tue, 19 Sep 2017 18:29:04 +0000 (04:29 +1000)]
Fix T52834: Polyfill2D fails with co-linear edges

21 months agoBLI_polyfill2d_test: add test for T52834
Campbell Barton [Tue, 19 Sep 2017 17:40:13 +0000 (03:40 +1000)]
BLI_polyfill2d_test: add test for T52834

Commented since it currently fails.

21 months agoBLI_polyfill2d_test: Try flipped x/y axis
Campbell Barton [Tue, 19 Sep 2017 17:31:32 +0000 (03:31 +1000)]
BLI_polyfill2d_test: Try flipped x/y axis

In T52834 this makes a difference.

21 months agotransform_snap_object: simplify IGNORE_BEHIND_RAY
mano-wii [Tue, 19 Sep 2017 16:57:59 +0000 (13:57 -0300)]
transform_snap_object: simplify IGNORE_BEHIND_RAY

`depth_get` is called in most of the time. So not worth going through so many conditions

21 months agoDepsgraph: Fix wrong flag being assigned
Sergey Sharybin [Tue, 19 Sep 2017 15:55:15 +0000 (20:55 +0500)]
Depsgraph: Fix wrong flag being assigned

21 months agoFix T52733 Percent mode for Bevel sometimes had nans.
Howard Trickey [Tue, 19 Sep 2017 13:38:17 +0000 (09:38 -0400)]
Fix T52733 Percent  mode for Bevel sometimes had nans.

Forgot some initialization.

21 months agoFix T52818: Tangent space calculation is really slow for high-density mesh with degen...
Sergey Sharybin [Tue, 19 Sep 2017 12:46:34 +0000 (17:46 +0500)]
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.

21 months agoMikkspace: Cleanup, reduce indentation level
Sergey Sharybin [Tue, 19 Sep 2017 12:00:48 +0000 (17:00 +0500)]
Mikkspace: Cleanup, reduce indentation level