blender.git
18 months agoCleanup: use boolean array for mirror modifier
Campbell Barton [Tue, 20 Nov 2018 23:27:19 +0000 (10:27 +1100)]
Cleanup: use boolean array for mirror modifier

18 months agoModifier: Mirror learns to bisect on plane
Campbell Barton [Tue, 20 Nov 2018 23:01:04 +0000 (10:01 +1100)]
Modifier: Mirror learns to bisect on plane

D3966 by @kioku w/ edits.

This adds bisect and flip options to mirror modifier.

18 months agoCleanup: rename extrude gizmo
Campbell Barton [Tue, 20 Nov 2018 22:25:55 +0000 (09:25 +1100)]
Cleanup: rename extrude gizmo

18 months agoCleanup: move extrude gizmo to transform module
Campbell Barton [Tue, 20 Nov 2018 22:20:19 +0000 (09:20 +1100)]
Cleanup: move extrude gizmo to transform module

Since this is no longer mesh only, move out of mesh,
rename next.

18 months agoGizmo: initial extrude support for non mesh types
Campbell Barton [Tue, 20 Nov 2018 22:09:34 +0000 (09:09 +1100)]
Gizmo: initial extrude support for non mesh types

18 months agoFix extrude tool redo
Campbell Barton [Tue, 20 Nov 2018 21:08:53 +0000 (08:08 +1100)]
Fix extrude tool redo

Redo operator properties weren't being set.

18 months agoFix T57892: Align Objects in Blender 2.8 Alpha 2 last Builds.
Bastien Montagne [Tue, 20 Nov 2018 21:14:00 +0000 (22:14 +0100)]
Fix T57892: Align Objects in Blender 2.8 Alpha 2 last Builds.

Needed some update for API changes...

18 months agoFix T57921: Crash when loading 2.7x .blend with scene without any render layer.
Bastien Montagne [Tue, 20 Nov 2018 20:49:49 +0000 (21:49 +0100)]
Fix T57921: Crash when loading 2.7x .blend with scene without any render layer.

We need at least one view layer, always. :)

18 months agoCleanup: unused args, indentation
Campbell Barton [Tue, 20 Nov 2018 19:21:58 +0000 (06:21 +1100)]
Cleanup: unused args, indentation

18 months agoCleanup: gcc function type warning
Campbell Barton [Tue, 20 Nov 2018 18:32:23 +0000 (05:32 +1100)]
Cleanup: gcc function type warning

18 months agoGP: Refactor target weight paint
Antonioya [Tue, 20 Nov 2018 19:05:13 +0000 (20:05 +0100)]
GP: Refactor target weight paint

Now, the target weight is defined as the final maximum value with a new property and all fields have be moved to brush struct.

18 months agoGP: Refactor drawing engine to single VBO
Antonioya [Tue, 20 Nov 2018 18:26:16 +0000 (19:26 +0100)]
GP: Refactor drawing engine to single VBO

This is part of T57829.

Reduce the number of batches used to only one by shader type.  This reduces GPU overhead and increase a lot the FPS. As the number of batches is small, the time to allocate and free memory was reduced in 90% or more.

Also the code has been simplified and all batch management has been removed because this is not necessary. Now, all shading groups are created after all vertex buffer data for all strokes has been created using DRW_shgroup_call_range_add().

All batch cache data has been moved to the Object runtime struct and not as before where some parts (derived data) were saved inside GPD datablock.

For particles, now the code is faster and cleaner and gets better FPS.

Thanks to Clément Foucault for his help and advices to improve speed.

18 months agoFix T57935: Crash Alt clicking w/ poly build tool
Campbell Barton [Tue, 20 Nov 2018 18:21:18 +0000 (05:21 +1100)]
Fix T57935: Crash Alt clicking w/ poly build tool

18 months agoCleanup: style
Campbell Barton [Tue, 20 Nov 2018 18:25:42 +0000 (05:25 +1100)]
Cleanup: style

18 months agoGP: New option to paint a predefined weight
Antonioya [Tue, 20 Nov 2018 17:11:42 +0000 (18:11 +0100)]
GP: New option to paint a predefined weight

Enabling this option, the weight is set to the predefined value and not the result of the sum of the paint actions.

