blender.git
20 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Sun, 4 Nov 2018 23:30:33 +0000 (00:30 +0100)]
Merge branch 'master' into blender2.8

20 months agoFix various Freestyle rendering bugs.
Brecht Van Lommel [Sun, 4 Nov 2018 21:34:20 +0000 (22:34 +0100)]
Fix various Freestyle rendering bugs.

20 months agoGizmo: tweak 3D view navigation axis sizes
Campbell Barton [Sun, 4 Nov 2018 21:31:31 +0000 (08:31 +1100)]
Gizmo: tweak 3D view navigation axis sizes

This now matches original design more closely, see: T54723.

20 months agoFix missing NULL check initializing paint tools
Campbell Barton [Sun, 4 Nov 2018 20:15:47 +0000 (07:15 +1100)]
Fix missing NULL check initializing paint tools

20 months agoTool System: support passing in args to ToolDef functions
Campbell Barton [Sun, 4 Nov 2018 19:57:01 +0000 (06:57 +1100)]
Tool System: support passing in args to ToolDef functions

Needed since class aren't yet defined
so we can't access their namespace.

This avoids intermediate draw functions.

20 months agoCleanup: style, use ARRAY_SET_ITEMS macro
Campbell Barton [Sun, 4 Nov 2018 20:11:23 +0000 (07:11 +1100)]
Cleanup: style, use ARRAY_SET_ITEMS macro

20 months agoGP: New API to move layers in layer list
Antonioya [Sun, 4 Nov 2018 19:56:38 +0000 (20:56 +0100)]
GP: New API to move layers in layer list

This can be required  in som production scripts

20 months agoFix T57388: Blender Internal + Freestyle viewport render wrongly using FSAA.
Irie Shinsuke [Sun, 4 Nov 2018 19:34:02 +0000 (20:34 +0100)]
Fix T57388: Blender Internal + Freestyle viewport render wrongly using FSAA.

20 months agoFix assert rendering hair tests on some systems.
Brecht Van Lommel [Sun, 4 Nov 2018 19:25:57 +0000 (20:25 +0100)]
Fix assert rendering hair tests on some systems.

20 months agoFix assert rendering with denoising, after recent changes.
Brecht Van Lommel [Sun, 4 Nov 2018 19:13:55 +0000 (20:13 +0100)]
Fix assert rendering with denoising, after recent changes.

20 months agoGP: Move init code to new version section
Antonioya [Sun, 4 Nov 2018 18:52:42 +0000 (19:52 +0100)]
GP: Move init code to new version section

20 months agoFix T57611: Crash on entering Grease Pencil Sculpt Mode
Antonioya [Sun, 4 Nov 2018 18:37:03 +0000 (19:37 +0100)]
Fix T57611: Crash on entering Grease Pencil Sculpt Mode

The problem was when some layers was locked in multiedit. The cache size was not checked and gets an segment fault.

20 months agoGP: Time Offset verify range if loop is disabled
Antonioya [Sun, 4 Nov 2018 12:27:41 +0000 (13:27 +0100)]
GP: Time Offset verify range if loop is disabled

20 months agoGP: Reorganize Canvas Grid
Antonioya [Sun, 4 Nov 2018 12:00:19 +0000 (13:00 +0100)]
GP: Reorganize Canvas Grid

Now the grid is always controlled by the topbar selector and not in the canvas panel. To have two places to define orientation was confuse.

The orientation by default (no lock) is always to view plane.

20 months agoBLI_heap: add an API function to directly read the top node value.
Alexander Gavrilov [Sun, 4 Nov 2018 10:27:10 +0000 (13:27 +0300)]
BLI_heap: add an API function to directly read the top node value.

It is very commonly needed in loop conditions to check if
the items in the heap are good enough to continue.

20 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sun, 4 Nov 2018 07:12:58 +0000 (18:12 +1100)]
Merge branch 'master' into blender2.8

