blender.git
3 years agoMerge branch 'master' into blender2.8
Julian Eisel [Sat, 13 May 2017 17:35:54 +0000 (19:35 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T51314: crash cancelling Cycles bake during scene sync and update.
Brecht Van Lommel [Sat, 13 May 2017 05:09:22 +0000 (07:09 +0200)]
Fix T51314: crash cancelling Cycles bake during scene sync and update.

3 years agoremove unused #includes
Mike Erwin [Sat, 13 May 2017 03:34:21 +0000 (23:34 -0400)]
remove unused #includes

3 years agoremove old PBVH VertexBufferFormat struct
Mike Erwin [Sat, 13 May 2017 03:32:37 +0000 (23:32 -0400)]
remove old PBVH VertexBufferFormat struct

Follow-up to 0722e41f9ea450be014d667417ff903510be2770 which removed all uses of this struct. Gawain VertexFormat auto aligns attributes as described in @nicholasbishop's performance note.

3 years agoFix ogl deprecated calls.
Clément Foucault [Fri, 12 May 2017 16:02:31 +0000 (18:02 +0200)]
Fix ogl deprecated calls.

3 years agoSculpt: Move sculpt drawing to engines.
Clément Foucault [Fri, 12 May 2017 15:54:14 +0000 (17:54 +0200)]
Sculpt: Move sculpt drawing to engines.

Only mask are handled by sculpt mode engine and are multiplied on top of the render.
There is room for improvement:
 - Shaded meshes don't have correct tangents or uvs.
 - Masks are in range 0.8 - 0.2 thus always darkening at least 20% the render.
 - It only uses the first material slot of the mesh.

3 years agoUI: Expose more UI settings to CLAY and EEVEE
Dalai Felinto [Fri, 12 May 2017 14:34:30 +0000 (16:34 +0200)]
UI: Expose more UI settings to CLAY and EEVEE

Physics panels are not all back, and the material related panels (e.g.,
hair render panel) should go be changed since there should be no
material for those.

3 years agoFix T51153: Video duration is detected wrong after FFmpeg update
Sergey Sharybin [Fri, 12 May 2017 14:43:36 +0000 (16:43 +0200)]
Fix T51153: Video duration is detected wrong after FFmpeg update

The issue was caused by stupid workaorund for libav. Now things works for
FFmpeg. There might need some tweaks needed for Libav, but that one is
not really priority for support.

3 years agoFix memleak in previous hair commit
Luca Rood [Fri, 12 May 2017 14:33:38 +0000 (16:33 +0200)]
Fix memleak in previous hair commit

3 years agoDraw Manager: Fix crash when saving file.
Clément Foucault [Fri, 12 May 2017 14:29:16 +0000 (16:29 +0200)]
Draw Manager: Fix crash when saving file.

3 years agoEevee: Add Rotation and ratio parameters to DoF.
Clément Foucault [Thu, 11 May 2017 17:08:59 +0000 (19:08 +0200)]
Eevee: Add Rotation and ratio parameters to DoF.

3 years agoImplement hair drawing with Draw Manager in Clay engine
Luca Rood [Tue, 9 May 2017 14:23:47 +0000 (16:23 +0200)]
Implement hair drawing with Draw Manager in Clay engine

Part of T51378

3 years agoClay: Use switch statement instead of if-else chain
Sergey Sharybin [Fri, 12 May 2017 13:47:08 +0000 (15:47 +0200)]
Clay: Use switch statement instead of if-else chain

3 years agoFix for edit modes (sculpt, weight paint) menus not showing in header
Dalai Felinto [Fri, 12 May 2017 13:46:00 +0000 (15:46 +0200)]
Fix for edit modes (sculpt, weight paint) menus not showing in header

But introduced on 2b0f02057f457acec1ed9444ee7d833ab26d0d33

3 years agoMerge branch 'master' into blender2.8
Julian Eisel [Fri, 12 May 2017 13:36:52 +0000 (15:36 +0200)]
Merge branch 'master' into blender2.8

3 years agoStartup.blend: set EEVEE as the default engine
Dalai Felinto [Fri, 12 May 2017 11:36:35 +0000 (13:36 +0200)]
Startup.blend: set EEVEE as the default engine

The original idea was to use Clay as the default. But since clay may not
even be in the final release, we can't afford to have a startup.blend
that doesn't deliver a reliable result regardless of build options.

3 years agoUse static assert in Clay engine to ensure struct alignment
Sergey Sharybin [Fri, 12 May 2017 09:56:19 +0000 (11:56 +0200)]
Use static assert in Clay engine to ensure struct alignment

3 years agoSome minor cleanup.
Bastien Montagne [Fri, 12 May 2017 09:57:15 +0000 (11:57 +0200)]
Some minor cleanup.

3 years agoFix again DwM bbones drawing.
Bastien Montagne [Fri, 12 May 2017 09:52:33 +0000 (11:52 +0200)]
Fix again DwM bbones drawing.

Stupid mistake in rB6824ee0595c9dd7d1c18864f2 fix, again reported by
@campbellbarton, thanks.

3 years agoMesh Center: improved center-of-mass calculation
Bill Currie [Fri, 12 May 2017 01:04:03 +0000 (11:04 +1000)]
Mesh Center: improved center-of-mass calculation

Previous method was based on face-area, giving un-even results
based on topology and gave issues with zero area faces.

This method gives matching results for concave ngons and the same geometry triangulated.

3 years agoUI: Add template_search (version of template_ID for non-IDs)
Julian Eisel [Thu, 11 May 2017 23:42:42 +0000 (01:42 +0200)]
UI: Add template_search (version of template_ID for non-IDs)

Adds a version of template_ID that can be used for non-ID properties.
The property to search for and the collection to search in has to be
passed to it.
Like template_ID it also takes arguments to define a 'new' and 'unlink'
operator. They will be displayed as icon-only buttons then.
Also added a version that can display preview thumbnails.

Had to do some additional changes to make text-buttons support
displaying/modifying empty RNA properties.

This will be needed for workspaces, see D2451.

Reviewed By: campbellbarton

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

3 years agoFix T51449: empty node editor continuously redrawing and using CPU.
Brecht Van Lommel [Thu, 11 May 2017 18:28:39 +0000 (20:28 +0200)]
Fix T51449: empty node editor continuously redrawing and using CPU.

3 years agoForce core profile as main profile
Dalai Felinto [Thu, 11 May 2017 14:38:05 +0000 (16:38 +0200)]
Force core profile as main profile

This removes a few options from CMake:
* WITH_LEGACY_OPENGL
* WITH_GL_PROFILE_COMPAT
* WITH_GL_PROFILE_CORE

We still have WITH_GL_PROFILE_ES20. So you can still alternate between
ES20 and CORE profile (when es20 is disabled).

If you want to explicitly see the stubs errors just define
WITH_LEGACY_OPENGL.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 11 May 2017 14:47:21 +0000 (16:47 +0200)]
Merge branch 'master' into blender2.8

3 years agoBGE: Use BLI's stringify instead of implementing it again
Sergey Sharybin [Thu, 11 May 2017 14:46:43 +0000 (16:46 +0200)]
BGE: Use BLI's stringify instead of implementing it again

Will solve compilation error in 2.8.

3 years agoEevee: Small Dof upsampling blur.
Clément Foucault [Thu, 11 May 2017 14:23:54 +0000 (16:23 +0200)]
Eevee: Small Dof upsampling blur.

This soften the low res buffer so that jaggies are less perceptible.
Also soften the nearplane transition.

3 years agoEevee: Add tonemapping using ocio.
Clément Foucault [Thu, 11 May 2017 14:20:10 +0000 (16:20 +0200)]
Eevee: Add tonemapping using ocio.

Actually it's done by the Draw Manager, so other engines can use it.

3 years agoEevee: Disable motion blur if camera is different from its animated pose.
Clément Foucault [Thu, 11 May 2017 13:40:31 +0000 (15:40 +0200)]
Eevee: Disable motion blur if camera is different from its animated pose.

3 years agoEevee: Fix light color being non-linear.
Clément Foucault [Thu, 11 May 2017 12:32:03 +0000 (14:32 +0200)]
Eevee: Fix light color being non-linear.

3 years agoEevee: Fix motion blur when not having set another key.
Clément Foucault [Thu, 11 May 2017 12:31:28 +0000 (14:31 +0200)]
Eevee: Fix motion blur when not having set another key.

3 years agoEevee: Add render properties and scene panel.
Clément Foucault [Thu, 11 May 2017 12:30:33 +0000 (14:30 +0200)]
Eevee: Add render properties and scene panel.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 11 May 2017 14:28:58 +0000 (16:28 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Fix/workaround crahs when fcu->rna_path is NULL
Sergey Sharybin [Thu, 11 May 2017 14:28:21 +0000 (16:28 +0200)]
Depsgraph: Fix/workaround crahs when fcu->rna_path is NULL

3 years agoRemove warnings after CDDM fix
Dalai Felinto [Thu, 11 May 2017 14:15:26 +0000 (16:15 +0200)]
Remove warnings after CDDM fix

3 years agoMerge remote-tracking branch 'origin/master' into blender2.8
Dalai Felinto [Thu, 11 May 2017 14:11:02 +0000 (16:11 +0200)]
Merge remote-tracking branch 'origin/master' into blender2.8

3 years agoAllow building the game engine with core profile
Dalai Felinto [Thu, 11 May 2017 13:53:09 +0000 (15:53 +0200)]
Allow building the game engine with core profile

Note: This is not about functionality, but about using the same stub file
we are using in Blender for the game engine.

3 years agoUnifying access to GLEW from the Blender Game Engine
Dalai Felinto [Thu, 11 May 2017 13:53:09 +0000 (15:53 +0200)]
Unifying access to GLEW from the Blender Game Engine

Note: This is not about functionality, but about using the same stub file
we are using in Blender for the game engine in blender2.8.

3 years agoSupport drawing of solid mode CDDM with core profile
Sergey Sharybin [Thu, 11 May 2017 13:57:19 +0000 (15:57 +0200)]
Support drawing of solid mode CDDM with core profile

Nothing terribly exciting, just a hackish implementation of solid mode CDDM
drawing for cases when we are building with core profile.

The goal is to be able to see SOMETHING with new OpenGL for thew guys who
tests alembic and friends in blender2.8 branch. This is a temporary solution,
the whole drawing will be reworked. Limited to hardcoded material and lighting.
Selection outline color is also hardcoded because of lack of glColor() in the
core profile.

After this commit there is no big stoppers from stop worrying about legacy
OpenGL, so we can go core profile as the only way for Blender.

While some areas will become broken after that, we'd better just fix them
after that and for now just focus on more important design work.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 11 May 2017 12:15:58 +0000 (22:15 +1000)]
Merge branch 'master' into blender2.8

3 years agoEevee: Fix motion blur.
Clément Foucault [Thu, 11 May 2017 12:16:59 +0000 (14:16 +0200)]
Eevee: Fix motion blur.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 11 May 2017 12:06:55 +0000 (22:06 +1000)]
Merge branch 'master' into blender2.8