18 months agoUI: Color Ramp: Add menu and functions to distribute color stops
Charlie Jolly [Mon, 19 Nov 2018 16:15:05 +0000 (16:15 +0000)]
UI: Color Ramp: Add menu and functions to distribute color stops

Suggestion from Right-Click Select: https://blender.community/c/rightclickselect/Npcbbc/color-ramp-flags-auto-distribution-function

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

18 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Tue, 20 Nov 2018 17:01:13 +0000 (18:01 +0100)]
Merge branch 'master' into blender2.8

18 months agoFix T57923: Freeze in mesh vnors computation code with some degenerated geometry.
Bastien Montagne [Tue, 20 Nov 2018 16:54:48 +0000 (17:54 +0100)]
Fix T57923: Freeze in mesh vnors computation code with some degenerated geometry.

Second part of the fix: do not try at all to compute normals in degenerated
geometry. Just loss of time and potential issues later with weird
invalid computed values.

18 months agoFix T57923: Freeze in mesh vnors computation code with some degenerated geometry.
Bastien Montagne [Tue, 20 Nov 2018 16:52:21 +0000 (17:52 +0100)]
Fix T57923: Freeze in mesh vnors computation code with some degenerated geometry.

Fix first part of it, the freeze itself being caused by float NAN values
never comparing equal to anything, not even themselves.

18 months agoGP: Reorganize Reproject options
Antonioya [Tue, 20 Nov 2018 15:29:33 +0000 (16:29 +0100)]
GP: Reorganize Reproject options

The options depend of drawing mode and this was very strange. Now, the options are listed in the menu.

18 months agoGP: Set Gizmo orientation for edit mode
Antonioya [Tue, 20 Nov 2018 15:03:38 +0000 (16:03 +0100)]
GP: Set Gizmo orientation for edit mode

18 months agoSpeedup rigs with multiple objects deformed by bbones
Sergey Sharybin [Tue, 20 Nov 2018 14:42:37 +0000 (15:42 +0100)]
Speedup rigs with multiple objects deformed by bbones

Previously each of the objects which has armature modifier will
request deformation matricies from bbones. Thing is, all those
deformations are the same and do not depend on object which is
being modified. What's even worse is that this calculation is
not cheap.

This change makes it so bbones deformation is calculated once
and stored in the armature object. After this armature modifiers
simply use it.

With a rigs we've got here dependency graph evaluation time
goes down from 0.02 sec to 0.012 sec.

Possible further optimization is to make bbone deformation
calculated at the time when bone is calculated. This will avoid
an extra threaded loop over all bones.

18 months agoCleanup: Use more const qualifiers
Sergey Sharybin [Tue, 20 Nov 2018 14:07:38 +0000 (15:07 +0100)]
Cleanup: Use more const qualifiers

18 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 20 Nov 2018 14:02:13 +0000 (15:02 +0100)]
Merge branch 'master' into blender2.8

18 months agoTask scheduler: Optimize parallel loop over lists
Sergey Sharybin [Tue, 20 Nov 2018 11:17:03 +0000 (12:17 +0100)]
Task scheduler: Optimize parallel loop over lists

The goal is to address performance regression when going from
few threads to 10s of threads. On a systems with more than 32
CPU threads the benefit of threaded loop was actually harmful.

There are following tweaks now:

- The chunk size is adaptive for the number of threads, which
  minimizes scheduling overhead.

- The number of tasks is adaptive to the list size and chunk
  size.

Here comes performance comparison on the production shot:

 Number of threads        DEG time before        DEG time after
       44                     0.09                   0.02
       32                     0.055                  0.025
       16                     0.025                  0.025
       8                      0.035                  0.033

18 months agoComment out all derived mesh evaluation
Sergey Sharybin [Tue, 20 Nov 2018 11:25:16 +0000 (12:25 +0100)]
Comment out all derived mesh evaluation

Seems all the usecases of derived mesh are if-defed already,
so no need to have API for it in place, and definitely no
need to waste CPU ticks on converting evaluated mesh to
derived mesh.

18 months agoDepsgraph: Don't use derived mesh
Sergey Sharybin [Tue, 20 Nov 2018 11:23:07 +0000 (12:23 +0100)]
Depsgraph: Don't use derived mesh

Ideally would need to make check based on evaluated mesh,
but is now a good time to go away from derived mesh.

