blender.git
3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 2 Feb 2018 03:15:29 +0000 (14:15 +1100)]
Merge branch 'master' into blender2.8

3 years agoCleanup: wrap function args
Campbell Barton [Fri, 2 Feb 2018 02:44:13 +0000 (13:44 +1100)]
Cleanup: wrap function args

3 years agoFix T53978: Bad memory access after recent fix to BSDF mixing
Mai Lavelle [Fri, 2 Feb 2018 00:59:22 +0000 (19:59 -0500)]
Fix T53978: Bad memory access after recent fix to BSDF mixing

Added proper checks after BSDF allocation and cleaned up existing
inline checks.

Was introduced in 7261d675e6aeb1b0dff

3 years agoEevee: Render: Fix volume sampling.
Clément Foucault [Fri, 2 Feb 2018 00:18:25 +0000 (01:18 +0100)]
Eevee: Render: Fix volume sampling.

3 years agoEevee: Render: Make sure background does not write to ssr data.
Clément Foucault [Thu, 1 Feb 2018 23:50:18 +0000 (00:50 +0100)]
Eevee: Render: Make sure background does not write to ssr data.

3 years agofix: unintentionally commented out collada animation export
Gaia Clary [Thu, 1 Feb 2018 23:49:32 +0000 (00:49 +0100)]
fix: unintentionally commented out collada animation export

3 years agoEevee: Render: Fix NaNs in Normal pass.
Clément Foucault [Thu, 1 Feb 2018 23:48:33 +0000 (00:48 +0100)]
Eevee: Render: Fix NaNs in Normal pass.

3 years agoEevee: Render: Make render passes appear in compositor.
Clément Foucault [Thu, 1 Feb 2018 20:38:16 +0000 (21:38 +0100)]
Eevee: Render: Make render passes appear in compositor.

3 years agoEevee: Render: Fix broken "non-multiview" render.
Clément Foucault [Thu, 1 Feb 2018 20:08:05 +0000 (21:08 +0100)]
Eevee: Render: Fix broken "non-multiview" render.

3 years agoEevee: Render: Add support for multiview.
Clément Foucault [Thu, 1 Feb 2018 19:45:21 +0000 (20:45 +0100)]
Eevee: Render: Add support for multiview.

3 years agoEevee: Render: Add Transparent Background option.
Clément Foucault [Thu, 1 Feb 2018 17:54:17 +0000 (18:54 +0100)]
Eevee: Render: Add Transparent Background option.

... under a new "Film" tab in the render properties panel.

3 years agoEevee: Add mist pass support.
Clément Foucault [Thu, 1 Feb 2018 17:09:06 +0000 (18:09 +0100)]
Eevee: Add mist pass support.

Eevee: Render: Fix crash when not enabling mist pass.

3 years agoWorld: Use enum for mist falloff parameter.
Clément Foucault [Thu, 1 Feb 2018 17:08:06 +0000 (18:08 +0100)]
World: Use enum for mist falloff parameter.

3 years agoEevee: Simplify/Fix view_vecs calculation.
Clément Foucault [Thu, 1 Feb 2018 17:07:09 +0000 (18:07 +0100)]
Eevee: Simplify/Fix view_vecs calculation.

Now view_vecs[0][2] ALWAYS contains Near clip plane and view_vecs[1][2] = far - near.

3 years agoEevee: Render: Fix Normals of refraction shader.
Clément Foucault [Wed, 31 Jan 2018 21:53:29 +0000 (22:53 +0100)]
Eevee: Render: Fix Normals of refraction shader.

3 years agoEevee: Render: Add Subsurface Pass support.
Clément Foucault [Wed, 31 Jan 2018 20:17:27 +0000 (21:17 +0100)]
Eevee: Render: Add Subsurface Pass support.

3 years agoFix T53686: VSE Render crash when zooming timeline
Sergey Sharybin [Thu, 1 Feb 2018 15:24:25 +0000 (16:24 +0100)]
Fix T53686: VSE Render crash when zooming timeline

