blender.git
2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 15 Nov 2018 16:17:37 +0000 (17:17 +0100)]
Merge branch 'master' into blender2.8

2 years agoCycles: Cleanup, code style
Sergey Sharybin [Thu, 15 Nov 2018 16:16:40 +0000 (17:16 +0100)]
Cycles: Cleanup, code style

2 years agoPy API: Fix documentation/actual behavior missmatch in gpu.matrix
Jacques Lucke [Thu, 15 Nov 2018 16:10:32 +0000 (17:10 +0100)]
Py API: Fix documentation/actual behavior missmatch in gpu.matrix

2 years agoPy API Docs: Fix formatting
Jacques Lucke [Thu, 15 Nov 2018 15:54:17 +0000 (16:54 +0100)]
Py API Docs: Fix formatting

2 years agoFix T57825: Crash when assign material
Sergey Sharybin [Thu, 15 Nov 2018 15:50:30 +0000 (16:50 +0100)]
Fix T57825: Crash when assign material

We need to make sure that all the nested node trees are localized.

Because of this reason, we need to roll back to a bit older way
of dealing with materials.

Should be all safe now with the fixes from few moments ago.

2 years agoDepsgraph: Clear localization tag for CoW IDs
Sergey Sharybin [Thu, 15 Nov 2018 15:38:20 +0000 (16:38 +0100)]
Depsgraph: Clear localization tag for CoW IDs

They are self-contained now, and should not cause any sync or
free happening when freeing them.

2 years agoTag all localized ID types as such
Sergey Sharybin [Thu, 15 Nov 2018 15:36:35 +0000 (16:36 +0100)]
Tag all localized ID types as such

2 years agoRemove legacy node tree localization tag
Sergey Sharybin [Thu, 15 Nov 2018 15:35:28 +0000 (16:35 +0100)]
Remove legacy node tree localization tag

Is stored on ID level now.

2 years agoFollowup to the previous commit
Sergey Sharybin [Thu, 15 Nov 2018 15:33:00 +0000 (16:33 +0100)]
Followup to the previous commit

Thought this is to be fixed in master first. Turns out, nope :)

2 years agoCleanup: Double semicolon at the end of line
Sergey Sharybin [Thu, 15 Nov 2018 15:32:18 +0000 (16:32 +0100)]
Cleanup: Double semicolon at the end of line

2 years agoFix strict compiler warnings/errors
Sergey Sharybin [Thu, 15 Nov 2018 15:31:26 +0000 (16:31 +0100)]
Fix strict compiler warnings/errors

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 15 Nov 2018 15:28:37 +0000 (16:28 +0100)]
Merge branch 'master' into blender2.8

2 years agoCleanup: Comments
Sergey Sharybin [Thu, 15 Nov 2018 15:28:07 +0000 (16:28 +0100)]
Cleanup: Comments

2 years agoSplash: tweak quick setup to use single column style layout.
Brecht Van Lommel [Thu, 15 Nov 2018 14:04:23 +0000 (15:04 +0100)]
Splash: tweak quick setup to use single column style layout.

2 years agoKeymaps: add select with left / right option to quick setup splash screen.
Brecht Van Lommel [Thu, 15 Nov 2018 14:04:23 +0000 (15:04 +0100)]
Keymaps: add select with left / right option to quick setup splash screen.

2 years agoViewport collections visibility popover
Dalai Felinto [Thu, 15 Nov 2018 13:35:14 +0000 (11:35 -0200)]
Viewport collections visibility popover

This brings the functionality currently in the H shortcut, to hide/show
individual collections.

In order to convey hierarchy, and to make justice to the originally
intended 1-10 shortcuts, we group the collections per siblings.

2 years agoLayerCollection RNA API util functions
Dalai Felinto [Thu, 15 Nov 2018 13:13:26 +0000 (11:13 -0200)]
LayerCollection RNA API util functions

* has_objects()
* has_visible_objects(view_layer)
* has_selected_objects(view_layer)