18 months agoModifier stack: Only ensure derived mesh when USE_DERIVEDMESH is defined
Sergey Sharybin [Tue, 20 Nov 2018 10:39:48 +0000 (11:39 +0100)]
Modifier stack: Only ensure derived mesh when USE_DERIVEDMESH is defined

This is more an internal transition away from derived mesh.

18 months agoModifier stack: Use evaluated mesh to check normals
Sergey Sharybin [Tue, 20 Nov 2018 10:37:51 +0000 (11:37 +0100)]
Modifier stack: Use evaluated mesh to check normals

18 months agoVertex parent: Remove CCGDM optimization
Sergey Sharybin [Tue, 20 Nov 2018 10:29:38 +0000 (11:29 +0100)]
Vertex parent: Remove CCGDM optimization

Currently we never return CCGDM from the modifier stack,
so the optimization was doing pretty much nothing.

Removing it completely for now, it needs to be re-done
with the new evaluated Mesh/Subdiv.

18 months agoUI: increase spacing at sides of headers, to avoid region split zone overlap.
Brecht Van Lommel [Tue, 20 Nov 2018 12:37:31 +0000 (13:37 +0100)]
UI: increase spacing at sides of headers, to avoid region split zone overlap.

18 months agoFis T57948: Crash in 2.8x lookdev
Clément Foucault [Tue, 20 Nov 2018 12:17:03 +0000 (13:17 +0100)]
Fis T57948: Crash in 2.8x lookdev

18 months agoFix T57891: Radius of strip hair doesn't scale with object scale
Clément Foucault [Mon, 19 Nov 2018 17:24:08 +0000 (18:24 +0100)]
Fix T57891: Radius of strip hair doesn't scale with object scale

Note that this only works fine with uniformly scaled objects.
Otherwise, the hair thickness will vary in a weird way depending on viewing
angles.

18 months agoImages: "Image" submenu in "Add" menu
Jacques Lucke [Tue, 20 Nov 2018 11:44:42 +0000 (12:44 +0100)]
Images: "Image" submenu in "Add" menu

The submenu has two entries currently: "Reference" and "Background".
Both operators produce an image empty with different settings.

18 months agoAdd option not to print debug/info in ngon_tessellate.
Bastien Montagne [Tue, 20 Nov 2018 10:37:01 +0000 (11:37 +0100)]
Add option not to print debug/info in ngon_tessellate.

That func can be called a lot, generating a lot of noise in the
console...

18 months agoGP: Fix bottom statistics
Antonioya [Tue, 20 Nov 2018 10:41:58 +0000 (11:41 +0100)]
GP: Fix bottom statistics

18 months agoTool System: define tools for lattice editmode
Campbell Barton [Tue, 20 Nov 2018 10:41:39 +0000 (21:41 +1100)]
Tool System: define tools for lattice editmode

18 months agoFix error generating toolbar tooltip
Campbell Barton [Tue, 20 Nov 2018 10:34:29 +0000 (21:34 +1100)]
Fix error generating toolbar tooltip

C code needed to be updated for module move.

18 months agoMerge branch 'master' into blender2.8
Sybren A. Stüvel [Tue, 20 Nov 2018 09:46:36 +0000 (10:46 +0100)]
Merge branch 'master' into blender2.8

18 months agoRemoved superfluous NULL check
Sybren A. Stüvel [Tue, 20 Nov 2018 09:46:17 +0000 (10:46 +0100)]
Removed superfluous NULL check

18 months agoMerge branch 'master' into blender2.8
Sybren A. Stüvel [Tue, 20 Nov 2018 09:38:55 +0000 (10:38 +0100)]
Merge branch 'master' into blender2.8

18 months agoMultires: Cleanup, remove unused function
Sergey Sharybin [Tue, 20 Nov 2018 09:34:01 +0000 (10:34 +0100)]
Multires: Cleanup, remove unused function

18 months agoAdded MovieClip.fps read-only property to RNA
Sybren A. Stüvel [Tue, 20 Nov 2018 09:32:24 +0000 (10:32 +0100)]
Added MovieClip.fps read-only property to RNA

This makes it possible for a Python script that loads a MovieClip into the
clip editor to also change the scene frame rate to match.

18 months agoFix T57938: Dynamic paint baking issues
Sergey Sharybin [Tue, 20 Nov 2018 09:22:32 +0000 (10:22 +0100)]
Fix T57938: Dynamic paint baking issues