This is rather a workaround to avoid main thread freeing all glyph caches
at the same time as sequencer uses fonts to draw text sequences.

Ideally we need to either make cache more local, or user-counted or to make
somewhat more global locks. All this ends up in a bigger refactor which is
better for 2.8. For the meantime let's make Blender more stable with a tiny
workaround.

Downside is that keeping zooming things up and down in interface during render
will increase memory usage by unused glyph caches. It's not too bad though,
all unused caches will be freed first time at area zoom after render.

Thanks Bastien for review!

3 years agoFix T53951: Copy ms runtime dlls using InstallRequiredSystemLibraries.cmake
Ray Molenkamp [Thu, 1 Feb 2018 15:26:14 +0000 (08:26 -0700)]
Fix T53951: Copy ms runtime dlls using InstallRequiredSystemLibraries.cmake

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

3 years agoMerge remote-tracking branch 'origin/master' into blender2.8
Dalai Felinto [Thu, 1 Feb 2018 15:13:44 +0000 (13:13 -0200)]
Merge remote-tracking branch 'origin/master' into blender2.8

3 years agoFix: msvc build error with bli_fileops.h
Ray Molenkamp [Thu, 1 Feb 2018 14:58:06 +0000 (07:58 -0700)]
Fix: msvc build error with bli_fileops.h

bli_fileops.h was using uint64_t without including the proper header.

issue triggered by rBb0af44fa4d7a2e134b315c49a4fbdf573f781004

3 years agoFix T53686: VSE Render crash when zooming timeline.
Bastien Montagne [Thu, 1 Feb 2018 14:53:49 +0000 (15:53 +0100)]
Fix T53686: VSE Render crash when zooming timeline.

Epic fail from recent 'security' fixes (rBe04d7c49dca9). ;)

To be backported to 2.79a!

3 years agoCycles: Attempt to fix 32 bit linux compilation
Sergey Sharybin [Thu, 1 Feb 2018 14:13:54 +0000 (15:13 +0100)]
Cycles: Attempt to fix 32 bit linux compilation

3 years agoCycles: Fix for non-vectorized version of bitscan()
Sergey Sharybin [Thu, 1 Feb 2018 14:11:17 +0000 (15:11 +0100)]
Cycles: Fix for non-vectorized version of bitscan()

It was doing bit search in an opposite direction comparing to a
vectorized version.

3 years agoFinalize/enable new static override for linked groups.
Bastien Montagne [Thu, 1 Feb 2018 13:08:18 +0000 (14:08 +0100)]
Finalize/enable new static override for linked groups.

Behavior is expected to be simillar to 'make proxy' on linked groups, it
basically allows you to select which object in the group will be to
'root' override (usually, the armature), checks which other objects
needs to be overridden as well, overrides the group itself too, and
instantiates the group and the root overridden object.

It seems to be working, though handling of armature deformation is kind
of totally broken in blender2.8 currently (modifiers...). ;)

3 years agoFix some issues in new RNA diff code.
Bastien Montagne [Thu, 1 Feb 2018 13:07:51 +0000 (14:07 +0100)]
Fix some issues in new RNA diff code.

3 years agoFix audaspace mess in 2.8
Dalai Felinto [Thu, 1 Feb 2018 11:11:04 +0000 (09:11 -0200)]
Fix audaspace mess in 2.8

All these files were removed since accidental commit, revert and merge in 2.8.

ea31f0ac3b877e + 0a4e170c28cec + 11f9a23a286c17f + 7b27b10fa6a6

3 years agoFix wrong attempt to get depsgraph from RNA Groups ViewLayer.
Bastien Montagne [Thu, 1 Feb 2018 11:09:22 +0000 (12:09 +0100)]
Fix wrong attempt to get depsgraph from RNA Groups ViewLayer.

3 years agoFix incorrect message bus tag count
Campbell Barton [Thu, 1 Feb 2018 04:56:36 +0000 (15:56 +1100)]
Fix incorrect message bus tag count

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 1 Feb 2018 04:18:58 +0000 (15:18 +1100)]
Merge branch 'master' into blender2.8