20 months agoFix ghash masking out upper bits on 64bit systems
Campbell Barton [Sun, 4 Nov 2018 05:44:28 +0000 (16:44 +1100)]
Fix ghash masking out upper bits on 64bit systems

The code this was taken from assumes a 'size_t' result,
which isn't the case here.

In practice the bucket distribution wasn't bad,
even so this was a nop so best fix.

20 months agoUI: Don't nest sculpt scrape/flatten
Campbell Barton [Sat, 3 Nov 2018 23:32:58 +0000 (10:32 +1100)]
UI: Don't nest sculpt scrape/flatten

These are different enough not to be grouped.

20 months agoCleanup: missed last commit
Campbell Barton [Sat, 3 Nov 2018 23:32:04 +0000 (10:32 +1100)]
Cleanup: missed last commit

20 months agoUI: move gpencil tool-draw code to topbar
Campbell Barton [Sat, 3 Nov 2018 23:25:27 +0000 (10:25 +1100)]
UI: move gpencil tool-draw code to topbar

The grease pencil UI was showing twice in tool properties space.
Move to top-bar because this UI is meant as quick convenience access
which is expanded on in the tool properties editor.

20 months agoCleanup: style, shadow warning
Campbell Barton [Sat, 3 Nov 2018 23:08:55 +0000 (10:08 +1100)]
Cleanup: style, shadow warning

20 months agoGP: Update Canvas grid orientation when change option
Antonioya [Sat, 3 Nov 2018 19:33:38 +0000 (20:33 +0100)]
GP: Update Canvas grid orientation when change option

20 months agoGP: Fix Time Offset when range frame is 0
Antonioya [Sat, 3 Nov 2018 19:00:41 +0000 (20:00 +0100)]
GP: Fix Time Offset when range frame is 0

20 months agoUI: Draw curve map with solid color
Charlie Jolly [Fri, 2 Nov 2018 18:56:45 +0000 (18:56 +0000)]
UI: Draw curve map with solid color

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

20 months agoGP: New Time Offset custom frame range parameters
Antonioya [Sat, 3 Nov 2018 16:11:38 +0000 (17:11 +0100)]
GP: New Time Offset custom frame range parameters

These parameters allow to define a frame range for the animation loop and make possible to loop a section while the scene is playing.

20 months agoGP: Fix update problems with Grid Canvas
Antonioya [Sat, 3 Nov 2018 15:18:54 +0000 (16:18 +0100)]
GP: Fix update problems with Grid Canvas

The grid canvas was not updated when changed parameters

20 months agoUI: remove grease pencil icons
Campbell Barton [Sat, 3 Nov 2018 09:33:59 +0000 (20:33 +1100)]
UI: remove grease pencil icons

Grease pencil tool now uses an icon for each tool,
previously it mapped icons to tool icons which is now not needed
because for each tool a different brush can be selected which has it's
own icon.

20 months agoUI: separate sculpt from smooth, flatten
Campbell Barton [Sat, 3 Nov 2018 09:00:30 +0000 (20:00 +1100)]
UI: separate sculpt from smooth, flatten

20 months agoGP: Use stroke and fill switches while drawing
Antonioya [Sat, 3 Nov 2018 08:58:38 +0000 (09:58 +0100)]
GP: Use stroke and fill switches while drawing

20 months agoGP: Change presets for new stroke and fill switches
Antonioya [Sat, 3 Nov 2018 08:56:51 +0000 (09:56 +0100)]
GP: Change presets for new stroke and fill switches

20 months agoUI: show brush selector in topbar
Campbell Barton [Sat, 3 Nov 2018 08:39:35 +0000 (19:39 +1100)]
UI: show brush selector in topbar

20 months agoGP: New main switches to hide stroke and fill material
Antonioya [Sat, 3 Nov 2018 07:46:21 +0000 (08:46 +0100)]
GP: New main switches to hide stroke and fill material

