2 years agoVertex Paint: move normal falloff into the brush
Campbell Barton [Fri, 6 Oct 2017 09:11:17 +0000 (20:11 +1100)]
Vertex Paint: move normal falloff into the brush

All related settings are already in the brush,
so it's inconvenient to switch panels to change this one option.

2 years agoVertex Paint: use view normal w/ 2D falloff
Campbell Barton [Fri, 6 Oct 2017 08:10:33 +0000 (19:10 +1100)]
Vertex Paint: use view normal w/ 2D falloff

When projecting to the view, cull faces pointing
away from the view normal.

2 years agoVertex Paint: use brush front-face setting
Campbell Barton [Fri, 6 Oct 2017 07:57:37 +0000 (18:57 +1100)]
Vertex Paint: use brush front-face setting

Follow sculpt mode more closely by using the brush front-face option.

2 years agoSculpt: use tube falloff when calculating normals
Campbell Barton [Fri, 6 Oct 2017 07:29:54 +0000 (18:29 +1100)]
Sculpt: use tube falloff when calculating normals

Also apply 2D clamping for other tools when the option is set.

2 years agoSculpt: clamp normal to plane w/ projected falloff
Campbell Barton [Fri, 6 Oct 2017 06:38:56 +0000 (17:38 +1100)]
Sculpt: clamp normal to plane w/ projected falloff

Allows for editing outlines w/o pushing geometry towards/away from
the view.

2 years agoFix ruler access from search pop-up
Campbell Barton [Fri, 6 Oct 2017 06:12:25 +0000 (17:12 +1100)]
Fix ruler access from search pop-up

D2831 by @1xundoredo

2 years agoCleanup: style
Campbell Barton [Fri, 6 Oct 2017 05:56:41 +0000 (16:56 +1100)]
Cleanup: style

2 years agoFix T52514: don't clear filename when dropping directory path in file browser.
Brecht Van Lommel [Thu, 5 Oct 2017 22:18:57 +0000 (00:18 +0200)]
Fix T52514: don't clear filename when dropping directory path in file browser.

2 years agoFix T52998: disabled menu entries responding to key shortcuts.
Brecht Van Lommel [Thu, 5 Oct 2017 15:46:22 +0000 (17:46 +0200)]
Fix T52998: disabled menu entries responding to key shortcuts.

2 years agoFix T53002: Batch-Generate Previews generate empty or none image for large objects.
Bastien Montagne [Thu, 5 Oct 2017 16:12:10 +0000 (18:12 +0200)]
Fix T53002: Batch-Generate Previews generate empty or none image for large objects.

Camera clipping was left to default values, which won't work well for
very large (or small) objects. Now recompute valid clipping start/end
based on boundingbox of rendered data, and final location of camera.

2 years agoFix T53001: more workarounds for crash in AMD compiler with recent drivers.
Brecht Van Lommel [Thu, 5 Oct 2017 14:41:41 +0000 (16:41 +0200)]
Fix T53001: more workarounds for crash in AMD compiler with recent drivers.

2 years agoCode refactor: split displace/background into separate kernels, remove luma.
Brecht Van Lommel [Thu, 5 Oct 2017 13:17:09 +0000 (15:17 +0200)]
Code refactor: split displace/background into separate kernels, remove luma.

2 years agoSculpt Mode: 2D falloff option
Campbell Barton [Thu, 5 Oct 2017 13:18:11 +0000 (00:18 +1100)]
Sculpt Mode: 2D falloff option

This makes brush influence into a tube instead of a sphere.
It can be used along the outline of a mesh to adjust it's silhouette.

Note that all this takes advantage of changes from vertex paint,
from testing this seems useful so exposing from the brush options.

2 years agoVertex Paint: apply when cursor isn't over faces
Campbell Barton [Thu, 5 Oct 2017 10:16:25 +0000 (21:16 +1100)]
Vertex Paint: apply when cursor isn't over faces

This behavior makes more sense for sculpt, less so for painting.
Restores non PBVH behavior, adding `BKE_pbvh_find_nearest_to_ray` -
similar to ray-cast except it finds the closest point on the surface.