3 years agoCleanup: pass userdef to write_userdef, const args
Campbell Barton [Thu, 1 Feb 2018 04:16:36 +0000 (15:16 +1100)]
Cleanup: pass userdef to write_userdef, const args

3 years agoError in last commit
Campbell Barton [Thu, 1 Feb 2018 04:15:57 +0000 (15:15 +1100)]
Error in last commit

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 1 Feb 2018 03:59:14 +0000 (14:59 +1100)]
Merge branch 'master' into blender2.8

3 years agoCleanup: Python code-style
Campbell Barton [Thu, 1 Feb 2018 03:58:05 +0000 (14:58 +1100)]
Cleanup: Python code-style

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 1 Feb 2018 03:02:33 +0000 (14:02 +1100)]
Merge branch 'master' into blender2.8

3 years agoCleanup: Python code-style (addons, wm)
Campbell Barton [Thu, 1 Feb 2018 02:58:44 +0000 (13:58 +1100)]
Cleanup: Python code-style (addons, wm)

3 years agoCleanup: rename BLI_*_empty() -> clear()
Campbell Barton [Thu, 1 Feb 2018 01:06:57 +0000 (12:06 +1100)]
Cleanup: rename BLI_*_empty() -> clear()

Consistent with other BLI API's

3 years agoMerge branch 'master' into blender2.8
Germano [Thu, 1 Feb 2018 00:36:16 +0000 (22:36 -0200)]
Merge branch 'master' into blender2.8

3 years agoRevert "tmp"
Germano [Thu, 1 Feb 2018 00:35:46 +0000 (22:35 -0200)]
Revert "tmp"

This reverts commit ea31f0ac3b877eb0df4c47d0c908d11d1bff33e4.

3 years agoMerge branch 'master' into blender2.8
Germano [Thu, 1 Feb 2018 00:34:29 +0000 (22:34 -0200)]
Merge branch 'master' into blender2.8

3 years agogpu_shader_material: Correct incorrect glsl texture of Voronoi, Noise, and Musgrave...
Germano [Thu, 1 Feb 2018 00:31:08 +0000 (22:31 -0200)]
gpu_shader_material: Correct incorrect glsl texture of Voronoi, Noise, and Musgrave on some Intel GPUs

3 years agotmp
Germano [Thu, 1 Feb 2018 00:11:01 +0000 (22:11 -0200)]
tmp

3 years agoMerge branch 'master' into blender2.8
Gaia Clary [Wed, 31 Jan 2018 23:43:01 +0000 (00:43 +0100)]
Merge branch 'master' into blender2.8
Apply Fix T50198 also in blender2.8

3 years agofix T50198: The OpenCollada error handler must return true after detecting uncritical...
Gaia Clary [Wed, 31 Jan 2018 23:41:04 +0000 (00:41 +0100)]
fix T50198: The OpenCollada error handler must return true after detecting uncritical errors.

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Wed, 31 Jan 2018 16:17:43 +0000 (17:17 +0100)]
Merge branch 'master' into blender2.8

3 years agoI18n disambiguation: IRIS is both a file format and a VSE wipe effect...
Bastien Montagne [Wed, 31 Jan 2018 15:43:04 +0000 (16:43 +0100)]
I18n disambiguation: IRIS is both a file format and a VSE wipe effect...

At some point, we could probably think about removing IRIS file format
support, don't think there are much of those around anymore. But for
now, let's add a translation context to wipe effect. :)

Reported in T43295 by @blend-it, thanks.

3 years agoDRW: Finish 85d3de94c62fab1394c11fe50614c897f7f68ee3
Clément Foucault [Wed, 31 Jan 2018 14:00:39 +0000 (15:00 +0100)]
DRW: Finish 85d3de94c62fab1394c11fe50614c897f7f68ee3