Quite usual fix for the caching systems.

18 months agoTool System: define tools for meta-ball editmode
Campbell Barton [Tue, 20 Nov 2018 07:52:27 +0000 (18:52 +1100)]
Tool System: define tools for meta-ball editmode

18 months agoUI: unhide bones in Jump To Target instead of failing.
Alexander Gavrilov [Tue, 20 Nov 2018 07:24:18 +0000 (10:24 +0300)]
UI: unhide bones in Jump To Target instead of failing.

The whole point is to avoid the need to manually hunt for the
bone, so it makes more sense to unhide it automatically.

If the bone is on multiple layers, just the first one is enabled.

Also, ED_pose_bone_select already checks PBONE_SELECTABLE.

18 months agoCleanup: make object deselect match other ED_ APIs
Campbell Barton [Tue, 20 Nov 2018 07:08:24 +0000 (18:08 +1100)]
Cleanup: make object deselect match other ED_ APIs

Use SEL_* argument, matching ED_pose_deselect_all.

18 months agoUI: support jumping to target object/bone
Alexander Gavrilov [Tue, 20 Nov 2018 06:34:56 +0000 (17:34 +1100)]
UI: support jumping to target object/bone

Complex rigs are built from many bones (often overlapping)
connected by constraints.

When investigating or debugging such rigs one often wants to switch to
the target of a constraint, or a parent bone, but it is difficult to do
manually due to overlap confusion.

This adds a right click menu option that automatically selects
and makes the target object or bone active for UI fields where a
suitable reference is readily available.

18 months agoObject: utility (de)select all functions
Campbell Barton [Tue, 20 Nov 2018 06:00:55 +0000 (17:00 +1100)]
Object: utility (de)select all functions

part of D3955 by @angavrilov

18 months agoMulti-Objects: Calc origin w/ all edit-objects
Campbell Barton [Tue, 20 Nov 2018 04:29:08 +0000 (15:29 +1100)]
Multi-Objects: Calc origin w/ all edit-objects

D3924 by @Leon95 w/ code de-duplication.

18 months agoFix T57722: Clipped LookDev preview spheres
Campbell Barton [Tue, 20 Nov 2018 04:08:56 +0000 (15:08 +1100)]
Fix T57722: Clipped LookDev preview spheres

D3948 by @pablodp606

18 months agoCleanup: use const mesh arg to BM_mesh_bm_from_me
Campbell Barton [Tue, 20 Nov 2018 02:28:25 +0000 (13:28 +1100)]
Cleanup: use const mesh arg to BM_mesh_bm_from_me

Needed for D3966

18 months agoTheme: avoid right-shift in XML files
Campbell Barton [Tue, 20 Nov 2018 02:12:10 +0000 (13:12 +1100)]
Theme: avoid right-shift in XML files

Use 2 space indent for attributes, ~20% smaller files.

18 months agoKeymap: update addon register/unregister utilities
Campbell Barton [Tue, 20 Nov 2018 01:33:47 +0000 (12:33 +1100)]
Keymap: update addon register/unregister utilities

Use the same data format and loader that the default key-maps use.

This supports nested properties (needed for macros)
and fixes modal key-maps which weren't supported.

This format still needs to be documented.

18 months agoCleanup: move keymap hierarchy into own file
Campbell Barton [Tue, 20 Nov 2018 00:36:44 +0000 (11:36 +1100)]
Cleanup: move keymap hierarchy into own file

18 months agoCleanup: move toolbar keymap generation to bl_keymap_utils
Campbell Barton [Tue, 20 Nov 2018 00:15:37 +0000 (11:15 +1100)]
Cleanup: move toolbar keymap generation to bl_keymap_utils

The function is getting complicated, any refactoring
would be best done outside of 'space_toolsystem_common'.

18 months agoCleanup: move bpy_extras.keyconfig_utils to own module
Campbell Barton [Mon, 19 Nov 2018 23:56:50 +0000 (10:56 +1100)]
Cleanup: move bpy_extras.keyconfig_utils to own module

bpy_extras were meant to be useful high-level helper functions for
script authors to perform common operations,
to avoid writing to verbose API's.

bpy_extras.keymap_utils contains some specialized API calls
mainly intended for Blender's own internal use.

Move keymap import export to internal API.