2 years agoCleanup: rename dist -> depth
Campbell Barton [Thu, 5 Oct 2017 10:06:04 +0000 (21:06 +1100)]
Cleanup: rename dist -> depth

Prepare to add code that stores distance to the ray, avoid confusion.

2 years agoCleanup: remove unused struct member
Campbell Barton [Thu, 5 Oct 2017 06:52:05 +0000 (17:52 +1100)]
Cleanup: remove unused struct member

Merged with soc-2016-pbvh-painting, no longer needed.

2 years agoDisable cursor drawing while navigating
Campbell Barton [Thu, 5 Oct 2017 06:35:46 +0000 (17:35 +1100)]
Disable cursor drawing while navigating

Was performing ray-casts in sculpt mode on every update.

2 years agoFix sculpt secondary color missing some brushes
Campbell Barton [Thu, 5 Oct 2017 01:57:24 +0000 (12:57 +1100)]
Fix sculpt secondary color missing some brushes

D2841 by @uvwxyz w/ edits

2 years agoCleanup: use bool for brush checks
Campbell Barton [Thu, 5 Oct 2017 01:51:36 +0000 (12:51 +1100)]
Cleanup: use bool for brush checks

2 years agoFix brush reset (missing notifier)
Campbell Barton [Thu, 5 Oct 2017 01:32:24 +0000 (12:32 +1100)]
Fix brush reset (missing notifier)

D2843 by @uvwxyz

2 years agoCMake: use restrict w/ gcc, not clang
Campbell Barton [Thu, 5 Oct 2017 01:08:17 +0000 (12:08 +1100)]
CMake: use restrict w/ gcc, not clang

2 years agoPyAPI: fast keyword parsing for bpy modules
Campbell Barton [Wed, 4 Oct 2017 23:52:18 +0000 (10:52 +1100)]
PyAPI: fast keyword parsing for bpy modules

No functional changes.

2 years agoCMake: add -Wrestrict for GCC
Campbell Barton [Wed, 4 Oct 2017 23:50:02 +0000 (10:50 +1100)]
CMake: add -Wrestrict for GCC

2 years agoFix passing the same argument twice to BLI_strncpy
Campbell Barton [Wed, 4 Oct 2017 23:47:08 +0000 (10:47 +1100)]
Fix passing the same argument twice to BLI_strncpy

2 years agoFix setting the operator name in Py operator API
Campbell Barton [Wed, 4 Oct 2017 23:46:26 +0000 (10:46 +1100)]
Fix setting the operator name in Py operator API

2 years agoFix incorrect CUDA remaining time estimate after previous commit.
Brecht Van Lommel [Wed, 4 Oct 2017 21:25:51 +0000 (23:25 +0200)]
Fix incorrect CUDA remaining time estimate after previous commit.

2 years agoCycles: CUDA faster rendering of small tiles, using multiple samples like OpenCL.
Brecht Van Lommel [Tue, 26 Sep 2017 23:38:19 +0000 (01:38 +0200)]
Cycles: CUDA faster rendering of small tiles, using multiple samples like OpenCL.

The work size is still very conservative, and this doesn't help for progressive
refine. For that we will need to render multiple tiles at the same time. But this
should already help for denoising renders that require too much memory with big
tiles, and just generally soften the performance dropoff with small tiles.

Differential Revision:

2 years agoFix use of uninitialized memory in Cycles normal baking.
Brecht Van Lommel [Tue, 3 Oct 2017 22:28:32 +0000 (00:28 +0200)]
Fix use of uninitialized memory in Cycles normal baking.

2 years agoCode refactor: zero render buffers outside of kernel.
Brecht Van Lommel [Wed, 27 Sep 2017 01:53:03 +0000 (03:53 +0200)]
Code refactor: zero render buffers outside of kernel.

This was originally done with the first sample in the kernel for better
performance, but it doesn't work anymore with atomics. Any benefit was
very minor anyway, too small to measure it seems.