3 years agoCleanup: GPU PBVH naming
Campbell Barton [Thu, 11 May 2017 12:03:50 +0000 (22:03 +1000)]
Cleanup: GPU PBVH naming

Use GPU_pbvh prefix.

3 years agoDWM: Use draw manager for sculpt PBVH drawing
Campbell Barton [Thu, 11 May 2017 11:21:59 +0000 (21:21 +1000)]
DWM: Use draw manager for sculpt PBVH drawing

Add a shader-group type to draw
generated geometry by running a callback.

3 years agoFix bug in copying VertexFormat
Campbell Barton [Thu, 11 May 2017 10:56:53 +0000 (20:56 +1000)]
Fix bug in copying VertexFormat

Pointer-offsets need updating on copy,
seems VertexFormat's were being made static to avoid this bug?

3 years agoCycles: fix AO approximation for split kernel
Hristo Gueorguiev [Thu, 11 May 2017 09:57:12 +0000 (11:57 +0200)]
Cycles: fix AO approximation for split kernel

3 years agoRevert "DWM: remove redundant state reset"
Campbell Barton [Thu, 11 May 2017 08:44:39 +0000 (18:44 +1000)]
Revert "DWM: remove redundant state reset"

Enable this for now, needs some investigation.

3 years agoFix typo in the CMakeFile message
Sergey Sharybin [Thu, 11 May 2017 08:06:12 +0000 (10:06 +0200)]
Fix typo in the CMakeFile message