New parameters to switch visibility of stroke and fill

20 months agoCorrect error in last commit
Campbell Barton [Sat, 3 Nov 2018 05:54:17 +0000 (16:54 +1100)]
Correct error in last commit

20 months agoTool System: validate tool slots when setting modes
Campbell Barton [Sat, 3 Nov 2018 05:52:06 +0000 (16:52 +1100)]
Tool System: validate tool slots when setting modes

Needed for entering paint modes on new scenes.

20 months agoCleanup: move brush query into utility function
Campbell Barton [Sat, 3 Nov 2018 04:44:16 +0000 (15:44 +1100)]
Cleanup: move brush query into utility function

20 months agoCleanup: style
Campbell Barton [Sat, 3 Nov 2018 04:55:33 +0000 (15:55 +1100)]
Cleanup: style

20 months agoUI: Move Simplify panel from Scene to Render properties.
Pablo Vazquez [Sat, 3 Nov 2018 04:12:45 +0000 (05:12 +0100)]
UI: Move Simplify panel from Scene to Render properties.

It mainly contains properties that affect the final render/viewport and it's handy
to see if it's enabled or not while going through the render settings.

20 months agoUI: On markers alternate between filled/outline camera icon on selection.
Pablo Vazquez [Sat, 3 Nov 2018 03:39:40 +0000 (04:39 +0100)]
UI: On markers alternate between filled/outline camera icon on selection.

Instead of between the Camera and Camera Data as they are completely different shapes that don't indicate selection.

20 months agoUI: Align Panel drag widget with collapse triangle.
Pablo Vazquez [Sat, 3 Nov 2018 03:10:48 +0000 (04:10 +0100)]
UI: Align Panel drag widget with collapse triangle.

As pointed out by Harleya in DevTalk. Thanks!

20 months agoTransform Snap: Refactoring to avoid duplicate code.
mano-wii [Sat, 3 Nov 2018 02:55:02 +0000 (23:55 -0300)]
Transform Snap: Refactoring to avoid duplicate code.

20 months agoUI: Soft drop shadow on 3D Viewport info text.
Pablo Vazquez [Sat, 3 Nov 2018 02:47:25 +0000 (03:47 +0100)]
UI: Soft drop shadow on 3D Viewport info text.

Soft shadow similar to the title of pie menus to increase readability.
For the full white background issue an extra box container might be needed.

20 months agoUI: Blue color for selected row in Outliner.
Pablo Vazquez [Sat, 3 Nov 2018 02:43:02 +0000 (03:43 +0100)]
UI: Blue color for selected row in Outliner.

Same hue as used in the rest of the Default theme. Darkened slightly the background and tweaked category icon colors for better contrast.

20 months agoUI: Sort panels in Properties.
Pablo Vazquez [Sat, 3 Nov 2018 02:25:51 +0000 (03:25 +0100)]
UI: Sort panels in Properties.

* Viewport Display always last before Custom Properties.
* DoF panel second as it's changed more often than Camera sensor width.
* In scene, move Simplify higher up as it is changed more often than Gravity or Audio.

20 months agoUI: Tooltip for 3D View and rename to 3D Viewport.
Pablo Vazquez [Sat, 3 Nov 2018 01:26:31 +0000 (02:26 +0100)]
UI: Tooltip for 3D View and rename to 3D Viewport.

20 months agoUI: Don't use abbreviations for view names.
Pablo Vazquez [Sat, 3 Nov 2018 01:18:22 +0000 (02:18 +0100)]
UI: Don't use abbreviations for view names.

20 months agoUI: Fix white shadow when resetting to defaults.
Pablo Vazquez [Sat, 3 Nov 2018 01:03:42 +0000 (02:03 +0100)]
UI: Fix white shadow when resetting to defaults.

Resetting the theme to default would set the shadow brightness to 1.0f,
which was used as emboss when we used dark text on brighter backgrounds.
Now that we use white labels, bright shadows just makes all text fuzzy.

