3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 12 Jul 2018 06:31:19 +0000 (08:31 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix PyRNA class registration w/ Python 3.7
Campbell Barton [Thu, 12 Jul 2018 06:28:06 +0000 (08:28 +0200)]
Fix PyRNA class registration w/ Python 3.7

In Python3.7 this now raises an error.

3 years agoPyAPI: remove bpy.utils.register_module
Campbell Barton [Wed, 11 Jul 2018 21:13:37 +0000 (23:13 +0200)]
PyAPI: remove bpy.utils.register_module

Remove bpy.utils.register_module() & logic tracked RNA classes.

3 years agoPyAPI: Use annotations for RNA definitions
Campbell Barton [Wed, 11 Jul 2018 20:18:09 +0000 (22:18 +0200)]
PyAPI: Use annotations for RNA definitions

- Logical use of fields since they define type information.
- Avoids using ordered-dict metaclass.

Properties using regular assignments will print a warning and load,
however the order is undefined.

3 years agoBuildbot: initial configuration for Visual Studio 2017.
Brecht Van Lommel [Wed, 11 Jul 2018 19:30:37 +0000 (21:30 +0200)]
Buildbot: initial configuration for Visual Studio 2017.

3 years agoManipulator: expose use_select_background via RNA
Campbell Barton [Wed, 11 Jul 2018 18:23:19 +0000 (20:23 +0200)]
Manipulator: expose use_select_background via RNA

3 years agoUI: Flip Overlays/Shading position
Pablo Vazquez [Wed, 11 Jul 2018 18:10:27 +0000 (20:10 +0200)]
UI: Flip Overlays/Shading position

This brings the Object Visibility dropdown closer to overlays which
also controls visibility of elements int he viewport, so it makes more
sense there. Also placing the Overlays settings closer to the viewport.

3 years agoUI: overlay, remove redundant 'object' term
Campbell Barton [Wed, 11 Jul 2018 17:00:24 +0000 (19:00 +0200)]
UI: overlay, remove redundant 'object' term

3 years agoUI: Fix Seams button drawing differently
Pablo Vazquez [Wed, 11 Jul 2018 17:00:54 +0000 (19:00 +0200)]
UI: Fix Seams button drawing differently

3 years ago3D View: option not to draw center dots
Campbell Barton [Wed, 11 Jul 2018 16:51:04 +0000 (18:51 +0200)]
3D View: option not to draw center dots

While this is a fairly obscure option,
it means it's possible to disable all overlays except for any
overlays the users wants to see.

3 years agoUI: Rename Bone Select to Fade Geometry in Overlay popover
Pablo Vazquez [Wed, 11 Jul 2018 16:54:42 +0000 (18:54 +0200)]
UI: Rename Bone Select to Fade Geometry in Overlay popover

Part of design: T55863

3 years agoUI: Overlay panel fix for display_all
Pablo Vazquez [Wed, 11 Jul 2018 16:46:08 +0000 (18:46 +0200)]
UI: Overlay panel fix for display_all

3 years agoUI: Re-arrange Overlay popover for Mesh Edit Mode
Pablo Vazquez [Wed, 11 Jul 2018 16:38:39 +0000 (18:38 +0200)]
UI: Re-arrange Overlay popover for Mesh Edit Mode

Sub-panels for shading, measurement, normals, freestyle and developer.
Less-used sub-panels will be collapsed by default once their implementation
is complete (fixing spacing between sub-panels, adding the triangle to collapse, etc).

Also added missing check for overlays on/off on existing sub-panels.

3 years agoUI: Add missing Viewport Info to Overlay popover
Pablo Vazquez [Wed, 11 Jul 2018 16:33:48 +0000 (18:33 +0200)]
UI: Add missing Viewport Info to Overlay popover

3 years agoFix T55915 DOF Number of blades wrong logic
Clément Foucault [Wed, 11 Jul 2018 16:33:35 +0000 (18:33 +0200)]
Fix T55915 DOF Number of blades wrong logic

Thanks @kostex for the fix.

3 years agoEdit Mesh: Fix missing loose edges if vertex is at local origin
Clément Foucault [Wed, 11 Jul 2018 16:20:14 +0000 (18:20 +0200)]
Edit Mesh: Fix missing loose edges if vertex is at local origin

3 years agoTransform Manipulator: fix scale handle selection
Campbell Barton [Wed, 11 Jul 2018 16:09:19 +0000 (18:09 +0200)]
Transform Manipulator: fix scale handle selection

The scale handles couldn't be accessed when rotation was enabled and
they pointed away from the view.

3 years agoUI: overlay panel minor tweak
Campbell Barton [Wed, 11 Jul 2018 15:22:57 +0000 (17:22 +0200)]
UI: overlay panel minor tweak

Move face-orientation to less prominent location since its
more of a debugging option.

3 years agoFix manipulator hiding cursor
Campbell Barton [Wed, 11 Jul 2018 15:16:10 +0000 (17:16 +0200)]
Fix manipulator hiding cursor

Manipulator highlight, then transform would hide the mouse cursor.

3 years agoEevee: LightCache: Fix autobake starting when it should not
Clément Foucault [Wed, 11 Jul 2018 14:54:10 +0000 (16:54 +0200)]
Eevee: LightCache: Fix autobake starting when it should not

3 years agoNumeric Input: preference to default to advanced
Campbell Barton [Wed, 11 Jul 2018 14:31:28 +0000 (16:31 +0200)]
Numeric Input: preference to default to advanced

3 years agoUI: Remove duplicate Viewport Display panel from Scene properties
Pablo Vazquez [Wed, 11 Jul 2018 14:07:32 +0000 (16:07 +0200)]
UI: Remove duplicate Viewport Display panel from Scene properties

The Shadow and SSAO settings here are accessible from the Shading popover.

3 years agoUI: Overlay popover - Wireframe slider style same as in shading popover
Pablo Vazquez [Wed, 11 Jul 2018 14:06:19 +0000 (16:06 +0200)]
UI: Overlay popover - Wireframe slider style same as in shading popover

Avoids having to switch between two icons, which was misaligned anyway.

3 years agoUI: Re-arrange Shading popover
Pablo Vazquez [Wed, 11 Jul 2018 14:05:05 +0000 (16:05 +0200)]
UI: Re-arrange Shading popover

* Unify X-Ray/Shadow toggle and factor, using the whole width gives you finer control
* Shadow settings next to intensity slider
* Cavity settings next to Ridge/Valley sliders
* Collapse Cavity settings when not used
* Make MatCap preview and browser dialog smaller. MatCaps are added by the user
so she is already familiar with how they look. No need to preview them that big
while browsing. To see the MatCaps in detail we have the User Preferences/Asset Manager.

Having popovers inside popovers triggers some minor glitches that will be addressed later.
(e.g. they open on mouse over and the popover arrow is not aligned)

3 years agoFix T55914: Blender 2.8 Crashes when increasing the repeat count for a track in NLA
Bastien Montagne [Wed, 11 Jul 2018 13:45:17 +0000 (15:45 +0200)]
Fix T55914: Blender 2.8 Crashes when increasing the repeat count for a track in NLA

Logical mistake in repeated strips drawing code.

3 years agoRevert removal of fake editing for numeric input
Campbell Barton [Wed, 11 Jul 2018 13:22:57 +0000 (15:22 +0200)]
Revert removal of fake editing for numeric input

Revert changes from 785159e6e4dfc5c010baab626667132020e1ddc7
but keep 'ifdef'.

@mont29 maintains this area and prefers to keep existing logic.
Note that there was misunderstanding that '*' was intended only
to be a backup key for '=' for keyboards which require holding a

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Wed, 11 Jul 2018 12:56:13 +0000 (14:56 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T55912: saving Viewer Node image error.
Bastien Montagne [Wed, 11 Jul 2018 12:32:43 +0000 (14:32 +0200)]
Fix T55912: saving Viewer Node image error.

Images from viewer node needs the lock parameter...

3 years agoMinor cleanup to logic in BKE's imbuf releasing code.
Bastien Montagne [Wed, 11 Jul 2018 12:32:06 +0000 (14:32 +0200)]
Minor cleanup to logic in BKE's imbuf releasing code.

3 years agoUI: correct panel default-closed
Campbell Barton [Wed, 11 Jul 2018 12:04:17 +0000 (14:04 +0200)]
UI: correct panel default-closed

3 years agoUI: minor tweaks to overlay panel
Campbell Barton [Wed, 11 Jul 2018 11:58:10 +0000 (13:58 +0200)]
UI: minor tweaks to overlay panel

Position 'outline selected' more prominently,
gives more useful behavior when dragging over the left column.

3 years agoUI: Move Object Type Visibility next to shading/overlay settings
Pablo Vazquez [Wed, 11 Jul 2018 11:24:04 +0000 (13:24 +0200)]
UI: Move Object Type Visibility next to shading/overlay settings

Group Object Type Visibility with the viewport settings in the header.

The eye icon is a placeholder. A new icon is needed to better communicate
the user at a glance if all (or none) object types are enabled, or why certain types
are not visible/selectable in the viewport.

Part of design: T55863

3 years agoUI: 3D Viewport Header - swap position of shading/snapping settings
Pablo Vazquez [Wed, 11 Jul 2018 11:06:01 +0000 (13:06 +0200)]
UI: 3D Viewport Header - swap position of shading/snapping settings

When tweaking the shading/overlays settings through the popovers,
these get on the way of the content in the viewport. Making it hard to
see the result of our changes.

Unfortunately this breaks consistency with other headers where the snapping
tools are aligned to the right, but the benefits outweigh the costs.

3 years agoUI: Re-arrange Overlays popover
Pablo Vazquez [Wed, 11 Jul 2018 11:00:05 +0000 (13:00 +0200)]
UI: Re-arrange Overlays popover

Organize content in categories/sub-panels.

The result is a more organized but slightly taller popover.
Once sub-panels are implemented code-wise, the alignment issues
(like panel label) and extra space between the content and panels
headers will be reduced. Together with the ability to have certain
less-used popovers collapsed by default, this will make the
popover more compact.

Part of design: T55863

3 years agoKeymap: update 2.7x map
Campbell Barton [Wed, 11 Jul 2018 11:13:07 +0000 (13:13 +0200)]
Keymap: update 2.7x map

3 years agoCleanup: remove redundant operator
Campbell Barton [Wed, 11 Jul 2018 11:07:30 +0000 (13:07 +0200)]
Cleanup: remove redundant operator

3 years agoCleanup: simplify RNA names
Campbell Barton [Wed, 11 Jul 2018 11:02:22 +0000 (13:02 +0200)]
Cleanup: simplify RNA names

3 years agoFix crash in combing after changing scene property
Sergey Sharybin [Wed, 11 Jul 2018 10:55:03 +0000 (12:55 +0200)]
Fix crash in combing after changing scene property

3 years agoOpenSubdiv: Changes in C-API
Sergey Sharybin [Wed, 11 Jul 2018 08:36:13 +0000 (10:36 +0200)]
OpenSubdiv: Changes in C-API

- Made OpenSubdiv_GLMesh private
  Previously, it was still accessible via C-API from C++ code.

- Don't implicitly refine evaluator when updating coarse positions,
  now there is an explicit call to do this.

  Allows to first apply all changes to the coarse mesh and then
  refine once.

- Added coarse positions update from a continuous buffer with given
  starts offset and stride.

  Allows to update coarse positions directly from MVert array.

- Refiner is no longer freed when CPU evaluator is created.
  Allows to re-use refiner for multiple purposes.

3 years agoUI: don't change scrollbar size on mouse move, only fade.
Brecht Van Lommel [Wed, 11 Jul 2018 10:30:48 +0000 (12:30 +0200)]
UI: don't change scrollbar size on mouse move, only fade.

It's not necessary to do both, and trying to hit a target that changes
size is annoying.

3 years agoFix Use Nodes not working for Cycles lights.
Brecht Van Lommel [Wed, 11 Jul 2018 10:13:04 +0000 (12:13 +0200)]
Fix Use Nodes not working for Cycles lights.

3 years ago3D View: any view axis also showing grid
Campbell Barton [Wed, 11 Jul 2018 09:59:11 +0000 (11:59 +0200)]
3D View: any view axis also showing grid

Setting accidentally impacted in ortho view.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 11 Jul 2018 09:44:04 +0000 (11:44 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: duplicate versioning block
Campbell Barton [Wed, 11 Jul 2018 09:39:58 +0000 (11:39 +0200)]
Cleanup: duplicate versioning block

3 years agoFix empty-images not using selection color
Campbell Barton [Wed, 11 Jul 2018 09:02:03 +0000 (11:02 +0200)]
Fix empty-images not using selection color

3 years agoManipulator: changes for overlay options
Campbell Barton [Wed, 11 Jul 2018 08:38:01 +0000 (10:38 +0200)]
Manipulator: changes for overlay options

There are now 3 categories in the overlay popover:

- Navigation
- Active (camera, lamp... etc)
- Tool (manipulator)

The user preference for mini axis now controls if the mini axis
displays minimal or a full-interactive widget.

Part of design: T55863

3 years agoRevert "Transform: default constraint to user orientation"
Campbell Barton [Wed, 11 Jul 2018 08:25:02 +0000 (10:25 +0200)]
Revert "Transform: default constraint to user orientation"

This reverts commit 81210103104980c9052de491a0b4defd003c2d1e.

After user feedback this has the downside of having no predictable
way of transforming in global space.

Since toggling between global/user is reversed when global is
the user axis.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 11 Jul 2018 08:23:54 +0000 (10:23 +0200)]
Merge branch 'master' into blender2.8

3 years agoDepsgraph: Fix face dependency cycle when bone uses id property from self
Sergey Sharybin [Wed, 11 Jul 2018 08:19:56 +0000 (10:19 +0200)]
Depsgraph: Fix face dependency cycle when bone uses id property from self

3 years agoUI: Default theme - minor tweaks to console colors closer to text editor's
Pablo Vazquez [Tue, 10 Jul 2018 23:21:38 +0000 (01:21 +0200)]
UI: Default theme - minor tweaks to console colors closer to text editor's

3 years agoUI: Default theme roundness consistency for toggles
Pablo Vazquez [Tue, 10 Jul 2018 18:26:18 +0000 (20:26 +0200)]
UI: Default theme roundness consistency for toggles

3 years agoUI: Single-column for object type visibility
Pablo Vazquez [Tue, 10 Jul 2018 18:25:50 +0000 (20:25 +0200)]
UI: Single-column for object type visibility

3 years ago3D View: option to hide object overlays
Campbell Barton [Tue, 10 Jul 2018 16:30:45 +0000 (18:30 +0200)]
3D View: option to hide object overlays

This hides extra wires and details you may want to disable,
name may be changed.

3 years agoUI: Textures - Move Colors panel below texture-specific panels
Pablo Vazquez [Tue, 10 Jul 2018 16:22:16 +0000 (18:22 +0200)]
UI: Textures - Move Colors panel below texture-specific panels

3 years agoUI: Single-column and sub-panels for Image Texture properties
Pablo Vazquez [Tue, 10 Jul 2018 16:21:44 +0000 (18:21 +0200)]
UI: Single-column and sub-panels for Image Texture properties

3 years agoCleanup: remove unused interlace code after removal of fields.
Brecht Van Lommel [Tue, 10 Jul 2018 15:54:20 +0000 (17:54 +0200)]
Cleanup: remove unused interlace code after removal of fields.

3 years agoGHOST/Windows: don't prefer swap copy method.
Brecht Van Lommel [Mon, 9 Jul 2018 14:31:18 +0000 (16:31 +0200)]
GHOST/Windows: don't prefer swap copy method.

This is no longer needed with the new offscreen draw method, so use whatever
is default and hopefully fastest. Fixes console warnings in some setups that
don't have swap copy.

3 years agoFix Cycles standalone build issue with OpenColorIO.
Brecht Van Lommel [Mon, 9 Jul 2018 14:25:22 +0000 (16:25 +0200)]
Fix Cycles standalone build issue with OpenColorIO.

3 years agoImage: remove fields option for image sequences
Campbell Barton [Tue, 10 Jul 2018 15:28:19 +0000 (17:28 +0200)]
Image: remove fields option for image sequences

Remove support for loading interlaced image sequences because
its less common now to record interlaced video,
the option to de-interlace video on load remains.

3 years agoFix for recent numeric input checks
Campbell Barton [Tue, 10 Jul 2018 15:10:38 +0000 (17:10 +0200)]
Fix for recent numeric input checks

3 years agoFix T55826, fix T55804: crash after copying scene with linked objects.
Brecht Van Lommel [Tue, 10 Jul 2018 12:11:12 +0000 (14:11 +0200)]
Fix T55826, fix T55804: crash after copying scene with linked objects.

3 years agoFix accidentally removed particle function in GLSL, still not supported though.
Brecht Van Lommel [Tue, 10 Jul 2018 13:35:59 +0000 (15:35 +0200)]
Fix accidentally removed particle function in GLSL, still not supported though.

3 years agoFix popovers showing unnecessary titles.
Brecht Van Lommel [Tue, 10 Jul 2018 10:43:10 +0000 (12:43 +0200)]
Fix popovers showing unnecessary titles.

3 years agoEevee: LightCache: Initial Implementation
Clément Foucault [Tue, 10 Jul 2018 13:02:25 +0000 (15:02 +0200)]
Eevee: LightCache: Initial Implementation

This separate probe rendering from viewport rendering, making possible to
run the baking in another thread (non blocking and faster).

The baked lighting is saved in the blend file. Nothing needs to be
recomputed on load.

There is a few missing bits / bugs:
- Cache cannot be saved to disk as a separate file, it is saved in the DNA
  for now making file larger and memory usage higher.
- Auto update only cubemaps does update the grids (bug).
- Probes cannot be updated individually (considered as dynamic).
- Light Cache cannot be (re)generated during render.

3 years agoObject Mode: Change Lightprobe display.
Clément Foucault [Tue, 10 Jul 2018 12:46:36 +0000 (14:46 +0200)]
Object Mode: Change Lightprobe display.

3 years agoDRW: Add new features from lightcache branch
Clément Foucault [Tue, 10 Jul 2018 12:40:28 +0000 (14:40 +0200)]
DRW: Add new features from lightcache branch

- Change gl_context_mutex to a ticket mutex ensuring interactivity even
  when rendering.
- Add DRW_custom_pipeline for using DRW outside of the viewport and render
- DRW_opengl_render_context_*** and DRW_gawain_render_context_*** to use
  with DRW_custom_pipeline.
- Add possibility to bypass deferred compilation on demand (not User
- Add union to access DRWMatrixState members more easily.

3 years agoDrawData: Change drawdata to a generic struct shared accross ID types
Clément Foucault [Tue, 10 Jul 2018 12:14:55 +0000 (14:14 +0200)]
DrawData: Change drawdata to a generic struct shared accross ID types

This makes tagging much more generic and make the world updates more in
line with the new tagging system (Depsgraph).

3 years agoGPUTexture: Refactor of texture creation & new feature
Clément Foucault [Tue, 10 Jul 2018 11:17:32 +0000 (13:17 +0200)]
GPUTexture: Refactor of texture creation & new feature

- Texture creation now requires explicit data type.
- GPU_texture_add_mipmap enable explicit mipmap upload.
- GPU_texture_get_mipmap_size can be used to get the size of a mipmap level
  of an existing GPUTexture
- GPU_texture_read let you read back data from a gpu texture.

3 years agoNumeric Input: remove fake-editing option
Campbell Barton [Tue, 10 Jul 2018 12:56:40 +0000 (14:56 +0200)]
Numeric Input: remove fake-editing option

Numeric input allowed mix of editing and hotkeys which were interpreted
as modifiers instead of using as numeric input.

This meant entering '1.0*3' needed to be typed as '1.0**3'
('*' to activate, and again to multiply).

Pressing '/' gave the reciprocal of the current number
which could be useful.

Test removing this feature, so only full numeric input is supported.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 10 Jul 2018 12:45:08 +0000 (14:45 +0200)]
Merge branch 'master' into blender2.8

3 years agoOpenSubdiv: Fix wrong topology refiner cast
Sergey Sharybin [Tue, 10 Jul 2018 12:37:34 +0000 (14:37 +0200)]
OpenSubdiv: Fix wrong topology refiner cast

3 years agoOpenSubdiv: Make more flexible C-API to specify FVar interpolation
Sergey Sharybin [Tue, 10 Jul 2018 12:36:04 +0000 (14:36 +0200)]
OpenSubdiv: Make more flexible C-API to specify FVar interpolation

3 years ago3D View: overlay option to show bones
Campbell Barton [Tue, 10 Jul 2018 12:10:12 +0000 (14:10 +0200)]
3D View: overlay option to show bones

Allows drawing motion paths without the bones.

3 years agoFix T55882: crash closing user preferences window in some cases.
Brecht Van Lommel [Tue, 10 Jul 2018 10:31:27 +0000 (12:31 +0200)]
Fix T55882: crash closing user preferences window in some cases.

3 years agoModifiers: Use bool for boolean flag in isDisabled
Sergey Sharybin [Tue, 10 Jul 2018 10:14:08 +0000 (12:14 +0200)]
Modifiers: Use bool for boolean flag in isDisabled

3 years agoOcean Modifier: prevent crashing on 'Apply Modifier' button
Sybren A. Stüvel [Tue, 10 Jul 2018 09:58:01 +0000 (11:58 +0200)]
Ocean Modifier: prevent crashing on 'Apply Modifier' button

The 'Apply Modifier' button calls the modifier code on the original
object instead of an evaluated copy, which doesn't have an initialised
Ocean *.

3 years agoOcean Modifier: removed duplicated code
Sybren A. Stüvel [Tue, 10 Jul 2018 09:57:01 +0000 (11:57 +0200)]
Ocean Modifier: removed duplicated code

Some code was copied with 'keep in sync with xxx' comments added to it.

3 years agoOcean Modifier: refactored the delayed-refresh approach
Sybren A. Stüvel [Thu, 5 Jul 2018 14:23:35 +0000 (16:23 +0200)]
Ocean Modifier: refactored the delayed-refresh approach

The approach of setting 'refresh' flags on the modifier, and performing
the associated actions when the modifier is being evaluated, is a bad
one. Instead, we use the separation of the original and the evaluated
copy to 'refresh' certain things (because they simply aren't set at all
on the original). Other actions are now done directly with BKE_ocean_xxx
functions on the original data, intead of during evaluation.

3 years agoPorted mesh_create_derived_view() to mesh_create_eval_final_view()
Sybren A. Stüvel [Thu, 5 Jul 2018 13:41:58 +0000 (15:41 +0200)]
Ported mesh_create_derived_view() to mesh_create_eval_final_view()

3 years agoOcean Modifier: ported from DerivedMesh to Mesh
Sybren A. Stüvel [Thu, 5 Jul 2018 13:30:00 +0000 (15:30 +0200)]
Ocean Modifier: ported from DerivedMesh to Mesh

3 years agoAdded comment for DEG_TAG_PSYS_xxx and PSYS_RECALC_xxx relation
Sybren A. Stüvel [Fri, 6 Jul 2018 09:15:52 +0000 (11:15 +0200)]
Added comment for DEG_TAG_PSYS_xxx and PSYS_RECALC_xxx relation

3 years ago3D View: allow border zoom from camera
Campbell Barton [Tue, 10 Jul 2018 09:45:05 +0000 (11:45 +0200)]
3D View: allow border zoom from camera

3 years agoFix T55772: Crashes opening a file
Bastien Montagne [Tue, 10 Jul 2018 09:41:59 +0000 (11:41 +0200)]
Fix T55772: Crashes opening a file

Bad handling of some weird 'temp' screens in 2.8 doversion.

3 years agoFix T55884: shader node linked menu showing incompatible nodes.
Brecht Van Lommel [Tue, 10 Jul 2018 09:39:57 +0000 (11:39 +0200)]
Fix T55884: shader node linked menu showing incompatible nodes.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 10 Jul 2018 09:27:48 +0000 (11:27 +0200)]
Merge branch 'master' into blender2.8

3 years agoCMake: Disable OpenAL and JACK when AUDASPACE is disabled
Sergey Sharybin [Tue, 10 Jul 2018 09:25:47 +0000 (11:25 +0200)]
CMake: Disable OpenAL and JACK when AUDASPACE is disabled

Previously CMake was raising a fatal error, which wasn't too helpful.

There is still some fatal messages about Audaspace and Game Engine,
but the latter one is on it's EOL and is removed in Blender 2.8.

3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 10 Jul 2018 09:23:10 +0000 (11:23 +0200)]
Merge branch 'master' into blender2.8