2 years agoCode refactor: use split variance calculation for mega kernels too.
Brecht Van Lommel [Tue, 26 Sep 2017 23:03:50 +0000 (01:03 +0200)]
Code refactor: use split variance calculation for mega kernels too.

There is no significant difference in denoised benchmark scenes and
denoising ctests, so might as well make it all consistent.

2 years agoCode refactor: remove rng_state buffer and compute hash on the fly.
Brecht Van Lommel [Tue, 26 Sep 2017 22:39:53 +0000 (00:39 +0200)]
Code refactor: remove rng_state buffer and compute hash on the fly.

A little faster on some benchmark scenes, a little slower on others, seems
about performance neutral on average and saves a little memory.

2 years agoCode refactor: add WorkTile struct for passing work to kernel.
Brecht Van Lommel [Tue, 26 Sep 2017 21:42:36 +0000 (23:42 +0200)]
Code refactor: add WorkTile struct for passing work to kernel.

This makes sharing some code between mega/split in following commits a bit
easier, and also paves the way for rendering multiple tiles later.

2 years agoFix T52645, T52645: AMD OpenCL compiler crash with recent drivers.
Brecht Van Lommel [Wed, 4 Oct 2017 18:45:20 +0000 (20:45 +0200)]
Fix T52645, T52645: AMD OpenCL compiler crash with recent drivers.

Work around the bug by reshuffling code.

2 years agoinstalldeps: Fix building numpy with newer py system...
Bastien Montagne [Wed, 4 Oct 2017 18:15:35 +0000 (20:15 +0200)]
installdeps: Fix building numpy with newer py system...

Many thanks to Jens Verwiebe for investigating and finding this fix.

2 years agoFix T42489 and T52936: Loading blend with minimized window results in crash or empty...
Ray Molenkamp [Wed, 4 Oct 2017 17:44:22 +0000 (11:44 -0600)]
Fix T42489 and T52936: Loading blend with minimized window results in crash or empty screen on windows.

Reviewed By: @brecht , @sergey

Differential Revision:

2 years agoFix error copying smoke modifier uv layer
Campbell Barton [Wed, 4 Oct 2017 15:44:02 +0000 (02:44 +1100)]
Fix error copying smoke modifier uv layer

2 years agoTssst, we use USA english, not Oxford one... :P
Bastien Montagne [Wed, 4 Oct 2017 10:42:33 +0000 (12:42 +0200)]
Tssst, we use USA english, not Oxford one... :P

2 years agoFix i18n messages extraction script, and a few more UI messages...
Bastien Montagne [Wed, 4 Oct 2017 10:38:40 +0000 (12:38 +0200)]
Fix i18n messages extraction script, and a few more UI messages...

2 years agoFix T52982: Join operator with context override crashes Blender 2.79
Sergey Sharybin [Wed, 4 Oct 2017 09:59:44 +0000 (14:59 +0500)]
Fix T52982: Join operator with context override crashes Blender 2.79

2 years agoFix T52923: Circle diameter is in fact radius
Campbell Barton [Wed, 4 Oct 2017 07:01:53 +0000 (18:01 +1100)]
Fix T52923: Circle diameter is in fact radius

2 years agoCleanup: redundant casts
Campbell Barton [Wed, 4 Oct 2017 05:44:45 +0000 (16:44 +1100)]
Cleanup: redundant casts

2 years agoDocs: remove outdated PyAPI guide
Campbell Barton [Wed, 4 Oct 2017 04:56:27 +0000 (15:56 +1100)]
Docs: remove outdated PyAPI guide

2 years agoPyAPI: fast keyword parsing for __import__
Campbell Barton [Wed, 4 Oct 2017 04:54:41 +0000 (15:54 +1100)]
PyAPI: fast keyword parsing for __import__

No functional changes.

2 years agoPyAPI: fast keyword parsing for bpy.props
Campbell Barton [Wed, 4 Oct 2017 04:13:52 +0000 (15:13 +1100)]
PyAPI: fast keyword parsing for bpy.props

No functional changes.