3 years agoEevee: SSS: Fix SSS perturbating SSR normals.
Clément Foucault [Wed, 31 Jan 2018 13:41:06 +0000 (14:41 +0100)]
Eevee: SSS: Fix SSS perturbating SSR normals.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 31 Jan 2018 13:24:38 +0000 (14:24 +0100)]
Merge branch 'master' into blender2.8

3 years agoOutliner: Fix crash when invoking operators of a collection or group
Germano [Wed, 31 Jan 2018 13:07:25 +0000 (11:07 -0200)]
Outliner: Fix crash when invoking operators of a collection or group

The crash occurred when trying to see a tooltip or activate any of the operator's tools with the cursor outside the outliner area.

3 years agoFix possible concurency issue in mesh normals computation.
Bastien Montagne [Wed, 31 Jan 2018 11:30:39 +0000 (12:30 +0100)]
Fix possible concurency issue in mesh normals computation.

Failure in own code from last December, thanks @sergey for finding it.

To be backported to 2.79a.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 31 Jan 2018 08:03:45 +0000 (19:03 +1100)]
Merge branch 'master' into blender2.8

3 years agoWM: correct comment, variable name for addons
Campbell Barton [Wed, 31 Jan 2018 08:02:43 +0000 (19:02 +1100)]
WM: correct comment, variable name for addons

3 years agoEevee: Render: Fix crash when using a sun lamps with shadow.
Clément Foucault [Wed, 31 Jan 2018 01:13:45 +0000 (02:13 +0100)]
Eevee: Render: Fix crash when using a sun lamps with shadow.

3 years agoEevee: Render: Add Normal pass output.
Clément Foucault [Wed, 31 Jan 2018 00:09:38 +0000 (01:09 +0100)]
Eevee: Render: Add Normal pass output.

3 years agoEevee: Fix indentation and fix output normal of emission shader.
Clément Foucault [Wed, 31 Jan 2018 00:08:24 +0000 (01:08 +0100)]
Eevee: Fix indentation and fix output normal of emission shader.

3 years agoEevee: Fix Crash when rendering using Render Border.
Clément Foucault [Tue, 30 Jan 2018 22:24:28 +0000 (23:24 +0100)]
Eevee: Fix Crash when rendering using Render Border.

3 years agoEevee: Fix crash when Rendering (F12) using camera mapping.
Clément Foucault [Tue, 30 Jan 2018 22:23:02 +0000 (23:23 +0100)]
Eevee: Fix crash when Rendering (F12) using camera mapping.

3 years agoEevee: Display compositing tab.
Clément Foucault [Tue, 30 Jan 2018 22:22:17 +0000 (23:22 +0100)]
Eevee: Display compositing tab.

3 years agoUI: re-enable alt-key for editing selection
Campbell Barton [Wed, 31 Jan 2018 00:54:04 +0000 (11:54 +1100)]
UI: re-enable alt-key for editing selection

Fixes T53950 where changing node layers applies to all selected nodes.

3 years agoMake layers unittest pass after filter cleanup
Dalai Felinto [Tue, 30 Jan 2018 21:01:43 +0000 (19:01 -0200)]
Make layers unittest pass after filter cleanup

Update your svn lib.

Unittests broken since 76289613910073.

3 years agoCompositor / Render Layer Node: Fix wrong layer after deleting view layers
Dalai Felinto [Tue, 30 Jan 2018 20:31:32 +0000 (18:31 -0200)]
Compositor / Render Layer Node: Fix wrong layer after deleting view layers

I was calling the ntree syncing function too late. So the index of the layer
was -1 since it was no longer in the ListBase, making all RenderLayer nodes
to decrease their respective `custom1` (even going to negative sometimes).

3 years agoFix blender player (tm)
Sergey Sharybin [Tue, 30 Jan 2018 15:11:58 +0000 (16:11 +0100)]
Fix blender player (tm)