3 years agoAmmend last commit: add missing align for row props
Aaron Carlisle [Wed, 10 May 2017 04:13:54 +0000 (00:13 -0400)]
Ammend last commit: add missing align for row props

3 years agoUI: Follow up on recent VSE work
Aaron Carlisle [Wed, 10 May 2017 03:52:31 +0000 (23:52 -0400)]
UI: Follow up on recent VSE work

Fix a few more columns that should be rows

3 years agoCycles: Fix occasional black pixels from denoising with excessive radii
Lukas Stockner [Mon, 8 May 2017 20:09:35 +0000 (22:09 +0200)]
Cycles: Fix occasional black pixels from denoising with excessive radii

Numerical inaccuracies would cause the XtWX matrix to be no longer
positive-semidefinite, which in turn caused the LSQ solver to fail.

3 years agoupdate new 2.79 themes: T50869
meta-androcto [Thu, 11 May 2017 00:27:16 +0000 (10:27 +1000)]
update new 2.79 themes: T50869

3 years agoFix Blenderplayer stubs
Lukas Stockner [Wed, 10 May 2017 23:13:32 +0000 (01:13 +0200)]
Fix Blenderplayer stubs

The change from 62aa925c11d0 wasn't included.

3 years agoDWM: remove redundant state reset
Campbell Barton [Wed, 10 May 2017 22:35:34 +0000 (08:35 +1000)]
DWM: remove redundant state reset

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 10 May 2017 21:51:27 +0000 (07:51 +1000)]
Merge branch 'master' into blender2.8