2 years agoSome UI/messages fixes.
Bastien Montagne [Tue, 3 Oct 2017 19:32:31 +0000 (21:32 +0200)]
Some UI/messages fixes.

2 years agoCMake: avoid naming collision
Campbell Barton [Tue, 3 Oct 2017 14:35:24 +0000 (01:35 +1100)]
CMake: avoid naming collision

2 years agoPython: bump minimum version to 3.6
Campbell Barton [Tue, 3 Oct 2017 12:50:34 +0000 (23:50 +1100)]
Python: bump minimum version to 3.6

2 years agoCleanup: remove unused vpaint projection handle
Campbell Barton [Tue, 3 Oct 2017 12:43:30 +0000 (23:43 +1100)]
Cleanup: remove unused vpaint projection handle

2 years agoWeight Paint: blend smear tool
Campbell Barton [Tue, 3 Oct 2017 12:35:30 +0000 (23:35 +1100)]
Weight Paint: blend smear tool

2 years agoVertex Paint: fix feedback loop w/ smear tool
Campbell Barton [Tue, 3 Oct 2017 12:04:22 +0000 (23:04 +1100)]
Vertex Paint: fix feedback loop w/ smear tool

Was reading and writing from same array,
this also makes smear thread-safe.

2 years agoFix bplayer (c)
Bastien Montagne [Tue, 3 Oct 2017 10:31:36 +0000 (12:31 +0200)]
Fix bplayer (c)

2 years agoFix T52981: 2D Curve shapes do not render untill extruded
Sergey Sharybin [Tue, 3 Oct 2017 10:28:57 +0000 (15:28 +0500)]
Fix T52981: 2D Curve shapes do not render untill extruded

Regression since 9298c53.

2 years agoChange weigth paint accumulate mechanics to fix problems with mirroring.
Alexander Gavrilov [Tue, 3 Oct 2017 09:28:07 +0000 (12:28 +0300)]
Change weigth paint accumulate mechanics to fix problems with mirroring.

Restoring weights is problematic when the stroke overlaps its mirror.
It's better to simply compute the new weight based on the saved data
rather than restoring things, and check that the change is monotonic.

This way is also closer to how things worked before the merge.

2 years agoVertex Paint: smear got wrong last-location
Campbell Barton [Tue, 3 Oct 2017 09:19:59 +0000 (20:19 +1100)]
Vertex Paint: smear got wrong last-location

2 years agoError in last commit, weight must be set for non-accumulate
Campbell Barton [Tue, 3 Oct 2017 08:24:02 +0000 (19:24 +1100)]
Error in last commit, weight must be set for non-accumulate

2 years agoVertex Paint: remove accumulate (soc-2017-vertex_paint)
Campbell Barton [Tue, 3 Oct 2017 07:50:34 +0000 (18:50 +1100)]
Vertex Paint: remove accumulate (soc-2017-vertex_paint)

This secondary accumulation option accumulated brush falloff.
The same option in image painting accumulates color
as vertex paiht 'Spray' does.

Giving this option different behavior for vertex paint seems strange.
Also this is basically increasing falloff over time.

Remove the new code, expose existing 'Spray' as 'Accumulate'
to match other paint modes.

2 years agoWeight Paint: don't set weight w/ average brush
Campbell Barton [Tue, 3 Oct 2017 07:43:18 +0000 (18:43 +1100)]
Weight Paint: don't set weight w/ average brush

Also use 'const' for brush.

2 years agoCorrect int division in last commit
Campbell Barton [Tue, 3 Oct 2017 06:36:55 +0000 (17:36 +1100)]
Correct int division in last commit

2 years agoWeight Paint: add some color blending modes
Campbell Barton [Tue, 3 Oct 2017 06:24:29 +0000 (17:24 +1100)]
Weight Paint: add some color blending modes

While these mostly make sense for color,
there is no harm in supporting.

2 years agoBuildbot: Re-enable cuda binaries, those should work
Sergey Sharybin [Mon, 2 Oct 2017 15:24:42 +0000 (20:24 +0500)]
Buildbot: Re-enable cuda binaries, those should work