3 years agoFix Cycles incorrect principled BSDF mixing with some parameter variatons.
Brecht Van Lommel [Tue, 30 Jan 2018 11:40:05 +0000 (12:40 +0100)]
Fix Cycles incorrect principled BSDF mixing with some parameter variatons.

Spotted by Ha Hyung-jin, thanks!

3 years agoFix blender player (tm)
Sergey Sharybin [Tue, 30 Jan 2018 15:11:58 +0000 (16:11 +0100)]
Fix blender player (tm)

3 years agoFix FOREACH_OBJECT_RENDERABLE using stack data
Dalai Felinto [Tue, 30 Jan 2018 15:05:43 +0000 (13:05 -0200)]
Fix FOREACH_OBJECT_RENDERABLE using stack data

Since 30a966a7262308 when I removed the recursion, the code was still relying
on stack data. This would crash in release often, and it should crash always.

Big thanks to Sergey Sharybin for spotting the issue.

3 years agoFix Cycles incorrect principled BSDF mixing with some parameter variatons.
Brecht Van Lommel [Tue, 30 Jan 2018 11:40:05 +0000 (12:40 +0100)]
Fix Cycles incorrect principled BSDF mixing with some parameter variatons.

Spotted by Ha Hyung-jin, thanks!

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 30 Jan 2018 13:32:27 +0000 (14:32 +0100)]
Merge branch 'master' into blender2.8

3 years agoFix FOREACH_OBJECT_RENDERABLE going over the same object twice
Dalai Felinto [Tue, 30 Jan 2018 13:23:50 +0000 (11:23 -0200)]
Fix FOREACH_OBJECT_RENDERABLE going over the same object twice

Which is really silly because we were already tagging the ids, but simply
never checking them back.

3 years agoFix T52520: Metaballs in edit mode causes infinite Cycles viewport reset
Sergey Sharybin [Tue, 30 Jan 2018 13:14:26 +0000 (14:14 +0100)]
Fix T52520: Metaballs in edit mode causes infinite Cycles viewport reset

The issue was introduced by eb016eb as a fix for T41258, which added depsgraph
tagging with zero flag. The comment was saying that it's to make derived caches
to be updated, however bot sure how that could possibly work: tagging ID for
update with 0 flag only sets updated tags in bmain in old dependency graph.

In the new depsgraph, where object data is a part of depsgraph, doing such a
tag forces object to be updated, which re-triggers viewport rendering, which
is causing such an infinite viewport render rest.

Can not reproduce any crashes here, so maybe it's fine to move on with this
change.

3 years agoFix FOREACH_OBJECT_RENDERABLE recursion going over the roof
Dalai Felinto [Tue, 30 Jan 2018 12:52:25 +0000 (10:52 -0200)]
Fix FOREACH_OBJECT_RENDERABLE recursion going over the roof

This was leading to so much recursion that it was failing here.
How to test it: Open wanderer.blend and try to render (F12).

Note: This won't fix F12 rendering for wanderer with Eevee. Something else is
going wrong there.

3 years agoCleanup: warning, spelling
Campbell Barton [Tue, 30 Jan 2018 10:02:27 +0000 (21:02 +1100)]
Cleanup: warning, spelling

3 years agoFix T53943: Weight paint crash in new scene
Campbell Barton [Tue, 30 Jan 2018 09:33:20 +0000 (20:33 +1100)]
Fix T53943: Weight paint crash in new scene

3 years agoFix T50630: Fluid fails on win32 w/ unicode paths
Campbell Barton [Tue, 30 Jan 2018 03:30:28 +0000 (14:30 +1100)]
Fix T50630: Fluid fails on win32 w/ unicode paths

Allow overriding gzip open w/ elbeem.

3 years agoFix crash drawing light probe
Campbell Barton [Tue, 30 Jan 2018 02:36:41 +0000 (13:36 +1100)]
Fix crash drawing light probe

3 years agoFix light probe callbacks
Campbell Barton [Tue, 30 Jan 2018 02:14:17 +0000 (13:14 +1100)]
Fix light probe callbacks

Even though this wasn't crashing here, the arg types were wrong.