2 years agoHide collections menu: ignore excluded collections
Dalai Felinto [Thu, 15 Nov 2018 12:00:21 +0000 (10:00 -0200)]
Hide collections menu: ignore excluded collections

Note: I didn't change the shortcuts, I think this is a separate decision
to be made. I just want at the moment to have the H operator to mimic
the upcoming popover.

Personally if we are to keep the 1-10 shortcuts (and they do work) I
think we should skip the excluded collections altogether.

In fact we could have an option to hide them from the outliner too.

2 years agoUnits: Identifiers in Python
Jacques Lucke [Thu, 15 Nov 2018 13:39:52 +0000 (14:39 +0100)]
Units: Identifiers in Python

I only specified the identifiers for the units that are actually accessible for now.
This way we can postpone some decisions for now. E.g. if it should be `METER_SQUARE`, `SQUARE_METER`, `METER_SQ`, ...

Reviewers: brecht

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

2 years agoFix T57848: Transforming large linked instances freezes Blender
Sergey Sharybin [Thu, 15 Nov 2018 12:55:15 +0000 (13:55 +0100)]
Fix T57848: Transforming large linked instances freezes Blender

2 years agoKeymaps: minor code refactor after adding tools to default preset.
Brecht Van Lommel [Thu, 15 Nov 2018 10:45:25 +0000 (11:45 +0100)]
Keymaps: minor code refactor after adding tools to default preset.

2 years agoDepsgraph: Build all type of IDs for modifiers and constraints
Sergey Sharybin [Thu, 15 Nov 2018 11:47:58 +0000 (12:47 +0100)]
Depsgraph: Build all type of IDs for modifiers and constraints

It was missing handling of collections there, which caused collection
used for smoke colliders to not be in the dependency graph.

2 years agoIcons: sculpt tool updates r62157
William Reynish [Thu, 15 Nov 2018 11:32:38 +0000 (22:32 +1100)]
Icons: sculpt tool updates r62157

- Blue = Add/Subtract
- Yellow = Flatten/Contrast
- Red = Grab
- Grey = General/Other

2 years agoTool System: add curve tilt tool
William Reynish [Thu, 15 Nov 2018 11:27:02 +0000 (22:27 +1100)]
Tool System: add curve tilt tool

2 years agoIcons: add tilt tool
William Reynish [Thu, 15 Nov 2018 11:28:55 +0000 (22:28 +1100)]
Icons: add tilt tool

2 years agoFix T57831: Crash with multi-select / delete of the same object in Collection outliner.
Bastien Montagne [Thu, 15 Nov 2018 11:24:51 +0000 (12:24 +0100)]
Fix T57831: Crash with multi-select / delete of the same object in Collection outliner.

Tssst… that piece of code should have been removed when we got rid of
bases here, kind of obvious it would break if object pointer itself is
NULL! And since deleting an object clears its ID pointers in outliner
tree, this fixes for free the issue of deleting several time the same
object (being selected in several collections at once).

2 years agoRemove unused parameter.
Alexander Gavrilov [Thu, 15 Nov 2018 11:19:26 +0000 (14:19 +0300)]
Remove unused parameter.

2 years agoDepsgraph: Make drivers builder less noisy
Sergey Sharybin [Thu, 15 Nov 2018 11:12:08 +0000 (12:12 +0100)]
Depsgraph: Make drivers builder less noisy

Do early output when trying to add target relation with wrong rna_path.

We can't do anything reliably in that case anyway, so hopefully it is
a no-functional-change for artists, just avoids noisy error prints in
the terminal.

2 years agoStretch To: fix initialization of the constraint with copy-on-write.
Alexander Gavrilov [Thu, 15 Nov 2018 11:09:13 +0000 (14:09 +0300)]
Stretch To: fix initialization of the constraint with copy-on-write.

The constraint is supposed to automatically initialize the rest
length when it is first evaluated, so now that evaluation is done
on a separate copy it also has to copy the value to the master
instance - or newly created constraints will be broken.