3 years agoMissing from last commit
Campbell Barton [Tue, 10 Jul 2018 09:02:07 +0000 (11:02 +0200)]
Missing from last commit

3 years agoKeymap: update 2.7x map
Campbell Barton [Tue, 10 Jul 2018 09:00:43 +0000 (11:00 +0200)]
Keymap: update 2.7x map

Remove Shift-B, operator option is removed.

3 years agoGHOST: Fix memory leak in X11 DPI query
Sergey Sharybin [Tue, 10 Jul 2018 08:59:06 +0000 (10:59 +0200)]
GHOST: Fix memory leak in X11 DPI query

The X resource database is to be explicitly destroyed. This fixes 46 bytes
leak per every window DPI query (which happens a lot on window move/resize
and even on areas resize).

Unfortunately, this does not fully fix the leak since the known leak:

3 years agoKeymap: remove Shift-B in camera view
Campbell Barton [Tue, 10 Jul 2018 08:56:37 +0000 (10:56 +0200)]
Keymap: remove Shift-B in camera view

We already have Ctrl-B for setting the border,
no need for two keys to do the same thing.

3 years agoFix T55484: Border zoom fails in Edit-Mode
Sergey Sharybin [Tue, 10 Jul 2018 08:29:24 +0000 (10:29 +0200)]
Fix T55484: Border zoom fails in Edit-Mode

