3 months agoMerge branch 'master' into greasepencil-object
Antonioya [Thu, 9 May 2019 11:28:24 +0000 (13:28 +0200)]
Merge branch 'master' into greasepencil-object

3 months agoGPencil: Move modifiers evaluation logic to Depsgraph (wip)
Antonioya [Thu, 9 May 2019 11:27:41 +0000 (13:27 +0200)]
GPencil: Move modifiers evaluation logic to Depsgraph (wip)

This commits is the first step to move all logic for evaluating modifiers to depsgraph evaluation and remove from the draw manager.  This was coded in the draw manager because when new grease pencil modules were written, the depsgraph was not ready.

Move all to depsgraph reduces the complexity of draw manager, and follows the standards for evaluated data.

This allows to use the evaluated data in edition modes.

Now, it's only working in selection operators, but in the future the different tools will work with the evaluated version and not with the original version as it was before.

3 months agoDepsGraph: Multi ViewLayer Selection
Jeroen Bakker [Wed, 8 May 2019 07:45:20 +0000 (09:45 +0200)]
DepsGraph: Multi ViewLayer Selection

When using multiple viewlayers and switching between them the selection
gets buggy. The reason for this is that the select_id is updated based
on the index in the viewlayer. This makes the select_id not unique as
objects might be shared or not shared at all.

This fix will update the select_id on all objects in main. This will be triggered in all the selection operators.

Reviewed By: sergey, brecht

Maniphest Tasks: T55617

Differential Revision:

3 months agoFix T64363 Eevee: Texture coordinates node turns material color to pink
Clément Foucault [Thu, 9 May 2019 10:46:29 +0000 (12:46 +0200)]
Fix T64363 Eevee: Texture coordinates node turns material color to pink