3 years agoDRW / Render: Make render result show when using final render with eevee.
Clément Foucault [Mon, 29 Jan 2018 21:27:22 +0000 (22:27 +0100)]
DRW / Render: Make render result show when using final render with eevee.

3 years agoEevee: Remove unused variable.
Clément Foucault [Mon, 29 Jan 2018 20:59:53 +0000 (21:59 +0100)]
Eevee: Remove unused variable.

3 years agoEevee: Add Z pass render result.
Clément Foucault [Mon, 29 Jan 2018 20:59:34 +0000 (21:59 +0100)]
Eevee: Add Z pass render result.

3 years agoEevee: Display render button in render panel
Clément Foucault [Mon, 29 Jan 2018 18:40:07 +0000 (19:40 +0100)]
Eevee: Display render button in render panel

3 years agoEevee: Add support for TAA/SuperSampling for final render.
Clément Foucault [Mon, 29 Jan 2018 18:39:53 +0000 (19:39 +0100)]
Eevee: Add support for TAA/SuperSampling for final render.

3 years agoEevee: Add new "render samples" properties.
Clément Foucault [Mon, 29 Jan 2018 18:39:07 +0000 (19:39 +0100)]
Eevee: Add new "render samples" properties.

3 years agoEevee: Initial Final Render support.
Clément Foucault [Mon, 29 Jan 2018 17:16:11 +0000 (18:16 +0100)]
Eevee: Initial Final Render support.

TAA / multiple samples is not working at the moment.

3 years agoRender: Abort operator if there is no render_to_image() function
Clément Foucault [Mon, 29 Jan 2018 16:09:38 +0000 (17:09 +0100)]
Render: Abort operator if there is no render_to_image() function

3 years agoDRW / Render: Add support for render pipeline in drawmanager.
Clément Foucault [Mon, 29 Jan 2018 13:56:16 +0000 (14:56 +0100)]
DRW / Render: Add support for render pipeline in drawmanager.

For simplicity we choose to execute the rendering of Opengl engines in the main thread and block the interface.
This might be addressed in the future at least for video rendering.

A drawmanager wrapper (DRW_render_to_image) is called by the render pipeline to set up the Opengl state and then call the specific draw_engine->render_to_image function.

3 years agoDRW: Add "hardcoded" stipples for sun ray display.
Clément Foucault [Mon, 22 Jan 2018 15:14:12 +0000 (16:14 +0100)]
DRW: Add "hardcoded" stipples for sun ray display.

3 years agoOutliner: Moving object context menu to Python, and adding hierarchy
Dalai Felinto [Mon, 29 Jan 2018 20:01:53 +0000 (18:01 -0200)]
Outliner: Moving object context menu to Python, and adding hierarchy

As suggested by Pablo Vazquez, though I think we can refine it a bit with icons.
I will wait for his feedback on it.

3 years agouvedit_draw: Ensure first if it has any UV to draw
Germano [Mon, 29 Jan 2018 18:56:52 +0000 (16:56 -0200)]
uvedit_draw: Ensure first if it has any UV to draw

Otherwise an assert could be launched

3 years agoDeduplicate GLSL frag code in particle drawing
Germano [Mon, 29 Jan 2018 17:51:23 +0000 (15:51 -0200)]
Deduplicate GLSL frag code in particle drawing

Differential Revision: D2993

3 years agoFix T53598: OpenGL Render Animation does not update shadows
Sergey Sharybin [Mon, 29 Jan 2018 15:42:04 +0000 (16:42 +0100)]
Fix T53598: OpenGL Render Animation does not update shadows

General idea of the fix: skip the whole draw manager callback madness which
was used to tag object's engine specific data as dirty. Use generic recalc
flag in ObjectEngineData structure instead. This gives us the following
benefits;

- Sovles mentioned bug report.
- Avoids whole interface lookup for opened viewports for EVERY changed ID.
- Fixes missing updates when viewport is temporarily invisible.