20 months agoMulti-Objects: MBALL_OT_duplicate_metaelems
Dalai Felinto [Fri, 2 Nov 2018 19:05:02 +0000 (16:05 -0300)]
Multi-Objects: MBALL_OT_duplicate_metaelems

20 months agoMulti-Objects: MBALL_OT_delete_metaelems
Dalai Felinto [Fri, 2 Nov 2018 19:02:21 +0000 (16:02 -0300)]
Multi-Objects: MBALL_OT_delete_metaelems

20 months agoGP: Fix problem when alpha is too low
Antonioya [Fri, 2 Nov 2018 17:05:13 +0000 (18:05 +0100)]
GP: Fix problem when alpha is too low

There are still some color when the alpha is set to 0

20 months agoGP: Add Draw Brush selector to topbar
Antonioya [Fri, 2 Nov 2018 16:42:19 +0000 (17:42 +0100)]
GP: Add Draw Brush selector to topbar

20 months agoAdd hide_buttons option to template_ID_preview
Antonioya [Fri, 2 Nov 2018 16:30:09 +0000 (17:30 +0100)]
Add hide_buttons option to template_ID_preview

When use the template in the topbar for only select an ID is very annoying to have the buttons after the name and only adds noise to the selector.

This option hide the number of users, new and delete buttons to get a cleaner topbar selector.

By default the parameter is disabled in order to keep all existing code/UI running.

20 months agoSmall cleanup on curve separation error handling
Dalai Felinto [Fri, 2 Nov 2018 17:11:51 +0000 (14:11 -0300)]
Small cleanup on curve separation error handling

20 months agoMulti-Objects: CURVE_OT_make_segment
Dalai Felinto [Fri, 2 Nov 2018 17:10:20 +0000 (14:10 -0300)]
Multi-Objects: CURVE_OT_make_segment

And another go at a more complete error handling.
I couldn't test all the error throwing cases but hopefully it is all
working as expected.

20 months agoMulti-Objects: CURVE_OT_reveal
Dalai Felinto [Fri, 2 Nov 2018 15:58:57 +0000 (12:58 -0300)]
Multi-Objects: CURVE_OT_reveal

20 months agoMulti-Objects: CURVE_OT_hide
Dalai Felinto [Fri, 2 Nov 2018 15:52:48 +0000 (12:52 -0300)]
Multi-Objects: CURVE_OT_hide

20 months agoMulti-Objects: CURVE_OT_switch_direction
Dalai Felinto [Fri, 2 Nov 2018 15:49:41 +0000 (12:49 -0300)]
Multi-Objects: CURVE_OT_switch_direction

20 months agoMulti-Objects: CURVE_OT_tilt_clear
Dalai Felinto [Fri, 2 Nov 2018 15:46:40 +0000 (12:46 -0300)]
Multi-Objects: CURVE_OT_tilt_clear

20 months agoMulti-Objects: CURVE_OT_handle_type_set
Dalai Felinto [Fri, 2 Nov 2018 15:42:48 +0000 (12:42 -0300)]
Multi-Objects: CURVE_OT_handle_type_set

20 months agoFix T57586: crash linking node group through material properties editor.
Brecht Van Lommel [Fri, 2 Nov 2018 16:49:34 +0000 (17:49 +0100)]
Fix T57586: crash linking node group through material properties editor.

20 months agoUI: add option for permanently allowing execution of scripts to dialog.
Brecht Van Lommel [Fri, 2 Nov 2018 16:24:19 +0000 (17:24 +0100)]
UI: add option for permanently allowing execution of scripts to dialog.

Ref T57197

20 months agoFix missing separators after recent changes.
Brecht Van Lommel [Fri, 2 Nov 2018 16:25:06 +0000 (17:25 +0100)]
Fix missing separators after recent changes.