Sorry for that :(

3 months agoFix T64329 Crash when switching to Texture Paint
Clément Foucault [Thu, 9 May 2019 10:10:47 +0000 (12:10 +0200)]
Fix T64329 Crash when switching to Texture Paint

3 months ago3D Grid: Use View UBO & small cleanup
Clément Foucault [Thu, 9 May 2019 09:58:33 +0000 (11:58 +0200)]
3D Grid: Use View UBO & small cleanup

3 months agoI18n disambiguation: Drag (physics force vs. mouse action).
Bastien Montagne [Thu, 9 May 2019 08:52:34 +0000 (10:52 +0200)]
I18n disambiguation: Drag (physics force vs. mouse action).

Part of T43295.

3 months agoI18n disambiguation: setting particles' parent/children appart.
Bastien Montagne [Thu, 9 May 2019 08:31:11 +0000 (10:31 +0200)]
I18n disambiguation: setting particles' parent/children appart.

Looks like in some languages common generic parent/child relationship
does notn apply well to those.

Part of T43295.

3 months agoI18n disambiguation: Translation (of UI vs. moving something).
Bastien Montagne [Thu, 9 May 2019 08:09:14 +0000 (10:09 +0200)]
I18n disambiguation: Translation (of UI vs. moving something).

Part of T43295.

3 months agoFix Crash with armature using custom shapes
Clément Foucault [Thu, 9 May 2019 09:35:45 +0000 (11:35 +0200)]
Fix Crash with armature using custom shapes

3 months agoMove out pose edit options into the pose data
Sebastian Parborg [Thu, 9 May 2019 09:19:38 +0000 (11:19 +0200)]
Move out pose edit options into the pose data

Move pose edit mode booleans out of the armature data into the pose data

Reviewed By: Brecht

Differential Revision:

3 months agoFix T64308: bake animation not working after recent bendy bone changes
Lucas Veber [Thu, 9 May 2019 00:56:30 +0000 (02:56 +0200)]
Fix T64308: bake animation not working after recent bendy bone changes

Differential Revision:

3 months agoFix T64366 DRW: Crash opening Mr Elephant scene since recent commit
Clément Foucault [Thu, 9 May 2019 09:16:54 +0000 (11:16 +0200)]
Fix T64366 DRW: Crash opening Mr Elephant scene since recent commit

3 months agoFix T64296 Z-axis overlay vanishes at scene origin in 3D Viewport
Clément Foucault [Thu, 9 May 2019 08:59:25 +0000 (10:59 +0200)]
Fix T64296 Z-axis overlay vanishes at scene origin in 3D Viewport

Grid shader was still using deprecated eye vector.

3 months agoFix: Nav_bar context menu in preferences
Campbell Barton [Thu, 9 May 2019 08:40:42 +0000 (18:40 +1000)]
Fix: Nav_bar context menu in preferences

Also merge the keymaps for header/footer/navbar.

D4736 by @Gvgeo with edits

3 months agoUI: minor improvements to font menu
Campbell Barton [Thu, 9 May 2019 06:57:59 +0000 (16:57 +1000)]
UI: minor improvements to font menu

D4814 by @RedMser with edits

3 months agoMerge branch 'master' into greasepencil-object
Antonioya [Thu, 9 May 2019 07:08:57 +0000 (09:08 +0200)]
Merge branch 'master' into greasepencil-object

3 months agoKeymap: automate using OSKey for Ctrl on macos
Campbell Barton [Thu, 9 May 2019 06:09:25 +0000 (16:09 +1000)]
Keymap: automate using OSKey for Ctrl on macos

Replace hard coded use of oskey with a function.

Add checks to avoid conflicting bindings with the OS.

3 months agoFix crash displaying UV's
Campbell Barton [Thu, 9 May 2019 04:46:44 +0000 (14:46 +1000)]
Fix crash displaying UV's

3 months agoFix bpy.utils.script_paths ignoring user_pref arg
Campbell Barton [Thu, 9 May 2019 03:21:53 +0000 (13:21 +1000)]
Fix bpy.utils.script_paths ignoring user_pref arg

3 months agoCleanup: unused bpyml module
Campbell Barton [Thu, 9 May 2019 03:14:07 +0000 (13:14 +1000)]
Cleanup: unused bpyml module

Was for declarative style UI definitions,
but never ended up being used.

3 months agoCleanup: unused args/vars/imports in modules
Campbell Barton [Thu, 9 May 2019 03:11:36 +0000 (13:11 +1000)]
Cleanup: unused args/vars/imports in modules

3 months agoCleanup: unused args/vars/imports in bl_operators
Campbell Barton [Wed, 8 May 2019 23:15:01 +0000 (09:15 +1000)]
Cleanup: unused args/vars/imports in bl_operators

3 months agoCleanup: redundant function call
Campbell Barton [Wed, 8 May 2019 22:54:27 +0000 (08:54 +1000)]
Cleanup: redundant function call

3 months agoCleanup: use __doc__ instead of bl_description
Campbell Barton [Wed, 8 May 2019 22:50:14 +0000 (08:50 +1000)]
Cleanup: use __doc__ instead of bl_description

In keeping with other Python operators,
also assign object a variable.

3 months agoUI Particles: Move message about parting inside Parting panel.
Pablo Vazquez [Wed, 8 May 2019 23:54:00 +0000 (01:54 +0200)]
UI Particles: Move message about parting inside Parting panel.

Grayout parting settings if using virtual parents, and minor layout
adjustment: align min and max sliders together.

3 months agoCleanup: DRW: Remove DRW_pass_free
Clément Foucault [Wed, 8 May 2019 22:38:48 +0000 (00:38 +0200)]
Cleanup: DRW: Remove DRW_pass_free

3 months agoDRW: Remove support for NormalMatrix
Clément Foucault [Wed, 8 May 2019 22:27:11 +0000 (00:27 +0200)]
DRW: Remove support for NormalMatrix

3 months agoFix T64158 Eevee: Mixed SSS shader becomes brighter and brighter
Clément Foucault [Wed, 8 May 2019 22:10:15 +0000 (00:10 +0200)]
Fix T64158 Eevee: Mixed SSS shader becomes brighter and brighter

This change the logic a bit, when 2 bsdfs using SSS are mixed, we use the
one with the biggest radius (on a per pixel basis).

This change from previous behavior which was to select input 1 if radius
was greater than 0.

3 months agoFix T64334: T-key error-message in Dopesheet source list
William Reynish [Wed, 8 May 2019 21:34:10 +0000 (23:34 +0200)]
Fix T64334: T-key error-message in Dopesheet source list

The Dopesheet doesn't have a toolbar, yet the source list region still had a keymap entry for it

3 months agoCleanup: GPUShader: Remove unused edge fancy shader
Clément Foucault [Wed, 8 May 2019 21:27:51 +0000 (23:27 +0200)]
Cleanup: GPUShader: Remove unused edge fancy shader

3 months agoGPU: Refactor some shader for a bit more efficiency
Clément Foucault [Wed, 8 May 2019 21:23:31 +0000 (23:23 +0200)]
GPU: Refactor some shader for a bit more efficiency

Remove matrices multiplication and use more correct codestyle for variables

3 months agoEevee: Fix Tangent vectors using NormalMatrix and make them world space
Clément Foucault [Wed, 8 May 2019 21:21:09 +0000 (23:21 +0200)]
Eevee: Fix Tangent vectors using NormalMatrix and make them world space

Making them world space by default remove a lot of legacy conversion from

3 months agoOverlay: Remove use of NormalMatrix
Clément Foucault [Wed, 8 May 2019 21:13:09 +0000 (23:13 +0200)]
Overlay: Remove use of NormalMatrix

3 months agoUI messages: Rename 'Light' to 'Lite' for compression method.
Bastien Montagne [Wed, 8 May 2019 20:24:10 +0000 (22:24 +0200)]
UI messages: Rename 'Light' to 'Lite' for compression method.

While not exactly optimal, that's the only disambiguation solution I
found doable for translations (i18n). ID names tend to sneak
everywhere, including in places where we have no access to i18n context
currently (like menu labels e.g.).

Other alternative would have been to use 'Lightweight', but that is a
tad too long, we love short UI messages as much as possible.

The genius who decided that it was critical to rename ID lamp to light
in 2.8 is welcome to find a better solution...

Part of T43295.

3 months agoI18n: Disambiguation for 'Cycles' used also by some anim modifier.
Bastien Montagne [Wed, 8 May 2019 20:02:54 +0000 (22:02 +0200)]
I18n: Disambiguation for 'Cycles' used also by some anim modifier.

Part of T43295.

3 months agoWorkbench: Use common_view_lib and remove NormalMatrix usage
Clément Foucault [Wed, 8 May 2019 20:08:20 +0000 (22:08 +0200)]
Workbench: Use common_view_lib and remove NormalMatrix usage

This is in order to lower the number of matrices to compute.

3 months agoMesh Batch Cache: Fix crash when comming from eevee to wireframe mode
Clément Foucault [Wed, 8 May 2019 20:01:34 +0000 (22:01 +0200)]
Mesh Batch Cache: Fix crash when comming from eevee to wireframe mode

And add check in debug build.

3 months agoDRW: Remove WorldNormalMatrix
Clément Foucault [Wed, 8 May 2019 18:13:24 +0000 (20:13 +0200)]
DRW: Remove WorldNormalMatrix

3 months agoEevee: Remove uneeded normalization
Clément Foucault [Wed, 8 May 2019 17:35:48 +0000 (19:35 +0200)]
Eevee: Remove uneeded normalization

Clément Foucault [Wed, 8 May 2019 17:33:54 +0000 (19:33 +0200)]

The end goal for this is to lower the number of needed matrices.

This also cleanup some uneeded transformation.

3 months agoOverlay Mode: Use common_view_lib
Clément Foucault [Wed, 8 May 2019 17:30:03 +0000 (19:30 +0200)]
Overlay Mode: Use common_view_lib

This is in order to centralize all matrices transformations.

3 months agoDefaults: change default settings in a few editors
Brecht Van Lommel [Wed, 8 May 2019 16:08:35 +0000 (18:08 +0200)]
Defaults: change default settings in a few editors

* Timeline has summary collapsed to show only one row of keyframes.
* Cavity default is screen space curvature (faster).
* Scripting workspace text editor uses syntax highlight and line numbers.
* Marker lines enabled by default in all animation editors.
* Movie clip editor pivot point default to median.

Ref T63986.

3 months agoTheme: tweak source list background color for animation editors.
Pablo Vazquez [Wed, 8 May 2019 15:24:48 +0000 (17:24 +0200)]
Theme: tweak source list background color for animation editors.

Helps to avoid blending with the timeline out-of-range area, match region
background and scrubbing area as well.

3 months agoCleanup: DRW/GPU: Remove eye vector uniform
Clément Foucault [Wed, 8 May 2019 15:19:44 +0000 (17:19 +0200)]
Cleanup: DRW/GPU: Remove eye vector uniform

3 months agoCleanup: Remove BKE_MESH_BATCH_DIRTY_MAYBE_ALL
Clément Foucault [Tue, 7 May 2019 20:45:14 +0000 (22:45 +0200)]

3 months agoCleanup: draw_common: Use switch instead of ifs
Clément Foucault [Tue, 7 May 2019 20:01:45 +0000 (22:01 +0200)]
Cleanup: draw_common: Use switch instead of ifs

3 months agoCleanup: Mesh Batch Cache: Remove unused BKE_MESH_BATCH_DIRTY_SCULPT_COORDS
Clément Foucault [Tue, 7 May 2019 21:47:32 +0000 (23:47 +0200)]
Cleanup: Mesh Batch Cache: Remove unused BKE_MESH_BATCH_DIRTY_SCULPT_COORDS

3 months agoCleanup: GPUShader: Use switch instead of ifs
Clément Foucault [Tue, 7 May 2019 15:14:11 +0000 (17:14 +0200)]
Cleanup: GPUShader: Use switch instead of ifs

3 months agoDRW: Copy matrix in case of ModelMatrixInverse being used
Clément Foucault [Wed, 8 May 2019 15:14:54 +0000 (17:14 +0200)]
DRW: Copy matrix in case of ModelMatrixInverse being used

ob->imat is garanteed to be valid by the depsgraph.

3 months agoWireframe: Refactor vertex shader to use less matrices
Clément Foucault [Wed, 8 May 2019 15:12:24 +0000 (17:12 +0200)]
Wireframe: Refactor vertex shader to use less matrices

This means less matrices needs to be prepared by the CPU.

3 months agoDRW: Speedup: Only do batch cache request and validation once for duplis
Clément Foucault [Wed, 8 May 2019 10:02:49 +0000 (12:02 +0200)]
DRW: Speedup: Only do batch cache request and validation once for duplis

3 months agoMesh Batch Cache: Speedup: Only alloc gpu_attrs if needed and don't clear
Clément Foucault [Wed, 8 May 2019 10:00:50 +0000 (12:00 +0200)]
Mesh Batch Cache: Speedup: Only alloc gpu_attrs if needed and don't clear

No need to clear since GPU_material_vertex_attrs is overriding

3 months agoMesh Batch Cache: Speedup: Use flags to early remove unecessary checks
Clément Foucault [Tue, 7 May 2019 22:12:24 +0000 (00:12 +0200)]
Mesh Batch Cache: Speedup: Use flags to early remove unecessary checks

3 months agoDRW: Make batch validation run first during iteration
Clément Foucault [Tue, 7 May 2019 21:21:16 +0000 (23:21 +0200)]
DRW: Make batch validation run first during iteration

This reduces the cost of querying the batches to the batch cache.

3 months agoDRW: Move all batch request functions to own header
Clément Foucault [Tue, 7 May 2019 21:02:42 +0000 (23:02 +0200)]
DRW: Move all batch request functions to own header

This is in order to using BLI_INLINE for thoses functions and keep headers
cleany separated.

3 months agoDRW: Change function orders to improve CPU cache efficiency
Clément Foucault [Tue, 7 May 2019 20:08:42 +0000 (22:08 +0200)]
DRW: Change function orders to improve CPU cache efficiency

These changes seems to impact cache efficiency as it uses shgroup just
after creating a DRWCall before shgroup.

3 months agoObject Overlay: Add dupli fast path
Clément Foucault [Tue, 7 May 2019 20:09:28 +0000 (22:09 +0200)]
Object Overlay: Add dupli fast path

3 months agoWireframe: Create dupli fast path using DRW_duplidata_get
Clément Foucault [Tue, 7 May 2019 18:56:55 +0000 (20:56 +0200)]
Wireframe: Create dupli fast path using DRW_duplidata_get

3 months agoDRW: Add DRW_duplidata_get to create fast path for duplis
Clément Foucault [Tue, 7 May 2019 18:56:20 +0000 (20:56 +0200)]
DRW: Add DRW_duplidata_get to create fast path for duplis

This is in order to create less shading group when using duplis.

Data for dupli objects keep in draw manager state until the source object
changes so retrieval is fast.

Note that this system could be extended to all meshes.

3 months agoGPUViewport: Fix possible hash colision with enabled engines
Clément Foucault [Tue, 7 May 2019 16:42:28 +0000 (18:42 +0200)]
GPUViewport: Fix possible hash colision with enabled engines

Also fix engine data validation that was not previously not working.

3 months agoDRW: Remove uneeded calls to drw_viewport_engine_data_ensure when iterating
Clément Foucault [Tue, 7 May 2019 16:40:02 +0000 (18:40 +0200)]
DRW: Remove uneeded calls to drw_viewport_engine_data_ensure when iterating

This remove a bit of overhead specially in scene with lots of objects.

3 months agoDRW: Replace BLI_mempool by BLI_memblock
Clément Foucault [Tue, 7 May 2019 16:01:14 +0000 (18:01 +0200)]
DRW: Replace BLI_mempool by BLI_memblock

This remove a avoid the big overhead present in BLI_mempool when it is

3 months agoDRW: Speedup: Don't call GPU_shader_uniform_vector if not needed
Clément Foucault [Tue, 7 May 2019 15:21:26 +0000 (17:21 +0200)]
DRW: Speedup: Don't call GPU_shader_uniform_vector if not needed

This seems to remove a bit of overhead of going into the function even if
the uniform is not needed.

3 months agoBLI_memblock: New memory allocator
Clément Foucault [Tue, 7 May 2019 15:52:57 +0000 (17:52 +0200)]
BLI_memblock: New memory allocator

This is really close to BLI_mempool but uses an array to keep track of the
chunks of memory. There is no tagging necessary to clear the whole
structure so reuse is fast.

Naturally supports iteration but does not support freeing.

3 months agoFix T64302: objects disappearing when disabling overlays
Jeroen Bakker [Wed, 8 May 2019 14:52:42 +0000 (16:52 +0200)]
Fix T64302: objects disappearing when disabling overlays

Only happened for Cycles, after recent changes.

Differential Revision:

3 months agoRevert "UI: Dynamic region size for file browser options"
Brecht Van Lommel [Wed, 8 May 2019 12:20:10 +0000 (14:20 +0200)]
Revert "UI: Dynamic region size for file browser options"

This breaks the user interface of exporters, so revert for now until there
is a solution for this.

This reverts commit ee0d8426ab6d301c0296496c25f9511b9a9768e9.

3 months agoSpline IK: fix a scaling hiccup as bones roll off the end of the curve.
Alexander Gavrilov [Wed, 8 May 2019 14:16:27 +0000 (17:16 +0300)]
Spline IK: fix a scaling hiccup as bones roll off the end of the curve.

3 months agoFix T64266: Incorrect modifier object target after making duplicates real for instanc...
Bastien Montagne [Wed, 8 May 2019 13:50:50 +0000 (15:50 +0200)]
Fix T64266: Incorrect modifier object target after making duplicates real for instanced collections.

Not sure why newid was set in evaluated object instead of orig one,
makes no sense to me, since we want to operate remapping of ID pointers
on orig data? Looks like that was something overseen when that code was
ported to new COW system.

3 months agoUI: Move scrollbars to the right in animation editors
Jacques Lucke [Wed, 8 May 2019 13:09:02 +0000 (15:09 +0200)]
UI: Move scrollbars to the right in animation editors

The text, that was in the scrollbars, stays on the left.

Reviewers: brecht, billreynish

Differential Revision:

3 months agoUI: Make File Browser bookmarks panels unparented again
William Reynish [Wed, 8 May 2019 13:07:07 +0000 (15:07 +0200)]
UI: Make File Browser bookmarks panels unparented again

Also open Recents again by default

3 months agoKeymap: Make Clip Editor Graph view consistent with regular Graph Editor
William Reynish [Wed, 8 May 2019 12:54:05 +0000 (14:54 +0200)]
Keymap: Make Clip Editor Graph view consistent with regular Graph Editor

Still missing a context menu here for now though

3 months agoFix heap buffer overflow in tabs to spaces
Sergey Sharybin [Wed, 8 May 2019 12:36:35 +0000 (14:36 +0200)]
Fix heap buffer overflow in tabs to spaces

Need to count string terminator.

3 months agoKeymap: Special keymap for clip editor scrubbing area
Jacques Lucke [Wed, 8 May 2019 12:10:09 +0000 (14:10 +0200)]
Keymap: Special keymap for clip editor scrubbing area

Reviewers: sergey

Differential Revision:

3 months agoNormals Menu: fix Average to be able to specify type.
Howard Trickey [Wed, 8 May 2019 11:44:15 +0000 (07:44 -0400)]
Normals Menu: fix Average to be able to specify type.

Also removed some rogue debugging printfs from normal selection code.

3 months agoKeymap: Drag in empty area to box select in animation editors
William Reynish [Wed, 8 May 2019 11:11:04 +0000 (13:11 +0200)]
Keymap: Drag in empty area to box select in animation editors

This is a patch for the default keymap in Blender.
It relates to the Dopesheet, Timeline, Graph Editor, NLA and Sequencer
Currently, in these editors, dragging outside of your selections does nothing.

This patch makes it so dragging outside the selection does a box select operation.
It is consistent with how the Node Editor works, as well as the 3D View, if you use the gizmo overlays.

Differential Revision:

Reviewers: campbellbarton

3 months agoCMake: Add support of Ninja's pools to ease building on limited amount of RAM.
Bastien Montagne [Tue, 7 May 2019 18:32:14 +0000 (20:32 +0200)]
CMake: Add support of Ninja's pools to ease building on limited amount of RAM.

Many modern computers support a lot of threads (parrallel building
jobs), but are somewhat restricted in memory, when some building jobs
can require several GB each.

Ninja builder has pools, which extend the usual `-j X` make
parallelizing option, by allowing to specify different numbers of
parallel jobs for different targets.

This commit defines three pools, one for linking, one for usual compile,
and one for compiling some 'heavy' cpp libs, when a single file can
require GB of RAM in full debug builds.

Simply enabling WITH_NINJA_POOL_JOBS will try to set default sensible
values for those three pools based on your machine specifications, you
can then tweak further the values of NINJA_MAX_NUM_PARALLEL_ settings,
if you like.

On my system (8 cores, 16GB RAM), it allows to build a full debug with
all ASAN options build with roughly 7GB of RAM used at most, pretty much
as quickly as without that option (which would require up to 11GB of
available RAM at some points).

Review task: D4780.

3 months agoCopy Scale: support raising the copied scale to an arbitrary power.
Alexander Gavrilov [Wed, 8 May 2019 09:08:54 +0000 (12:08 +0300)]
Copy Scale: support raising the copied scale to an arbitrary power.

Since scale is multiplicative, the appropriate way to partially copy
it is to use power. However, the influence slider of constraints uses
linear interpolation. Thus, there is no way to correctly split scale
via constraints without adding this feature.

In addition, this allows inverting scale by using negative powers,
fulfilling the function of Copy Rotation's Invert checkboxes.

3 months agoDisable Constraint and Keep Transform
Sybren A. Stüvel [Wed, 8 May 2019 08:57:17 +0000 (10:57 +0200)]
Disable Constraint and Keep Transform

A 'Disable and Keep Transform' button for constraints was added. This
allows animators to disable a constraint without moving the constrained
object/bone, making it easier to toggle constriants on and off without
any visual consequence. Typical usage would be a character picking up an
object (enable 'Copy Transform' constraint) and placing it somewhere
else (disable the constraint).

Note that there could still be movement when there are muliple
constraints active. For example, when using this constraint stack

- #1: Copy Transform from Empty.001
- #2: Copy Rotation from Empty.002

and disabling constraint #2, constraint #1 is still active and will
still modify the visual transform of the object. According to our
in-house animators, this is expected behaviour.

Reviewers: campbellbarton, dfelinto, sergey

Reviewed By: campbellbarton

Subscribers: brecht

Tags: #animation

Differential Revision:

3 months agoFix T64274: Crash with more than 1 subdivision with the Multiresolution Modifier
Sergey Sharybin [Wed, 8 May 2019 08:40:56 +0000 (10:40 +0200)]
Fix T64274: Crash with more than 1 subdivision with the Multiresolution Modifier

Update more relevant fields in the sculpt session. Really becoming annoying, but
was also annoying in the old code as well.

3 months agoFix T64298: Overlapping scrubbing area in clip editors dopesheet
Jacques Lucke [Wed, 8 May 2019 08:29:17 +0000 (10:29 +0200)]
Fix T64298: Overlapping scrubbing area in clip editors dopesheet

3 months agoUI: Remove Filters toggle in the Clip Editor Graph view
William Reynish [Wed, 8 May 2019 07:10:29 +0000 (09:10 +0200)]
UI: Remove Filters toggle in the Clip Editor Graph view

This was trying to emulate the 2.79 Graph Editor.

The toggle took up more room that the filter toggle it revealed, and it made the header buttons jump around

Better to just have the filter toggles showing immediately.

3 months agoCleanup: tabs to spaces for generated theme
Campbell Barton [Wed, 8 May 2019 07:06:35 +0000 (17:06 +1000)]
Cleanup: tabs to spaces for generated theme

Update along with generation utility.

3 months agoFix T64283: Gizmo doesn't update after click-extrude
Campbell Barton [Wed, 8 May 2019 05:14:23 +0000 (15:14 +1000)]
Fix T64283: Gizmo doesn't update after click-extrude

3 months agoCleanup: unused var, doxy syntax for math_matrix.c
Campbell Barton [Tue, 7 May 2019 23:20:12 +0000 (09:20 +1000)]
Cleanup: unused var, doxy syntax for math_matrix.c

3 months agoFix: default keymap entry for Sequencer context menu
William Reynish [Tue, 7 May 2019 19:17:11 +0000 (21:17 +0200)]
Fix: default keymap entry for Sequencer context menu

Own mistake in previous commit

3 months agoUI: Add copy/paste icons to Sequencer context menu
William Reynish [Tue, 7 May 2019 19:12:22 +0000 (21:12 +0200)]
UI: Add copy/paste icons to Sequencer context menu

3 months agoUI: Add initial context menu to Sequencer
William Reynish [Tue, 7 May 2019 19:07:52 +0000 (21:07 +0200)]
UI: Add initial context menu to Sequencer

Add to both Blender and Industry Compat keymap

3 months agoUI: Add copy/paste icons to Graph and Dopesheet editor context menus
William Reynish [Tue, 7 May 2019 18:52:41 +0000 (20:52 +0200)]
UI: Add copy/paste icons to Graph and Dopesheet editor context menus

Consistent with others

3 months agoUI: Add initial context menu to NLA
William Reynish [Tue, 7 May 2019 18:49:53 +0000 (20:49 +0200)]
UI: Add initial context menu to NLA

Adding to both default and Industry Compat keymap

3 months agoSpline IK: support using both original scaling and volume preservation.
Alexander Gavrilov [Tue, 7 May 2019 16:52:10 +0000 (19:52 +0300)]
Spline IK: support using both original scaling and volume preservation.

Add a new option that makes the Spline IK solver apply volume
preservation on top of the original scaling, considering the
pre-IK scale of the bone as the goal volume to be preserved.

This basically works similar to the Stretch To constraint, and
allows easily rigging a stretchy chain that uniformly follows
its parent's scaling.

Since the Stretch To behavior is more familiar, the new option
is on by default for newly created Spline IK constraints.

3 months agoUI: Remove redundant titles in animation filter popover
William Reynish [Tue, 7 May 2019 16:09:15 +0000 (18:09 +0200)]
UI: Remove redundant titles in animation filter popover

It's clear what these do without and takes up much less space

3 months agoImplement Push/Relax from rest pose.
Sebastian Parborg [Tue, 7 May 2019 15:34:28 +0000 (17:34 +0200)]
Implement Push/Relax from rest pose.

Perviously it was only possible to interpolate from the breakdown poses.
Now you can Push/Relax in regard to the rest pose as well.

For this only one keyframe is needed while the old modes needs two.

3 months agoTests: add Cycles image texture colorspace tests
Brecht Van Lommel [Tue, 7 May 2019 14:14:56 +0000 (16:14 +0200)]
Tests: add Cycles image texture colorspace tests

3 months agoFix deadlock in recent Cycles colorspace changes
Brecht Van Lommel [Tue, 7 May 2019 14:51:33 +0000 (16:51 +0200)]
Fix deadlock in recent Cycles colorspace changes

This code is not used yet so didn't affect anyone.

3 months agoFix compilation error
Sergey Sharybin [Tue, 7 May 2019 15:23:50 +0000 (17:23 +0200)]
Fix compilation error

3 months agoFix T64257: Scrubbing in the Clip Editor Graph Editor doesn't work
Sergey Sharybin [Tue, 7 May 2019 15:07:04 +0000 (17:07 +0200)]
Fix T64257: Scrubbing in the Clip Editor Graph Editor doesn't work

While intent of such action is not very clear, there is no real
reason to forbid it.

3 months agoIndustry Compat keymap: Support for dragging markers in marker region
William Reynish [Tue, 7 May 2019 14:16:45 +0000 (16:16 +0200)]
Industry Compat keymap: Support for dragging markers in marker region

Now that there is a dedicated scrubbing area, the markers area can be used again for manipulating markers on drag.

3 months agoKeymap: Use right-click for context menus in the animation editors
William Reynish [Tue, 7 May 2019 14:12:17 +0000 (16:12 +0200)]
Keymap: Use right-click for context menus in the animation editors

  - This only applies to left click select. Right click select and the legacy keymap are unaffected
  - You can still set the playhead from anywhere, using Shift-RMB, just like how you set the cursor in the 3D View

3 months agoUI: Rename "Scrubbing Region" to "Scrubbing/Markers Region".
Pablo Vazquez [Tue, 7 May 2019 14:00:10 +0000 (16:00 +0200)]
UI: Rename "Scrubbing Region" to "Scrubbing/Markers Region".

Share theme setting since they serve similar purposes by sitting on top/bottom
of the animation/vse editors.

Reviewers: billreynish