2 years agoDisable multithreaded weight paint when mirroring is enabled.
Alexander Gavrilov [Mon, 2 Oct 2017 14:33:51 +0000 (17:33 +0300)]
Disable multithreaded weight paint when mirroring is enabled.

Mirroring writes to the mirror vertex within the direct vertex
draw function, which violates assumptions required for processing
vertices in parallel.

2 years agoRemove brush versioning (again!)
Campbell Barton [Mon, 2 Oct 2017 13:53:42 +0000 (00:53 +1100)]
Remove brush versioning (again!)

Causes crash, see c133927bb

Merging soc-2017-vertex_paint brought this back by accident.

2 years agoFix T52927: Compositor wrong scale when scale size input is connected to complex...
Sergey Sharybin [Mon, 2 Oct 2017 10:54:08 +0000 (15:54 +0500)]
Fix T52927: Compositor wrong scale when scale size input is connected to complex node

The issue here is that we can not read scale from socket when determining
dependent area of interest. This area will depend on current pixel. Now fall
back to more stupid but reliable thing: if scale size input is connected to some
nodes, we use the whole frame as area of interest.

2 years agoVertex Paint: projection options
Campbell Barton [Mon, 2 Oct 2017 10:07:25 +0000 (21:07 +1100)]
Vertex Paint: projection options

This makes vertex paint match image painting more closely.

- Add falloff shape option sphere/circle
  where sphere uses a 3D radius around the cursor and
  circle uses a 2D radius (projected), like previous releases.
- Add normal angle option so you can control the falloff.
- Add Cull option, to paint onto faces pointing away.

Disabling normals, culling and using circle falloff
allows you to paint through the mesh.

2 years agoSculpt: calculate plane instead of point,normal
Campbell Barton [Mon, 2 Oct 2017 02:21:23 +0000 (13:21 +1100)]
Sculpt: calculate plane instead of point,normal

No functional changes.

2 years agoCleanup: add 'sphere' to sculpt test function name
Campbell Barton [Mon, 2 Oct 2017 01:18:35 +0000 (12:18 +1100)]
Cleanup: add 'sphere' to sculpt test function name

2 years agoCleanup: indentation, whitespace
Campbell Barton [Mon, 2 Oct 2017 00:44:42 +0000 (11:44 +1100)]
Cleanup: indentation, whitespace

2 years agoMath Lib: distance to AABB
Campbell Barton [Mon, 2 Oct 2017 05:09:07 +0000 (16:09 +1100)]
Math Lib: distance to AABB

Original code by @mano-wii, modified for general use.

2 years agoCompositor: Fix strict compilation warnings when debug is enabled
Sergey Sharybin [Mon, 2 Oct 2017 10:18:10 +0000 (15:18 +0500)]
Compositor: Fix strict compilation warnings when debug is enabled

2 years agoCompositor: Fix compilation error with debug enabled
Sergey Sharybin [Mon, 2 Oct 2017 10:12:04 +0000 (15:12 +0500)]
Compositor: Fix compilation error with debug enabled

2 years agoFix T52920: Saving Tiff Files type Blender crashes
Sergey Sharybin [Mon, 2 Oct 2017 08:44:13 +0000 (13:44 +0500)]
Fix T52920: Saving Tiff Files type Blender crashes

Was only happening for 3 and 1 channel sources.

2 years agoFix gradient tool crash with recent changes
Campbell Barton [Sun, 1 Oct 2017 14:34:51 +0000 (01:34 +1100)]
Fix gradient tool crash with recent changes

Having gesture automatic free memory isn't practical if this
has it's own allocations.

Add option not to free userdata.

2 years agoVertex Paint: use squared distance test
Campbell Barton [Sun, 1 Oct 2017 13:44:04 +0000 (00:44 +1100)]
Vertex Paint: use squared distance test

Avoids sqrt for verts that are later ignored

2 years agoVertex Paint: respect 'normal' option
Campbell Barton [Sun, 1 Oct 2017 12:51:07 +0000 (23:51 +1100)]
Vertex Paint: respect 'normal' option