Since this is supposed to happen once at constraint creation,
implementing as a search for now instead of adding new fields.

2 years agoDepsgraph: Save memory by ignoring invisible objects
Sergey Sharybin [Wed, 14 Nov 2018 15:50:59 +0000 (16:50 +0100)]
Depsgraph: Save memory by ignoring invisible objects

This finished old standing TODO which was attempting to
ignore objects of all invisible collections.

The difference here is that we remove invisible bases from
view layers. This guarantees that the evaluated state is
consistent and does not reference original objects.

2 years agoDepsgraph: Fix/workaround crash after recent point cache changes
Sergey Sharybin [Thu, 15 Nov 2018 10:23:59 +0000 (11:23 +0100)]
Depsgraph: Fix/workaround crash after recent point cache changes

For some reason relations can not always be found. This is to be
investigated, but doesn't hurt to be safe here. Also allows to
unlock production.

2 years agoDepsgraph: Use more human readable relation keys identifier
Sergey Sharybin [Thu, 15 Nov 2018 10:32:45 +0000 (11:32 +0100)]
Depsgraph: Use more human readable relation keys identifier

2 years agoUI: remove node tree panels
Campbell Barton [Thu, 15 Nov 2018 08:34:48 +0000 (19:34 +1100)]
UI: remove node tree panels

This duplicates items in the add menu and uses a lot of vertical space.

This should be used for tools or disabled.

2 years agoCleanup: typo, whitespace
Campbell Barton [Thu, 15 Nov 2018 07:50:18 +0000 (18:50 +1100)]
Cleanup: typo, whitespace

2 years agoWM: use Python bytecode cache to run presets
Campbell Barton [Thu, 15 Nov 2018 07:42:23 +0000 (18:42 +1100)]
WM: use Python bytecode cache to run presets

Key-maps can be very large, avoid parsing on every startup.

2 years agoUI: 'Add Object' rename dimensions
Campbell Barton [Thu, 15 Nov 2018 06:44:50 +0000 (17:44 +1100)]
UI: 'Add Object' rename dimensions

D3943 by @Zachman w/ edits

2 years agoWM: use spacebar press event (not double click)
Campbell Barton [Thu, 15 Nov 2018 06:12:33 +0000 (17:12 +1100)]
WM: use spacebar press event (not double click)

Functionality) is nicer but this uses a hack to make it work,
keep the code under a variable in case we want to remove.

2 years agoFix gizmos in the node editor
Campbell Barton [Thu, 15 Nov 2018 04:43:50 +0000 (15:43 +1100)]
Fix gizmos in the node editor

2 years agoGizmo: tweak navigation drawing for axis views
Campbell Barton [Thu, 15 Nov 2018 03:11:08 +0000 (14:11 +1100)]
Gizmo: tweak navigation drawing for axis views

Axis aligned views now show both small/large handles,
this makes it possible to well if the view is in front or behind.

2 years agoKeymap: remove keymap export that wrote API calls
Campbell Barton [Thu, 15 Nov 2018 02:51:55 +0000 (13:51 +1100)]
Keymap: remove keymap export that wrote API calls

Use new keymap format which defines data to be loaded.

2 years agoTool System: use preset keymap loading logic
Campbell Barton [Thu, 15 Nov 2018 02:36:23 +0000 (13:36 +1100)]
Tool System: use preset keymap loading logic

The data structures for tool keymaps and presets were different,
use the same structure and expose function publicly.

2 years agoMissed when moving tool keymaps
Campbell Barton [Thu, 15 Nov 2018 02:34:47 +0000 (13:34 +1100)]
Missed when moving tool keymaps

2 years agoKeymap: use parameters for tool keymap
Campbell Barton [Thu, 15 Nov 2018 01:54:44 +0000 (12:54 +1100)]
Keymap: use parameters for tool keymap