3 years agoMerge branch 'master' into 28
Campbell Barton [Wed, 10 May 2017 21:42:35 +0000 (07:42 +1000)]
Merge branch 'master' into 28

3 years agoSculpt Drawing: reduce redundant color conversion
Campbell Barton [Wed, 10 May 2017 21:34:56 +0000 (07:34 +1000)]
Sculpt Drawing: reduce redundant color conversion

Also replace macro with for loop.

3 years agoFix T51455: Render Layers in compositor from a different scene not working
Lukas Stockner [Wed, 10 May 2017 20:39:43 +0000 (22:39 +0200)]
Fix T51455: Render Layers in compositor from a different scene not working

The code only updated nodes in the nodetree of the scene to which the render layer belongs. Therefore, when using scene B in the compositor setup of scene A, A's node wouldn't be updated.
With this fix, the update function loops over all scenes and checks them for relevant nodes.

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Wed, 10 May 2017 18:40:31 +0000 (20:40 +0200)]
Merge branch 'master' into blender2.8

Conflicts:
source/blender/makesrna/intern/rna_space.c

3 years agoMake sure 'use_property_button_exec' can deal with arrays as well
Dalai Felinto [Wed, 10 May 2017 18:36:11 +0000 (20:36 +0200)]
Make sure 'use_property_button_exec' can deal with arrays as well

3 years agoFix missing relation in new DEG between World and its NodeTree.
Bastien Montagne [Wed, 10 May 2017 08:31:33 +0000 (10:31 +0200)]
Fix missing relation in new DEG between World and its NodeTree.

Was preventing update in 3DView etc. when changing something in the
World's NodeTree, especially annoying in blender2.8 branch (since legacy
depsgraph has been removed there), but also affecting master.

3 years agoExpand the collection settings RNA API for arrays
Dalai Felinto [Wed, 10 May 2017 18:04:50 +0000 (20:04 +0200)]
Expand the collection settings RNA API for arrays

3 years agoExpand the collection settings API to support float arrays
Dalai Felinto [Wed, 10 May 2017 17:12:00 +0000 (19:12 +0200)]
Expand the collection settings API to support float arrays

We still need to update the RNA interface to access those. But since
there is no RNA_def_property_float_array_funcs I'm not sure how many
changes this will require.

3 years agoUI: editor menu, swap Text and node editors
Aaron Carlisle [Wed, 10 May 2017 15:27:20 +0000 (11:27 -0400)]
UI: editor menu, swap Text and node editors

Proposed by @sebastian_k and approved by @severin over IRC.

Follows up on rB0f561da5fb77540626aec7a995314271a91acdf6

3 years agoMerge remote-tracking branch 'origin/master' into blender2.8
Dalai Felinto [Wed, 10 May 2017 15:03:27 +0000 (17:03 +0200)]
Merge remote-tracking branch 'origin/master' into blender2.8

3 years agoFix T51354: Final take on multi-view (single view) issues
Dalai Felinto [Wed, 10 May 2017 14:54:01 +0000 (16:54 +0200)]
Fix T51354: Final take on multi-view (single view) issues

We now handle selection and transform manipulators
(kudos to Julian Eisel to help hunting down the latter).

3 years agoEevee: Post process parameters.
Clément Foucault [Wed, 10 May 2017 13:58:18 +0000 (15:58 +0200)]
Eevee: Post process parameters.

-Display almost all parameters.
-Made some small adjustment to motion blur to support FOV motion blur.
-Made DOF max radius a parameter.