Recent changes ignored this option.

2 years agoCMake: support CUDA 9 toolkit, and automatically disable sm_2x binaries.
Brecht Van Lommel [Sun, 1 Oct 2017 12:04:34 +0000 (14:04 +0200)]
CMake: support CUDA 9 toolkit, and automatically disable sm_2x binaries.

Fermi cards (GTX 4xx and 5xx) are no longer supported with this version, so
we can keep supporting both CUDA 8 and 9 for a while.

2 years agoWeight Paint: restore non-spray functionality
Campbell Barton [Sun, 1 Oct 2017 10:12:14 +0000 (21:12 +1100)]
Weight Paint: restore non-spray functionality

When painting with spray disabled - we need to re-apply
on top of the original each time.

Applying the soc-2016-pbvh-painting branch removed this.
While I'd added back a simple previous weight array,
this won't work when multiple groups are painted at once.

2 years agoBuildbot: Use latest master config from buildbot
Sergey Sharybin [Sun, 1 Oct 2017 08:34:04 +0000 (10:34 +0200)]
Buildbot: Use latest master config from buildbot

2 years agoBuildbot: Extra tweaks to packing rules
Sergey Sharybin [Sun, 1 Oct 2017 08:01:45 +0000 (10:01 +0200)]
Buildbot: Extra tweaks to packing rules

2 years agoBuildbot: Tweaks to current macOS config
Sergey Sharybin [Sun, 1 Oct 2017 07:59:50 +0000 (09:59 +0200)]
Buildbot: Tweaks to current macOS config

Also disable CUDA binaries for now, those would need some extra work.

2 years agoFix weight paint Blur, Smear and Average breakage in multi-paint mode.
Alexander Gavrilov [Sun, 1 Oct 2017 07:00:14 +0000 (10:00 +0300)]
Fix weight paint Blur, Smear and Average breakage in multi-paint mode.

This is most pronounced in Auto-Normalize + Multi-Paint. Unlike
vertex paint, the weights being painted on in weight paint mode
don't necessarily correspond to the weight actually stored in
any one vertex group, and may instead be a computed aggregate.

This restores original code behavior lost in rB4f616c93f7cb.

2 years agoCleanup: Remove some old pre 2.5 IPO code
Aaron Carlisle [Sat, 30 Sep 2017 20:38:53 +0000 (16:38 -0400)]
Cleanup: Remove some old pre 2.5 IPO code

2 years agoFix vertex paint w/ subsurf drawing
Campbell Barton [Sat, 30 Sep 2017 09:20:04 +0000 (19:20 +1000)]
Fix vertex paint w/ subsurf drawing

Only use alpha blending when in vertex paint mode.

2 years agoVertex Paint minor improvement w/ smear
Campbell Barton [Fri, 29 Sep 2017 16:58:37 +0000 (02:58 +1000)]
Vertex Paint minor improvement w/ smear

Note that this tool seems like it might need to be rewritten
since results are quite strange.

Projecting on the view vector gives a small improvement though.

2 years agoFix vertex paint smear tool
Campbell Barton [Fri, 29 Sep 2017 16:56:31 +0000 (02:56 +1000)]
Fix vertex paint smear tool

Checking surrounding verts wasn't working properly.

2 years agoWeight Paint: accumulate support
Campbell Barton [Fri, 29 Sep 2017 15:36:41 +0000 (01:36 +1000)]
Weight Paint: accumulate support

- Clamp accumulate so it doesn't exceed brush strength.
- Was multiplying by brush strength twice.

2 years agoCleanup: de-duplicate copied code w/ vertex paint
Campbell Barton [Fri, 29 Sep 2017 12:47:08 +0000 (22:47 +1000)]
Cleanup: de-duplicate copied code w/ vertex paint

2 years agoFix T52943: don't export curves objects with no faces to Cycles.
Brecht Van Lommel [Fri, 29 Sep 2017 01:56:14 +0000 (03:56 +0200)]
Fix T52943: don't export curves objects with no faces to Cycles.