2 years agoKeymap: move tool system keymaps into the default keymap
Campbell Barton [Thu, 15 Nov 2018 01:22:36 +0000 (12:22 +1100)]
Keymap: move tool system keymaps into the default keymap

Note that tools can still define their keymaps,
since it's useful for add-ons.

2 years agoWM: remove warning when toolbar not found
Campbell Barton [Wed, 14 Nov 2018 22:50:13 +0000 (09:50 +1100)]
WM: remove warning when toolbar not found

Not useful for general usage, so removing.

2 years agoGizmo: use color fading to show depth for navigate
Campbell Barton [Wed, 14 Nov 2018 22:44:03 +0000 (09:44 +1100)]
Gizmo: use color fading to show depth for navigate

Previously the positive axis was always brighter,
now use bright colors which face towards the view.

2 years agoGizmo: minor fix for navigation axis color
Campbell Barton [Wed, 14 Nov 2018 21:17:16 +0000 (08:17 +1100)]
Gizmo: minor fix for navigation axis color

When view aligned, the near axis was hidden,
making it seem as if the opposite axis was at the front.

2 years agoGizmo: skip text drawing w/ select for navigate
Campbell Barton [Wed, 14 Nov 2018 20:58:03 +0000 (07:58 +1100)]
Gizmo: skip text drawing w/ select for navigate

Also use struct for storing extra args.

2 years agoPy API Docs: New custom shader example
Jacques Lucke [Wed, 14 Nov 2018 17:41:28 +0000 (18:41 +0100)]
Py API Docs: New custom shader example

2 years agoFix assert in bevel modifier with certain geometry.
Brecht Van Lommel [Wed, 14 Nov 2018 17:15:48 +0000 (18:15 +0100)]
Fix assert in bevel modifier with certain geometry.

This happened in in the barbershop_interior.blend benchmark file, seems
duplicate hash entries are ok for this algorithm.

2 years agoFix some templates for 2.8.
Bastien Montagne [Wed, 14 Nov 2018 17:19:41 +0000 (18:19 +0100)]
Fix some templates for 2.8.

2 years agoFix (unreported) `bpy.ops.wm.read_factory_settings(use_empty=True)` crash.
Bastien Montagne [Wed, 14 Nov 2018 17:04:01 +0000 (18:04 +0100)]
Fix (unreported) `bpy.ops.wm.read_factory_settings(use_empty=True)` crash.

`BKE_blendfile_read_make_empty()` was not preserving workspaces...

2 years agoDepsgraph: suppress logs from add_relation on invalid driver variables.
Alexander Gavrilov [Wed, 14 Nov 2018 17:16:55 +0000 (20:16 +0300)]
Depsgraph: suppress logs from add_relation on invalid driver variables.

Rig generators (e.g. rigify) use dummy drivers to attach extra
ID references to rigs for Append/Link. These references use
Single Property variables with empty path, which is intentionally
invalid and shouldn't produce low-level error logs from depsgraph.

The removed code would always print an error because RNAPathKey
requires a valid path to produce a non-NULL reference.

2 years agoFix assertion failure evaluating depsgraph on an empty armature.
Alexander Gavrilov [Wed, 14 Nov 2018 15:54:56 +0000 (18:54 +0300)]
Fix assertion failure evaluating depsgraph on an empty armature.

If there are no bones, chan_array may not be allocated.

2 years agoFix T57760: Depsgraph 'object_instances' showing incorrect list of objects.
Bastien Montagne [Wed, 14 Nov 2018 16:04:10 +0000 (17:04 +0100)]
Fix T57760: Depsgraph 'object_instances' showing incorrect list of objects.

It appears that Python gets next item before using current one, which
would break our Depsgraph instance iterator (since only current item is
valid there, we use the same memory at each iteration).

Working around that with an ugly ping-pong game between two sets of
iterator data, so that previous one (C RNA-iterator-wise) remains valid
memory for Python to access to.

2 years agoFix typo in comment.
Bastien Montagne [Wed, 14 Nov 2018 15:46:33 +0000 (16:46 +0100)]
Fix typo in comment.