20 months agoFix T57316: material preview icons not updating.
Brecht Van Lommel [Fri, 2 Nov 2018 15:02:46 +0000 (16:02 +0100)]
Fix T57316: material preview icons not updating.

The editors update callback was getting the COW datablock, it should be the
original where the preview icons are stored.

20 months agoMulti-Objects: CURVE_OT_normals_make_consistent
Dalai Felinto [Fri, 2 Nov 2018 15:37:23 +0000 (12:37 -0300)]
Multi-Objects: CURVE_OT_normals_make_consistent

20 months agoGP: Reduce space between draw option buttons
Antonioya [Fri, 2 Nov 2018 15:35:31 +0000 (16:35 +0100)]
GP: Reduce space between draw option buttons

Using new separator parameter, reduce space. The default value was too much.

20 months agoAdd new factor parameter to layout.separator()
Antonioya [Fri, 2 Nov 2018 15:32:31 +0000 (16:32 +0100)]
Add new factor parameter to layout.separator()

The new parameter allows to define the scale of the space.

20 months agoArmature: Fix stick bones not scaling with pixel size
Clément Foucault [Fri, 2 Nov 2018 15:27:21 +0000 (16:27 +0100)]
Armature: Fix stick bones not scaling with pixel size

20 months agoMulti-Objects: CURVE_OT_separate
Dalai Felinto [Fri, 2 Nov 2018 15:13:44 +0000 (12:13 -0300)]
Multi-Objects: CURVE_OT_separate

This is also a first take on trying to handle errors for partial
succeeded operators. Handling it all manually for now.

For the remaining operators I will use changed_multi to get over with
multi-objects. But we can handle their errors in a separate pass.

20 months agoUI: Darken the backdrop of navigation gizmos.
Pablo Vazquez [Fri, 2 Nov 2018 15:16:33 +0000 (16:16 +0100)]
UI: Darken the backdrop of navigation gizmos.

Bright backdrop would get lost when having bright elements/background in the viewport.
This makes it use a darkened/lighten version of the theme space header color.
Since icons are colored using the 'text' value of the Theme Space, it's likely that any
theme is going to have a contrasting background color, but just in case darken/lighten it slightly.

20 months agoEdit Mesh Mode: Improve edge drawing
Clément Foucault [Fri, 2 Nov 2018 14:07:06 +0000 (15:07 +0100)]
Edit Mesh Mode: Improve edge drawing

Make edge decoration a bit thinner and try to reduce missing edge segment
due to triangle barycentrics.

This invert the "edge fix" strip offset direction, meanning there is now
the possibility that these triangles poke through nearby geometry depending
on the viewport near/far clips distances.

20 months agoDRW: Use GPU module wrapper for line width
Clément Foucault [Fri, 2 Nov 2018 14:00:08 +0000 (15:00 +0100)]
DRW: Use GPU module wrapper for line width

20 months agoGPU: Add safety check for max line width
Clément Foucault [Fri, 2 Nov 2018 13:58:49 +0000 (14:58 +0100)]
GPU: Add safety check for max line width

On some platform does not support line width > 1.0 and can even throw and
error. Better check an at least display something rather than no lines at
all.

20 months agoUI: disable decorators for color management and motion path panels.
Brecht Van Lommel [Fri, 2 Nov 2018 14:31:17 +0000 (15:31 +0100)]
UI: disable decorators for color management and motion path panels.

20 months agoMultires: Apply uniform scale on displacement when applying scale on object
Sergey Sharybin [Fri, 2 Nov 2018 14:23:06 +0000 (15:23 +0100)]
Multires: Apply uniform scale on displacement when applying scale on object

This is sued by both object joinig and object apply scale operations.

Currently only uniform scale is working correct. Non-uniform gets averaged
and will produce slightly distorted results. This is something we should
fix, but priority of this particular case is not so high.