18 months agoKeymap: skip save prompt for default keymap
Campbell Barton [Mon, 19 Nov 2018 23:15:33 +0000 (10:15 +1100)]
Keymap: skip save prompt for default keymap

See T57880

18 months agoKeymap: only use delete confirmation for X-key
Campbell Barton [Mon, 19 Nov 2018 23:06:02 +0000 (10:06 +1100)]
Keymap: only use delete confirmation for X-key

Only use confirmation w/ X-key since this is more likely to be pressed
by accident. Delete-key delete doesn't confirm.

Part of D3953 by @Zachman w/ edits

18 months agoObject: report number of deleted objects
Campbell Barton [Mon, 19 Nov 2018 22:49:52 +0000 (09:49 +1100)]
Object: report number of deleted objects

Part of D3953 by @Zachman w/ edits

18 months agoUI: show keyconfig prefs directly under preset
Campbell Barton [Mon, 19 Nov 2018 22:15:53 +0000 (09:15 +1100)]
UI: show keyconfig prefs directly under preset

The keyconfig preset and it's preferences were too far apart,
show the preferences under the preset in a collapsible box.

18 months agoCleanup: style, unused
Campbell Barton [Mon, 19 Nov 2018 21:53:00 +0000 (08:53 +1100)]
Cleanup: style, unused

18 months agoKeymap: remove 3ds and maya keymaps
Campbell Barton [Mon, 19 Nov 2018 21:14:33 +0000 (08:14 +1100)]
Keymap: remove 3ds and maya keymaps

These aren't well maintained and as far as we know
never gained wide adoption.

Remove, we can focus efforts on other key-maps, see: T54963.

18 months agoWM: remove interaction presets
Campbell Barton [Mon, 19 Nov 2018 21:08:46 +0000 (08:08 +1100)]
WM: remove interaction presets

These only exposed a few options, which didn't end up helping
much to make Blender's key-map fit the behavior of other applications.

18 months agoCleanup: gpu docs
Campbell Barton [Mon, 19 Nov 2018 20:32:49 +0000 (07:32 +1100)]
Cleanup: gpu docs

18 months agoImage Empties: Option to not display the backside of image empties
Jacques Lucke [Mon, 19 Nov 2018 18:33:09 +0000 (19:33 +0100)]
Image Empties: Option to not display the backside of image empties

Reviewers: brecht

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

18 months agoFix T57554: texture bake object to active error after recent changes.
Brecht Van Lommel [Mon, 19 Nov 2018 18:18:26 +0000 (19:18 +0100)]
Fix T57554: texture bake object to active error after recent changes.

18 months agoUI: hide scene / layer in properties context in some cases, for compactness.
Brecht Van Lommel [Mon, 19 Nov 2018 15:21:16 +0000 (16:21 +0100)]
UI: hide scene / layer in properties context in some cases, for compactness.

18 months agoFix handling of B-Bone custom handle references in Edit mode undo.
Alexander Gavrilov [Mon, 19 Nov 2018 17:34:25 +0000 (20:34 +0300)]
Fix handling of B-Bone custom handle references in Edit mode undo.

Correct a couple of places that should process the handle pointers.

18 months agoWorkbench: Use non-negative lighting evaluation
Clément Foucault [Mon, 19 Nov 2018 17:03:06 +0000 (18:03 +0100)]
Workbench: Use non-negative lighting evaluation

This makes the lighting a bit more diffuse but don't produce negative
values.

Add a bias of 1.5f to make the lighting a bit more directionnal.

The implementation is based on:
https://github.com/kayru/Probulator/blob/master/Source/Probulator/SphericalHarmonics.h#L136
which is derived from:
http://www.geomerics.com/wp-content/uploads/2015/08/CEDEC_Geomerics_ReconstructingDiffuseLighting1.pdf

The shader implementation is optimized and has the same runtime cost
as previous method:
* no sh eval : 0.13ms
* prev sh eval : 0.14ms
* new sh eval : 0.22ms
* new sh eval opti : 0.14ms

18 months agoWorkbench: Performance: Fix performance drop caused by specular lighting
Clément Foucault [Mon, 19 Nov 2018 15:23:37 +0000 (16:23 +0100)]
Workbench: Performance: Fix performance drop caused by specular lighting

In my test, the composite pass went from 1.52ms to 0.24ms when specular
lighting is enabled.