3 years agoUI: add colon to prefs headings
Campbell Barton [Tue, 10 Jul 2018 07:56:57 +0000 (09:56 +0200)]
UI: add colon to prefs headings

3 years agoFix 3D cursor update
Campbell Barton [Tue, 10 Jul 2018 07:37:39 +0000 (09:37 +0200)]
Fix 3D cursor update

Changing the values for the 3D cursor wasn't updating.

3 years agoCleanup: style
Campbell Barton [Tue, 10 Jul 2018 07:29:30 +0000 (09:29 +0200)]
Cleanup: style

3 years agoFix T55879: Crash setting render presets
Campbell Barton [Tue, 10 Jul 2018 07:00:26 +0000 (09:00 +0200)]
Fix T55879: Crash setting render presets

Any RNA using 'rna_SceneCamera_update' crashed when set from Python.

3 years agoReverted T55880 fix by accident
Campbell Barton [Tue, 10 Jul 2018 06:34:19 +0000 (08:34 +0200)]
Reverted T55880 fix by accident

3 years agoFix T55877: Crash snapping non-edit-mesh to grid
Campbell Barton [Tue, 10 Jul 2018 06:24:05 +0000 (08:24 +0200)]
Fix T55877: Crash snapping non-edit-mesh to grid

3 years agoFix T55880: Crash dragging file into image editor
Campbell Barton [Tue, 10 Jul 2018 06:16:45 +0000 (08:16 +0200)]
Fix T55880: Crash dragging file into image editor

Caused by b4ccec67429b4

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 10 Jul 2018 05:42:16 +0000 (07:42 +0200)]
Merge branch 'master' into blender2.8