2 years agoFix T57558: Outliner displaying same object twice in some cases.
Bastien Montagne [Wed, 14 Nov 2018 15:40:37 +0000 (16:40 +0100)]
Fix T57558: Outliner displaying same object twice in some cases.

Logical flaw in `BKE_scene_objects_iterator_begin()` code (two errors
actually, wrong handling of first object of Master collection, and
missing call to `object_base_unique()` to 'register' that first object
and avoid getting it returned a second time).

Simply fixed by always calling `BKE_scene_objects_iterator_next()`
after minimal proper init, that one knows how to do the things. ;)

2 years agoPy API Docs: documentation for gpu_extras.presets
Jacques Lucke [Wed, 14 Nov 2018 15:43:09 +0000 (16:43 +0100)]
Py API Docs: documentation for gpu_extras.presets

2 years agoDepsgraph: Remove meaningless evaluation mode
Sergey Sharybin [Wed, 14 Nov 2018 10:43:25 +0000 (11:43 +0100)]
Depsgraph: Remove meaningless evaluation mode

With the current implementation it only confuses logic around
checks like vewport/render subdivision levels.

If this mode is really needed for any decision making, implement
this properly.

2 years agoDepsgraph: Fix missing point cache reset when physics changes
Sergey Sharybin [Wed, 14 Nov 2018 10:24:54 +0000 (11:24 +0100)]
Depsgraph: Fix missing point cache reset when physics changes

Among all the lines moved around, the general idea is quite simple.
Actually, there are two ideas implemented there.

First one, is when object itself is tagged for update, we tag its
point cache component for evaluation, which makes it so point cache
is properly reset. We do it implicitly because otherwise we'll need
to go everywhere and add explicit tag in almost all the properties.

Second thing is, we link all collider and force fields to a point
cache component using special type of link. This type of link only
allows flush if change is caused by a user update. This way reset
does not happen when change is caused due to animation, but will
properly happen when user causes indirect change to the objects
which are part of physics simulation.

2 years agoDepsgraph: Remove unused operation code
Sergey Sharybin [Tue, 13 Nov 2018 18:31:44 +0000 (19:31 +0100)]
Depsgraph: Remove unused operation code

2 years agoAdd function to query whether object has any point cache
Sergey Sharybin [Tue, 13 Nov 2018 16:51:58 +0000 (17:51 +0100)]
Add function to query whether object has any point cache

2 years agoMake object point cache iteration more generic
Sergey Sharybin [Tue, 13 Nov 2018 16:48:00 +0000 (17:48 +0100)]
Make object point cache iteration more generic

Currently should be no functional changes, but this will
simplify implementing some incoming logic.

2 years agoDepsgraph: Cleanup, code style
Sergey Sharybin [Tue, 13 Nov 2018 16:21:41 +0000 (17:21 +0100)]
Depsgraph: Cleanup, code style

Should be no functional changes.

2 years agoGizmo: get background color based on view option
Campbell Barton [Wed, 14 Nov 2018 13:05:54 +0000 (00:05 +1100)]
Gizmo: get background color based on view option

2 years agoCleanup: correct flag comparisons
Campbell Barton [Wed, 14 Nov 2018 12:30:20 +0000 (23:30 +1100)]
Cleanup: correct flag comparisons

Also use smaller types for shading data.

2 years agominor cleanup
Jacques Lucke [Wed, 14 Nov 2018 12:05:45 +0000 (13:05 +0100)]
minor cleanup

2 years agominor cleanup
Jacques Lucke [Wed, 14 Nov 2018 12:04:12 +0000 (13:04 +0100)]
minor cleanup

2 years agoFix icon in Clip Editor header (Graph view type with enabled Filters)
Philipp Oeser [Wed, 14 Nov 2018 11:39:17 +0000 (12:39 +0100)]
Fix icon in Clip Editor header (Graph view type with enabled Filters)