18 months agoRemove note about Blender Internal
Sergey Sharybin [Mon, 19 Nov 2018 15:28:12 +0000 (16:28 +0100)]
Remove note about Blender Internal

18 months agoDRW: Make profiling more precise on certain drivers.
Clément Foucault [Mon, 19 Nov 2018 14:46:13 +0000 (15:46 +0100)]
DRW: Make profiling more precise on certain drivers.

This makes the whole rendering slower (because of sync point) but the
numbers displayed by the draw manager profiler is more precise on some
buggy drivers. They seems to issue the query before the last one ends.

18 months agoStudio Lights: Big Cleanups
Clément Foucault [Mon, 19 Nov 2018 00:01:43 +0000 (01:01 +0100)]
Studio Lights: Big Cleanups

* Less Lengthy enum/macro names.
* Optimize computation of Spherical Harmonics.
* Reduce radiance cubemap size a bit. Higher resolution is not necessary.
* Remove STUDIOLIGHT_LIGHT_DIRECTION_CALCULATED (was not used).
* Do windowing on each component separately instead of using luminance.
* Use ITER_PIXELS to iterate on each pixels, using pixel center coords.
* Remove gpu_matcap_3components as it is only needed when creating the gputex.
* Fix a lot of confusion in axis denomination/swizzle.

These changes should not affect functionallity.

18 months agoSTUDIOLIGHT: leave a comment of why `STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING` was...
mano-wii [Mon, 19 Nov 2018 12:39:02 +0000 (10:39 -0200)]
STUDIOLIGHT: leave a comment of why `STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING` was commented.

18 months agoPy API Docs: use new bind context manager in gpu examples
Jacques Lucke [Mon, 19 Nov 2018 13:32:30 +0000 (14:32 +0100)]
Py API Docs: use new bind context manager in gpu examples

18 months agoRevert "BKE object: Correct bound box of bezier curve objects not matching the object...
mano-wii [Mon, 19 Nov 2018 12:28:31 +0000 (10:28 -0200)]
Revert "BKE object: Correct bound box of bezier curve objects not matching the object viewed."

This reverts commit 24677cf77bbd97827bb5789bc1e4d883732a59da.

18 months agoPyAPI: GPUOffscreen: Add context manager for the `bind` method to work with the ...
mano-wii [Mon, 19 Nov 2018 12:16:27 +0000 (10:16 -0200)]
PyAPI: GPUOffscreen: Add context manager for the `bind` method to work with the `with` statement.

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

18 months agoLOOKDEV: disable STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING
mano-wii [Mon, 19 Nov 2018 11:03:06 +0000 (09:03 -0200)]
LOOKDEV: disable STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING

This option is causing the texture to become full of nan(ind)s.
I don't know how it worked before.