Reviewers: dfelinto, fclem

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

3 years agoRefactor object engine data storage
Sergey Sharybin [Mon, 29 Jan 2018 15:28:24 +0000 (16:28 +0100)]
Refactor object engine data storage

Main idea is to make specific engine types be a subclass of generic
ObjectEngineData structure.

This required following changes:

- Have extra size argument to engine data allocation function.

  Not sure whether there is less error-prone way of doing this.

- Add init() callback to engine data allocation function.

Additionally, added some extra checks to Eevee's engine data getters, so we do
not silently cast lamp data to lightprobe data.

Reviewers: dfelinto, fclem

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

3 years agoFix Cycles viewport render not updating when tweaking displacement shader.
Brecht Van Lommel [Wed, 24 Jan 2018 19:19:48 +0000 (20:19 +0100)]
Fix Cycles viewport render not updating when tweaking displacement shader.

This was disabled to avoid updating the geometry every time when the
material includes displacement, because there was no way to distinguish
between surface shader and displacement updates.

As a solution, we now compute an MD5 hash of the nodes linked to the
displacement socket, and only update the mesh if that changes.

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

3 years agoFix Cycles allocating too much device memory, after recent memory refactoring.
Brecht Van Lommel [Mon, 29 Jan 2018 13:51:22 +0000 (14:51 +0100)]
Fix Cycles allocating too much device memory, after recent memory refactoring.

Spotted by Ha Hyung-jin, thanks!

3 years agoRevert "Fix T53914: Volumetric scattering now goes correctly through transparent...
Brecht Van Lommel [Mon, 29 Jan 2018 14:59:46 +0000 (15:59 +0100)]
Revert "Fix T53914: Volumetric scattering now goes correctly through transparent surfaces."

This reverts commit 3c852ba0741f794a697f95073b04921e9ff94039. This is breaking
the regression tests, and maybe requires some deeper changes to really fix.

3 years agoFix nan problem in previous bevel commit.
Howard Trickey [Mon, 29 Jan 2018 15:01:19 +0000 (10:01 -0500)]
Fix nan problem in previous bevel commit.

For chains, access to g_prod[0] was undefined.
And two minor style (whitespace) changes.

3 years agoDepsgraph: Correction for previous fix
Sergey Sharybin [Mon, 29 Jan 2018 14:06:44 +0000 (15:06 +0100)]
Depsgraph: Correction for previous fix

Original fix only worked when there is one custom property.

3 years agoOutliner: Remove Toggle options from object RMB
Dalai Felinto [Mon, 29 Jan 2018 14:04:45 +0000 (12:04 -0200)]
Outliner: Remove Toggle options from object RMB

Task suggested by Pablo Vazquez (venomgfx).

3 years agoDepsgraph: Fix missing update when property from proxy rig drives something
Sergey Sharybin [Mon, 29 Jan 2018 13:53:27 +0000 (14:53 +0100)]
Depsgraph: Fix missing update when property from proxy rig drives something

3 years agoDepsgraph: Disable labels on relations
Sergey Sharybin [Mon, 29 Jan 2018 13:45:45 +0000 (14:45 +0100)]
Depsgraph: Disable labels on relations

This code was disable a while back and got re-enabled by some previous debug
process. Having relation names in dot file helps understanding what's going
on in one cases, but makes things spread too far away in others.

3 years agoDepsgraph: Cleanup, line wraps
Sergey Sharybin [Mon, 29 Jan 2018 13:43:12 +0000 (14:43 +0100)]
Depsgraph: Cleanup, line wraps

3 years agoFix more filebrowser not refreshing correctly after new message bus system.
Bastien Montagne [Mon, 29 Jan 2018 11:50:15 +0000 (12:50 +0100)]
Fix more filebrowser not refreshing correctly after new message bus system.

This does not affect current blender2.8, but is mandatory for asset
engine branch.

Bottom line being, we also need to 'survey' changes in actual
SpaceFileBrowser struct, not only its FileSelectParams sub-struct.