Also skip any objects with zero ray visibility and meshes with
zero faces.

2 years agoFix Cycles OpenCL compiler error after recent changes.
Brecht Van Lommel [Fri, 29 Sep 2017 12:51:35 +0000 (14:51 +0200)]
Fix Cycles OpenCL compiler error after recent changes.

2 years agoCleanup: split out tools & utils from vertex paint
Campbell Barton [Fri, 29 Sep 2017 10:03:58 +0000 (20:03 +1000)]
Cleanup: split out tools & utils from vertex paint

paint_vertex.c was getting too big, move all code unrelated to
mode switching and modal painting into their own files.

Also replace vertex-color operators region redraw tag /w notifiers.

2 years agoDrop platform support for Solaris & AIX
Campbell Barton [Fri, 29 Sep 2017 09:10:08 +0000 (19:10 +1000)]
Drop platform support for Solaris & AIX

These platforms didn't see maintenance in years.
This commit just removes ifdef's & cmake check.

2 years agoGNUmakefile: add back 'git pull'
Campbell Barton [Fri, 29 Sep 2017 09:02:20 +0000 (19:02 +1000)]
GNUmakefile: add back 'git pull'

Seems this was removed by accident.

2 years agoCollada: export vertex-color alpha
Campbell Barton [Fri, 29 Sep 2017 08:12:14 +0000 (18:12 +1000)]
Collada: export vertex-color alpha

2 years agoRNA: expose mesh vertex alpha
Campbell Barton [Fri, 29 Sep 2017 08:10:25 +0000 (18:10 +1000)]
RNA: expose mesh vertex alpha

Note that some import/export scripts will need updating

2 years agoVertex Paint: Alpha Support
Campbell Barton [Fri, 29 Sep 2017 07:10:15 +0000 (17:10 +1000)]
Vertex Paint: Alpha Support

GSOC 2017 by Darshan Kadu, see: D2859.

This is a partial merge of some of the features from
the soc-2017-vertex_paint branch.

- Alpha painting & drawing.
- 10 new color blending modes.
- Support for vertex select in vertex paint mode.

2 years agoCode cleanup: remove unnecessary buildbot code after macOS library upgrade.
Brecht Van Lommel [Thu, 28 Sep 2017 21:21:27 +0000 (23:21 +0200)]
Code cleanup: remove unnecessary buildbot code after macOS library upgrade.

2 years agomacOS: officially upgrade to 10.9 libraries from lib/darwin.
Brecht Van Lommel [Thu, 28 Sep 2017 18:52:22 +0000 (20:52 +0200)]
macOS: officially upgrade to 10.9 libraries from lib/darwin.

This removes a bunch of code that is no longer needed, and running
"make update" will now automatically download the new libraries.

Differential Revision:

2 years agoFix T52574: make Cycles rendered tile counter more clear.
Kim Christensen [Wed, 27 Sep 2017 23:59:11 +0000 (01:59 +0200)]
Fix T52574: make Cycles rendered tile counter more clear.

Differential Revision:

2 years agoCycles: reduce subsurface stack memory usage.
Brecht Van Lommel [Wed, 23 Aug 2017 01:57:27 +0000 (03:57 +0200)]
Cycles: reduce subsurface stack memory usage.

This is done by storing only a subset of PathRadiance, and by storing
direct light immediately in the main PathRadiance. Saves about 10% of
CUDA stack memory, and simplifies subsurface indirect ray code.

2 years agoFix T52086: Graph editor "normalize" drag errors for integers
Sergey Sharybin [Thu, 28 Sep 2017 12:08:43 +0000 (17:08 +0500)]
Fix T52086: Graph editor "normalize" drag errors for integers

2 years agoFix T52932: Driver with target of custom property from scene fails to update
Sergey Sharybin [Thu, 28 Sep 2017 11:13:28 +0000 (16:13 +0500)]
Fix T52932: Driver with target of custom property from scene fails to update

Note that this is only supported in new depsgraph.