20 months agoFix issues with hide/restrict icons after recent changes.
Brecht Van Lommel [Fri, 2 Nov 2018 12:05:05 +0000 (13:05 +0100)]
Fix issues with hide/restrict icons after recent changes.

Set the names to match the original order again, to avoid breaking addons and
various places in the code that relied on them.

20 months agoUI: Fix 'extra' fake user showing in UI ID template usercount.
Bastien Montagne [Fri, 2 Nov 2018 13:36:41 +0000 (14:36 +0100)]
UI: Fix 'extra' fake user showing in UI ID template usercount.

User do not care about that 'virtual' user, it only makes it more
confusing. So now, that template always shows actual number of real
users, we already have own dedicated button to show fake user status.

20 months agoUI: Fix showing '2' number of users in ID templates for fake-user IDs.
Bastien Montagne [Fri, 2 Nov 2018 13:33:38 +0000 (14:33 +0100)]
UI: Fix showing '2' number of users in ID templates for fake-user IDs.

Using FakeUser on an ID sill put its usercount to 2 if it is actually
also 'really' used once. But we do not want to show that to user
(especially not since it also allows to 'make single user' of an ID
already only used once...).

20 months agoFix 'id_single_user' wrongly reseting usercount to 0.
Bastien Montagne [Fri, 2 Nov 2018 13:31:13 +0000 (14:31 +0100)]
Fix 'id_single_user' wrongly reseting usercount to 0.

We want to undo the initial usercount from low-level ID duplication, not
to erase all possible extra processing (like e.g. setting Fake User...).

Fixes part of mess in brush usercount.

20 months agoMultires: Cleanup, naming
Sergey Sharybin [Fri, 2 Nov 2018 12:59:04 +0000 (13:59 +0100)]
Multires: Cleanup, naming

First of all, follow our naming convention to use module prefix.

Second of all, mesh is being created and is to be freed, we also
have convention for such function names.

20 months agoMultires: Prevent crash when joining two multires objects
Sergey Sharybin [Fri, 2 Nov 2018 09:56:20 +0000 (10:56 +0100)]
Multires: Prevent crash when joining two multires objects

This only works thing around, just so we can unlock production here.
Joining objects of a different scale will not yet work correctly.

Proper fix is coming later (the code needs to be ported to new
Subdiv API).

20 months agoTool System: brushes are now categorized by tool
Campbell Barton [Thu, 1 Nov 2018 22:10:23 +0000 (09:10 +1100)]
Tool System: brushes are now categorized by tool

The toolbar now shows brush types, the brush selector now
only shows brushes matching the current tool type.

Details:

- Add's Paint.tool_slots (used by the toolbar).
- Removed custom grease pencil brush tool code.
- Bumped subversion.

See T57526 for details.

20 months agoFix assert setting fake user then removing
Campbell Barton [Fri, 2 Nov 2018 05:22:45 +0000 (16:22 +1100)]
Fix assert setting fake user then removing

20 months agoUI: Minor tweaks on User Preferences header.
Pablo Vazquez [Fri, 2 Nov 2018 02:15:38 +0000 (03:15 +0100)]
UI: Minor tweaks on User Preferences header.

* Move Save User Preferences to the right (matches file browser and quit prompt).
* Icons for Import/Export keyconfig
* Match order of install/reset of Themes section
* Rename "Install MatCap/HDRI" to "Add MatCap/HDRI"

20 months agoUI: Rename Save User Settings operator to Save User Preferences.
Pablo Vazquez [Fri, 2 Nov 2018 02:08:58 +0000 (03:08 +0100)]
UI: Rename Save User Settings operator to Save User Preferences.

The term Settings is not used anywhere, plus the menu entry and editor use the word Preferences.

20 months agoUI Cycles: Open "Sampling" panel by default
Pablo Vazquez [Fri, 2 Nov 2018 01:29:09 +0000 (02:29 +0100)]
UI Cycles: Open "Sampling" panel by default