3 years agoEevee: Support for light path node "is camera ray" output.
Clément Foucault [Wed, 10 May 2017 08:32:22 +0000 (10:32 +0200)]
Eevee: Support for light path node "is camera ray" output.

3 years agoEevee: Fix some issues
Clément Foucault [Wed, 10 May 2017 08:31:17 +0000 (10:31 +0200)]
Eevee: Fix some issues

Fix issue with manipulator contributing to depth.
Fix blender internal shader.

3 years agoFix multi-view (single camera) selection
Dalai Felinto [Wed, 10 May 2017 14:00:42 +0000 (16:00 +0200)]
Fix multi-view (single camera) selection

3 years agoFix multi-view (single camera) manipulators selection
Dalai Felinto [Wed, 10 May 2017 13:54:23 +0000 (15:54 +0200)]
Fix multi-view (single camera) manipulators selection

3 years agoMerge remote-tracking branch 'origin/master' into blender2.8
Dalai Felinto [Wed, 10 May 2017 13:25:26 +0000 (15:25 +0200)]
Merge remote-tracking branch 'origin/master' into blender2.8

Note: Depth placement was working already for BI, and althugh this
commit breaks it for it, it makes it work for the draw manager engines.

3 years agoMerge commit 'origin/master (9395646c2c44cdf568ca950700d71fe966f2d80f)' into blender2.8
Dalai Felinto [Wed, 10 May 2017 12:21:14 +0000 (14:21 +0200)]
Merge commit 'origin/master (9395646c2c44cdf568ca950700d71fe966f2d80f)' into blender2.8

3 years agoFixup for multi-view single eye viewport issues
Dalai Felinto [Wed, 10 May 2017 11:13:55 +0000 (13:13 +0200)]
Fixup for multi-view single eye viewport issues

In d2f1f80a6fa I was always calling view3d_main_regio_setup_view with
NULL matrices, which is not always correct.

3 years agoDWM: Use Gawain for sculpt drawing
Campbell Barton [Wed, 10 May 2017 10:14:52 +0000 (20:14 +1000)]
DWM: Use Gawain for sculpt drawing

Currently only uses the simple shader.

3 years agoPartial fix to Multi-View single eye issues in viewport
Dalai Felinto [Tue, 9 May 2017 17:21:22 +0000 (19:21 +0200)]
Partial fix to Multi-View single eye issues in viewport

Handling depth loop for now (3d cursor positioning). Selection is a bit
more tricky.

Reported on 51354

3 years agoEevee: Make Depth of field zoom invariant.
Clément Foucault [Tue, 9 May 2017 22:57:53 +0000 (00:57 +0200)]
Eevee: Make Depth of field zoom invariant.

Multiply the sensor size by the viewcamtexcofac which is basicaly how scaled is the viewport relativly to the camera frame.

3 years agoDraw Manager: Handle negative scaled meshes.
Clément Foucault [Tue, 9 May 2017 22:47:27 +0000 (00:47 +0200)]
Draw Manager: Handle negative scaled meshes.

3 years agoDraw Manager: Extend simplification to UBOs & fix a context error.
Clément Foucault [Tue, 9 May 2017 21:55:02 +0000 (23:55 +0200)]
Draw Manager: Extend simplification to UBOs & fix a context error.

3 years agoSmall cleanup
Clément Foucault [Tue, 9 May 2017 20:45:40 +0000 (22:45 +0200)]
Small cleanup

3 years agoDraw Manager: Simplify usage and check for errors.
Clément Foucault [Tue, 9 May 2017 20:08:25 +0000 (22:08 +0200)]
Draw Manager: Simplify usage and check for errors.

3 years agoEevee: Initial Depth Of Field commit.
Clément Foucault [Tue, 9 May 2017 19:57:13 +0000 (21:57 +0200)]
Eevee: Initial Depth Of Field commit.

3 years agoGPUCompositing: Fix comment and component count.
Clément Foucault [Tue, 9 May 2017 19:52:22 +0000 (21:52 +0200)]
GPUCompositing: Fix comment and component count.

3 years agoDraw Manager: Add additive blending.
Clément Foucault [Tue, 9 May 2017 19:51:30 +0000 (21:51 +0200)]
Draw Manager: Add additive blending.

3 years agoObject Mode Engine: Fix grid distance if view is camera view.
Clément Foucault [Tue, 9 May 2017 19:50:18 +0000 (21:50 +0200)]
Object Mode Engine: Fix grid distance if view is camera view.