fix provided by sebastian_k over IRC, thx!

2 years agoFix copy tracking settings operators
Philipp Oeser [Wed, 14 Nov 2018 11:32:49 +0000 (12:32 +0100)]
Fix copy tracking settings operators

use keyword arguments

2 years agominor api docs fix
Jacques Lucke [Wed, 14 Nov 2018 11:33:10 +0000 (12:33 +0100)]
minor api docs fix

2 years agoPy API: Remove GPUShader.transform_feedback_enable/disable
Jacques Lucke [Wed, 14 Nov 2018 11:26:34 +0000 (12:26 +0100)]
Py API: Remove GPUShader.transform_feedback_enable/disable

It couldn't really be used in the current implementation, so it is better to remove it instead of confusing everyone.

2 years agoDepsgraph: fix relations for drivers on bone weight in Armature constraint.
Alexander Gavrilov [Wed, 14 Nov 2018 11:01:28 +0000 (14:01 +0300)]
Depsgraph: fix relations for drivers on bone weight in Armature constraint.

2 years agoUI: Comment out "Clip border" operator
Clément Foucault [Wed, 14 Nov 2018 10:45:29 +0000 (11:45 +0100)]
UI: Comment out "Clip border" operator

Also Remove it from the UI as it has not been ported to 2.8 and it is a
delicate thing to do.

2 years agoLamps: Remove HEMI light type
Clément Foucault [Wed, 14 Nov 2018 10:44:05 +0000 (11:44 +0100)]
Lamps: Remove HEMI light type

This type is not supported by either Eevee or Cycles. If other types of
lamps are needed by external engines, we should support adding custom types.

2 years agoKeymap: assigning keys for tools now checks mode
Campbell Barton [Wed, 14 Nov 2018 09:26:00 +0000 (20:26 +1100)]
Keymap: assigning keys for tools now checks mode

Adding shortcuts to tools was always adding to the top-level window map.

2 years agoTool System: remove duplicate gpencil draw UI
Campbell Barton [Wed, 14 Nov 2018 08:19:04 +0000 (19:19 +1100)]
Tool System: remove duplicate gpencil draw UI

Tool properties showed options twice.

2 years agoGizmo: draw navigation negative axes over positive
Campbell Barton [Wed, 14 Nov 2018 07:00:20 +0000 (18:00 +1100)]
Gizmo: draw navigation negative axes over positive

Using low alpha meant it wasn't possible to see which was in-front.

2 years agoCorrect assert generating tool tip/keymap
Campbell Barton [Wed, 14 Nov 2018 06:40:12 +0000 (17:40 +1100)]
Correct assert generating tool tip/keymap

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 14 Nov 2018 06:12:52 +0000 (17:12 +1100)]
Merge branch 'master' into blender2.8

2 years agoCleanup: comment block tabs
Campbell Barton [Wed, 14 Nov 2018 01:53:15 +0000 (12:53 +1100)]
Cleanup: comment block tabs

2 years agoPaint: remove brush select paint_mode
Campbell Barton [Wed, 14 Nov 2018 00:52:17 +0000 (11:52 +1100)]
Paint: remove brush select paint_mode

Instead check which property has been set.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 14 Nov 2018 00:24:37 +0000 (11:24 +1100)]
Merge branch 'master' into blender2.8

2 years agoCleanup: naming for paint modes
Campbell Barton [Wed, 14 Nov 2018 00:20:08 +0000 (11:20 +1100)]
Cleanup: naming for paint modes

- Rename ePaint* -> PAINT_MODE_*.
- Use PAINT_OVERLAY_ prefix for eOverlayControlFlags.

2 years agoFix gizmo handler initialization w/ quad-view
Campbell Barton [Tue, 13 Nov 2018 23:46:13 +0000 (10:46 +1100)]
Fix gizmo handler initialization w/ quad-view

It's not enough to get the active window region,
now the region is passed in as an argument.