Until this is resolved, this feature (which improves the quality of LOOKDEV's irradiance texture) will be disabled.

18 months agoEEVEE: Cleanup: default_world_frag.glsl
mano-wii [Mon, 19 Nov 2018 10:58:29 +0000 (08:58 -0200)]
EEVEE: Cleanup: default_world_frag.glsl

18 months agoEEVEE: Cleanup remove unused shader.
mano-wii [Mon, 19 Nov 2018 10:55:59 +0000 (08:55 -0200)]
EEVEE: Cleanup remove unused shader.

18 months agoBKE object: Correct bound box of bezier curve objects not matching the object viewed.
mano-wii [Mon, 19 Nov 2018 10:54:49 +0000 (08:54 -0200)]
BKE object: Correct bound box of bezier curve objects not matching the object viewed.

18 months agoThemes: Remove deprecated themes.
Pablo Vazquez [Mon, 19 Nov 2018 11:31:00 +0000 (12:31 +0100)]
Themes: Remove deprecated themes.

Most themes have missing/wrong settings due to the new editors in 2.8

A Call-for-content has been made at devtalk.blender.org for the community to contribute new ones.

18 months agoFix T57889: Crashes on undo and redo while working with image or image empty
Sergey Sharybin [Mon, 19 Nov 2018 11:04:02 +0000 (12:04 +0100)]
Fix T57889: Crashes on undo and redo while working with image or image empty

18 months agoRNA: re-enable update notifier flags
Campbell Barton [Mon, 19 Nov 2018 10:00:14 +0000 (21:00 +1100)]
RNA: re-enable update notifier flags

This was causing too many missing updates and each need investigation
which won't happen before beta.

18 months agoPy API Docs: Fix wrong type
Jacques Lucke [Thu, 15 Nov 2018 16:21:04 +0000 (17:21 +0100)]
Py API Docs: Fix wrong type

18 months agoTool System: improve popup w/ modifier keys
Campbell Barton [Mon, 19 Nov 2018 03:39:25 +0000 (14:39 +1100)]
Tool System: improve popup w/ modifier keys

When the toolbar is accessed with modifiers (eg shift-space):

- Check if we can use the key without any modifiers to set the cursor.
- Pie-menu stile release event no longer checks for modifiers.

18 months agoCleanup: style
Campbell Barton [Mon, 19 Nov 2018 02:37:18 +0000 (13:37 +1100)]
Cleanup: style

18 months agoCleanup: use define for key-config string
Campbell Barton [Mon, 19 Nov 2018 02:16:18 +0000 (13:16 +1100)]
Cleanup: use define for key-config string

18 months agoFix keymap loading multiple times
Campbell Barton [Mon, 19 Nov 2018 02:07:57 +0000 (13:07 +1100)]
Fix keymap loading multiple times

Blender defaults data-file was loading it's own key-map
with a capital 'B', the preset would load it again w/ a lowercase name.

Use lowercase key-map names.

18 months agoFix tool-system popup and tips w/ empty keymap
Campbell Barton [Mon, 19 Nov 2018 00:56:22 +0000 (11:56 +1100)]
Fix tool-system popup and tips w/ empty keymap

That this looks like an issue loading keymaps correctly,
needs to be investigated.

18 months agoGizmo: tweak navigation highlight display
Campbell Barton [Mon, 19 Nov 2018 00:38:48 +0000 (11:38 +1100)]
Gizmo: tweak navigation highlight display

Show occluded axis highlight on top when pointing away.

18 months agoMerge branch 'master' into blender2.8
Campbell Barton [Sun, 18 Nov 2018 21:54:07 +0000 (08:54 +1100)]
Merge branch 'master' into blender2.8

18 months agoLinux: list GVFS mount points
Roel Koster [Sun, 18 Nov 2018 21:34:04 +0000 (08:34 +1100)]
Linux: list GVFS mount points

18 months agoFix object box select new w/o any objects
Campbell Barton [Sun, 18 Nov 2018 20:21:14 +0000 (07:21 +1100)]
Fix object box select new w/o any objects

A new selection with no objects found needed to de-select all.

18 months agoCleanup: naming
Campbell Barton [Sun, 18 Nov 2018 20:06:38 +0000 (07:06 +1100)]
Cleanup: naming

18 months agoCleanup: naming
Campbell Barton [Sun, 18 Nov 2018 20:04:24 +0000 (07:04 +1100)]
Cleanup: naming

18 months agoKeymap: move left click select to a preference
Campbell Barton [Sun, 18 Nov 2018 19:14:20 +0000 (06:14 +1100)]
Keymap: move left click select to a preference

18 months agoGP: Harmonize Sculpt Struct and field names
Antonioya [Sun, 18 Nov 2018 18:28:54 +0000 (19:28 +0100)]
GP: Harmonize Sculpt Struct and field names

Changed the following names:

- GP_EditBrush_Data->GP_Sculpt_Data
- eGP_EditBrush_Types->eGP_Sculpt_Types
- eGP_EditBrush_Flag->eGP_Sculpt_Flag
- eGP_BrushEdit_SettingsFlag->eGP_Sculpt_SettingsFlag
- GP_BrushEdit_Settings->GP_Sculpt_Settings
- GP_EDITBRUSH_FLAG*->GP_SCULPT_FLAG*
- GP_EDITBRUSH_TYPE*->GP_SCULPT_TYPE*
- GP_BRUSHEDIT_FLAG_*->GP_SCULPT_SETT_FLAG_*

18 months agoGP: Rename GPENCIL_OT_brush_paint to GPENCIL_OT_sculpt_paint
Antonioya [Sun, 18 Nov 2018 17:07:16 +0000 (18:07 +0100)]
GP: Rename GPENCIL_OT_brush_paint to GPENCIL_OT_sculpt_paint

This makes the operator name more consistent. Part of T57818