Now that the Dimensions panel moved to Output, we can have the Sampling panel as the only one open by default.

20 months agoUI: Sort panels in Render and Output
Pablo Vazquez [Fri, 2 Nov 2018 01:21:35 +0000 (02:21 +0100)]
UI: Sort panels in Render and Output

20 months agoUI: tweak panels open by default
Campbell Barton [Fri, 2 Nov 2018 01:04:04 +0000 (12:04 +1100)]
UI: tweak panels open by default

20 months agoUI: add render output tab to properties editor
Brecht Van Lommel [Fri, 2 Nov 2018 00:56:41 +0000 (11:56 +1100)]
UI: add render output tab to properties editor

20 months agoUI: Typo
Pablo Vazquez [Fri, 2 Nov 2018 00:19:34 +0000 (01:19 +0100)]
UI: Typo

20 months agoMulti-Object-Mode: Edit curve draw (deselect all)
Campbell Barton [Thu, 1 Nov 2018 21:31:36 +0000 (08:31 +1100)]
Multi-Object-Mode: Edit curve draw (deselect all)

D3887 by @zazizizou

20 months agoMulti-Object-Mode: Edit curve toggle cyclic
Campbell Barton [Thu, 1 Nov 2018 21:24:17 +0000 (08:24 +1100)]
Multi-Object-Mode: Edit curve toggle cyclic

D3882 by @zazizizou

20 months agoUI: Math Node Menu: Group and reorder
charlie [Thu, 1 Nov 2018 16:08:03 +0000 (16:08 +0000)]
UI: Math Node Menu: Group and reorder

Change menu so that maths functions are grouped together more logically.

20 months agoCleanup: style
Campbell Barton [Thu, 1 Nov 2018 19:59:51 +0000 (06:59 +1100)]
Cleanup: style

20 months agoFix bpy.app, sentinel was removed by accident
Campbell Barton [Thu, 1 Nov 2018 20:42:09 +0000 (07:42 +1100)]
Fix bpy.app, sentinel was removed by accident

20 months agoEevee: Fix crash during Light cache baking
Clément Foucault [Thu, 1 Nov 2018 20:23:05 +0000 (21:23 +0100)]
Eevee: Fix crash during Light cache baking

This was caused by some threading conflict.

20 months agoEevee: Opti: Irradiance: Remove sqrt and max on backface test
Clément Foucault [Thu, 1 Nov 2018 17:11:00 +0000 (18:11 +0100)]
Eevee: Opti: Irradiance: Remove sqrt and max on backface test

Did not have any impact in my tests and it saves some instructions.

20 months agoUI: show messages and progress in topbar when status bar is collapsed.
Brecht Van Lommel [Thu, 1 Nov 2018 18:39:40 +0000 (19:39 +0100)]
UI: show messages and progress in topbar when status bar is collapsed.

20 months agoUI: show blocking popup when auto execution of scripts is disabled.
Brecht Van Lommel [Thu, 1 Nov 2018 17:32:37 +0000 (18:32 +0100)]
UI: show blocking popup when auto execution of scripts is disabled.

This is important information, and it was easily missed at the top/bottom of
the screen.

Ref T57197.

20 months agoUI: support red alert on labels, not just buttons.
Brecht Van Lommel [Thu, 1 Nov 2018 18:43:46 +0000 (19:43 +0100)]
UI: support red alert on labels, not just buttons.

20 months agoFix T57559: fix wrong disable/mute icons for particles and shape keys.
Brecht Van Lommel [Thu, 1 Nov 2018 16:20:12 +0000 (17:20 +0100)]
Fix T57559: fix wrong disable/mute icons for particles and shape keys.

20 months agoDefaults: leave user prefs temp directory empty, so it gets right value per OS.
Brecht Van Lommel [Thu, 1 Nov 2018 13:45:58 +0000 (14:45 +0100)]
Defaults: leave user prefs temp directory empty, so it gets right value per OS.