2 years agoFixup for view3d collection name drawing when no active object
Dalai Felinto [Tue, 13 Nov 2018 23:30:10 +0000 (21:30 -0200)]
Fixup for view3d collection name drawing when no active object

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 13 Nov 2018 22:50:04 +0000 (09:50 +1100)]
Merge branch 'master' into blender2.8

2 years agoWM: enforce descriptions being NULL or defined
Campbell Barton [Tue, 13 Nov 2018 22:47:23 +0000 (09:47 +1100)]
WM: enforce descriptions being NULL or defined

Without this bugs slip through that don't null check the descriptions
since many were set to empty strings.

2 years agoCleanup: python doc-strings
Campbell Barton [Tue, 13 Nov 2018 22:04:24 +0000 (09:04 +1100)]
Cleanup: python doc-strings

Indentation & trailing space.

2 years agoCleanup: python doc-strings
Campbell Barton [Tue, 13 Nov 2018 22:04:24 +0000 (09:04 +1100)]
Cleanup: python doc-strings

Indentation & trailing space.

2 years agoAdd active collection to viewport "name" stats
Dalai Felinto [Tue, 13 Nov 2018 20:30:44 +0000 (18:30 -0200)]
Add active collection to viewport "name" stats

Only visible when in object mode.

Most of the time we will have the active object not being a part of the active
collection. So it is important to clearly communicate what is the active
collection, so users know for instance where new or appended objects
will be added to.

2 years agoAdd active collection to stats bar
Dalai Felinto [Tue, 13 Nov 2018 20:13:56 +0000 (18:13 -0200)]
Add active collection to stats bar

Only show the collection name when in object mode.
It is not relevant in any other mode.

2 years agoUtil to get collection UI name
Dalai Felinto [Tue, 13 Nov 2018 20:10:30 +0000 (18:10 -0200)]
Util to get collection UI name

Note we still have hardcoded IFACE_("Scene Collection") in the outliner.
I'm ok with getting of them as well, though no strong feelings here.

2 years agoFix tool keymaps not working properly after recent changes.
Brecht Van Lommel [Tue, 13 Nov 2018 20:01:32 +0000 (21:01 +0100)]
Fix tool keymaps not working properly after recent changes.

Not sure this is the best fix, but this should be working. Regardless it seems
good to tag active tool keymaps as such.

2 years agoKeymaps: minor code refactor to abstract some events, no functional changes.
Brecht Van Lommel [Tue, 13 Nov 2018 19:07:52 +0000 (20:07 +0100)]
Keymaps: minor code refactor to abstract some events, no functional changes.

2 years agoKeymaps: reload key configuration when changing select mouse.
Brecht Van Lommel [Tue, 13 Nov 2018 18:02:12 +0000 (19:02 +0100)]
Keymaps: reload key configuration when changing select mouse.

For configuration scripts that want to change keymaps based on this setting.

2 years agoFix T57708: Crash on Eevee rendering with SSR enabled.
mano-wii [Tue, 13 Nov 2018 17:17:39 +0000 (15:17 -0200)]
Fix T57708: Crash on Eevee rendering with SSR enabled.

Intel does not like dead code.
The driver for `Intel HD Graphics 4000` crashes in these cases.

2 years agoDepsgraph: fix missing relations for drivers on ShaderNode properties.
Alexander Gavrilov [Tue, 13 Nov 2018 18:09:27 +0000 (21:09 +0300)]
Depsgraph: fix missing relations for drivers on ShaderNode properties.

Also fix duplicate driver to target relations due to a redundant line.

2 years agoGP: Don't calculate fast drawing when playing
Antonioya [Tue, 13 Nov 2018 17:53:13 +0000 (18:53 +0100)]
GP: Don't calculate fast drawing when playing

2 years agoKeymap: code refactor to makes some events changeable with parameters.
Brecht Van Lommel [Mon, 12 Nov 2018 13:14:56 +0000 (14:14 +0100)]
Keymap: code refactor to makes some events changeable with parameters.

No functional changes.