3 years agoGPUTexture: Add support for 32bit textures.
Clément Foucault [Tue, 9 May 2017 19:49:30 +0000 (21:49 +0200)]
GPUTexture: Add support for 32bit textures.

3 years agoDraw Manager: Add Triangle batching and empty batch.
Clément Foucault [Tue, 9 May 2017 19:48:46 +0000 (21:48 +0200)]
Draw Manager: Add Triangle batching and empty batch.

This is usefull for Depth Of Field because we don't need to store data for each sprites and just generate them when rendering.

3 years agoDraw Manager: Fullscreen triangle
Clément Foucault [Tue, 9 May 2017 19:46:04 +0000 (21:46 +0200)]
Draw Manager: Fullscreen triangle

Used a triangle instead of a quad for fullscreen passes.

3 years agoFix errors in vse ui commit
Aaron Carlisle [Tue, 9 May 2017 18:36:00 +0000 (14:36 -0400)]
Fix errors in vse ui commit

- Fixes double labels
- Fixes an aligned layout when un-needed
- Fixes an error were a layout can become disabled but never enabled again

3 years agoFix (unreported): Crash if a right click is performed on an image datablock (open...
Thomas Beck [Tue, 9 May 2017 18:12:25 +0000 (20:12 +0200)]
Fix (unreported): Crash if a right click is performed on an image datablock (open btn f.e.).

Only access/insert the button_pointer if it's not null...

3 years agoMerge remote-tracking branch 'origin/master' into blender2.8
Dalai Felinto [Tue, 9 May 2017 15:56:16 +0000 (17:56 +0200)]
Merge remote-tracking branch 'origin/master' into blender2.8

3 years agoCycles: Use more stable version of integer square root function
Sergey Sharybin [Tue, 9 May 2017 14:12:06 +0000 (16:12 +0200)]
Cycles: Use more stable version of integer square root function

Old code was working quite unreliable in combination with fast math
flag, especially when compiling with Clang. It seems we were hitting
result of the following bug submitted to Clang [1].

Basically, it was happening so that (int)sqrtf(64) was 7 when Cycles
is built with Clang but was correct 8 when built with GCC.

This commit works this around. Annoying, but don't see other way to
keep sampling pattern the same for Clang and GCC.

[1] https://bugs.llvm.org//show_bug.cgi?id=24063

3 years agoCycles: Properly free memory used by KernelGlobals
Sergey Sharybin [Tue, 9 May 2017 14:29:29 +0000 (16:29 +0200)]
Cycles: Properly free memory used by KernelGlobals

Previous logic did not free memory used by vector classes
which were storing images, causing memory leaks.

3 years agoFix shadow shader to support core profile.
Bastien Montagne [Tue, 9 May 2017 14:29:48 +0000 (16:29 +0200)]
Fix shadow shader to support core profile.

3 years agoglPushAttrib/Pop change implementation to use a stack
Dalai Felinto [Tue, 9 May 2017 13:09:39 +0000 (15:09 +0200)]
glPushAttrib/Pop change implementation to use a stack

The original implementation (cbd78c81268f) broke depth of field.

3 years agoFix denoiser tooltip
Jens Verwiebe [Tue, 9 May 2017 12:44:59 +0000 (14:44 +0200)]
Fix denoiser tooltip

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Tue, 9 May 2017 12:33:05 +0000 (14:33 +0200)]
Merge branch 'master' into blender2.8

3 years agoExpose camera stereo settings in Clay engines
Dalai Felinto [Tue, 9 May 2017 10:33:13 +0000 (12:33 +0200)]
Expose camera stereo settings in Clay engines

3 years agoFix T51434: Module math operation is wrong in GLSL shading
Carlo Andreacchio [Tue, 9 May 2017 10:31:19 +0000 (12:31 +0200)]
Fix T51434: Module math operation is wrong in GLSL shading

Based on patch from @lazydodo.

Reviewers: sergey

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

3 years agoCycles: Enable BPT for NVidia OpenCL
Sergey Sharybin [Tue, 9 May 2017 09:44:18 +0000 (11:44 +0200)]
Cycles: Enable BPT for NVidia OpenCL

3 years agoFix assert failure caused by bug in sequencer interface script
Sergey Sharybin [Tue, 9 May 2017 08:44:31 +0000 (10:44 +0200)]
Fix assert failure caused by bug in sequencer interface script

If icon_only is True then one must not pass text attribute.