blender.git
7 months agocleanup: removed outdated/outcommented code collada2.8
Gaia Clary [Thu, 22 Nov 2018 23:37:56 +0000 (00:37 +0100)]
cleanup: removed outdated/outcommented code

7 months agoMerge remote-tracking branch 'origin/blender2.8' into collada2.8
Gaia Clary [Thu, 22 Nov 2018 23:29:24 +0000 (00:29 +0100)]
Merge remote-tracking branch 'origin/blender2.8' into collada2.8

7 months agorefactor: Simplify the Collada module. moved Blender context information into its...
Gaia Clary [Thu, 22 Nov 2018 23:28:45 +0000 (00:28 +0100)]
refactor: Simplify the Collada module. moved Blender context information into its own class.

7 months agoPose: support wpaint+pose w/ object-lock enabled
Campbell Barton [Thu, 22 Nov 2018 23:16:08 +0000 (10:16 +1100)]
Pose: support wpaint+pose w/ object-lock enabled

Mode locking made it nearly impossible to enter wpaint + object mode.

Now enter pose mode when entering wpaint mode
when the pose object is selected.

7 months agoFix bone selection w/ mixed wpaint & pose mode
Campbell Barton [Thu, 22 Nov 2018 23:00:28 +0000 (10:00 +1100)]
Fix bone selection w/ mixed wpaint & pose mode

7 months agoMerge remote-tracking branch 'origin/blender2.8' into collada2.8
Gaia Clary [Thu, 22 Nov 2018 21:03:35 +0000 (22:03 +0100)]
Merge remote-tracking branch 'origin/blender2.8' into collada2.8

7 months agoCleanup: newlines in error prints
Campbell Barton [Thu, 22 Nov 2018 20:27:23 +0000 (07:27 +1100)]
Cleanup: newlines in error prints

7 months agoUI: fix wrong icons after recent update.
Brecht Van Lommel [Thu, 22 Nov 2018 20:18:16 +0000 (21:18 +0100)]
UI: fix wrong icons after recent update.

This cleans up old icon .data files that were still hanging around,
but not in the SVG anymore.

7 months agoUI: activate tabs immediately on press, and drag to quickly cycle through.
Brecht Van Lommel [Thu, 22 Nov 2018 20:10:12 +0000 (21:10 +0100)]
UI: activate tabs immediately on press, and drag to quickly cycle through.

7 months agoFix T55535: N panel in sequencer breaks display of preview.
Brecht Van Lommel [Thu, 22 Nov 2018 19:59:54 +0000 (20:59 +0100)]
Fix T55535: N panel in sequencer breaks display of preview.

This preview region should not have been part of region overlap.

7 months agoUI: Object Context Menu tweaks.
Pablo Vazquez [Thu, 22 Nov 2018 18:02:44 +0000 (19:02 +0100)]
UI: Object Context Menu tweaks.

* Move type-specific options first.
Allows to get quicker access to settings like Shading Smooth/Flat
by pressing W -> S/F, or camera or light settings.

* Lights: Rename Strength to Energy
* Lights: Show Energy when using EEVEE

7 months agoImage Empties: Potential Fix for T57696
Clément Foucault [Thu, 22 Nov 2018 17:22:34 +0000 (18:22 +0100)]
Image Empties: Potential Fix for T57696

So far this makes a new pass for image empties that does not write to the depth buffer.

Todo:
- Sort empties using `DRW_pass_sort_shgroup_z`.
- Calculate correct bounding boxes.
- fix bounding box memory leak.

Reviewers: fclem

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

7 months agoFix T57980: Assert failure in draw manager when opening file
Clément Foucault [Thu, 22 Nov 2018 15:55:23 +0000 (16:55 +0100)]
Fix T57980: Assert failure in draw manager when opening file

7 months agoCleanup: Use proper module prefix in function names
Sergey Sharybin [Thu, 22 Nov 2018 15:35:12 +0000 (16:35 +0100)]
Cleanup: Use proper module prefix in function names

7 months agoGP: Keep activated the same Brush in toolbar
Antonioya [Thu, 22 Nov 2018 15:26:17 +0000 (16:26 +0100)]
GP: Keep activated the same Brush in toolbar

7 months agoDepsgraph: Ensure solver cleanup order
Sergey Sharybin [Thu, 22 Nov 2018 14:52:17 +0000 (15:52 +0100)]
Depsgraph: Ensure solver cleanup order

Ensure that pose cleanup is never run before all IK solvers are finished.

7 months agoDepsgraph: Cleanup, line wrapping
Sergey Sharybin [Thu, 22 Nov 2018 14:50:42 +0000 (15:50 +0100)]
Depsgraph: Cleanup, line wrapping

7 months agoFix missing newline in error print
Sergey Sharybin [Thu, 22 Nov 2018 14:08:34 +0000 (15:08 +0100)]
Fix missing newline in error print

7 months agoDepsgraph: Cleanup, make it easier to create relations with flags
Sergey Sharybin [Thu, 22 Nov 2018 13:54:08 +0000 (14:54 +0100)]
Depsgraph: Cleanup, make it easier to create relations with flags

7 months agoEevee: Reflection Plane: Small UI fix and invert facing fading
Clément Foucault [Thu, 22 Nov 2018 15:14:56 +0000 (16:14 +0100)]
Eevee: Reflection Plane: Small UI fix and invert facing fading

7 months agoFix T57977: VSE: Markers lines get highlighted when using box select
Clément Foucault [Thu, 22 Nov 2018 15:13:18 +0000 (16:13 +0100)]
Fix T57977: VSE: Markers lines get highlighted when using box select

Was caused by a missing uniform.

7 months agoKeymaps: make click event detection use a larger distance threshold.
Brecht Van Lommel [Thu, 22 Nov 2018 13:28:59 +0000 (14:28 +0100)]
Keymaps: make click event detection use a larger distance threshold.

Previously this was hardcoded to 2 pixels, which is too low for tablets and
not taking into account DPI. Now we set it equal to the tweak threshold, so
you either always do click or drag.

The default distance of 10 pixels may be quite far for something to be
considered a click, and we'll need to see how well it works. But I find this
to help a lot when selecting vertices in quick succession.

Thanks to Julien for spotting this.

7 months agoFix T57578: Vertex Connect crash with less than two verts selected
Philipp Oeser [Thu, 22 Nov 2018 12:28:53 +0000 (13:28 +0100)]
Fix T57578: Vertex Connect crash with less than two verts selected

7 months agoGP: Cleanup old TODO comments
Antonioya [Thu, 22 Nov 2018 09:43:44 +0000 (10:43 +0100)]
GP: Cleanup old TODO comments

These ToDo were ported when 2.7x code was ported to 2.8, but now they are not needed.

7 months agoCleanup: keymap wrapper for tool-setting operator
Campbell Barton [Thu, 22 Nov 2018 05:58:09 +0000 (16:58 +1100)]
Cleanup: keymap wrapper for tool-setting operator

7 months agoKeymap: add popup keymap
Campbell Barton [Thu, 22 Nov 2018 05:52:57 +0000 (16:52 +1100)]
Keymap: add popup keymap

Allow manually mapping keys for the popup toolbar.

Useful for tools that don't have immediate access,
add transform, annotate & measure.

7 months agoCleanup: minor simplification of keyconfig merge
Campbell Barton [Thu, 22 Nov 2018 05:33:11 +0000 (16:33 +1100)]
Cleanup: minor simplification of keyconfig merge

7 months agoCorrect typo
Campbell Barton [Thu, 22 Nov 2018 05:17:09 +0000 (16:17 +1100)]
Correct typo

7 months agoIcons: use newly added icons
William Reynish [Thu, 22 Nov 2018 04:31:19 +0000 (15:31 +1100)]
Icons: use newly added icons

7 months agoIcons: binary data update from SVG
Campbell Barton [Thu, 22 Nov 2018 04:29:26 +0000 (15:29 +1100)]
Icons: binary data update from SVG

7 months agoIcons: updates by jendrzych
Campbell Barton [Thu, 22 Nov 2018 04:26:01 +0000 (15:26 +1100)]
Icons: updates by jendrzych

Changed to correct disclosure triangles everywhere,
added new icon for Output Properties,
added new icons for Image & Empty types in Add menu,
added icons for add-on types, plus other tweaks and adjustments.

7 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 22 Nov 2018 04:16:45 +0000 (15:16 +1100)]
Merge branch 'master' into blender2.8

7 months agoFix T57989: File loaded as startup
Campbell Barton [Thu, 22 Nov 2018 03:57:41 +0000 (14:57 +1100)]
Fix T57989: File loaded as startup

The file contents was used to check if the file was a startup file.

Now pass in an argument from startup loading code instead.

7 months agoUI: disable screen edges for full-screen areas
Campbell Barton [Thu, 22 Nov 2018 01:32:54 +0000 (12:32 +1100)]
UI: disable screen edges for full-screen areas

7 months agoUI: hide shortcut from gizmo tip when none found
Campbell Barton [Thu, 22 Nov 2018 01:18:23 +0000 (12:18 +1100)]
UI: hide shortcut from gizmo tip when none found

7 months agoUI: String tweak for "UnLock" and Un-Mute in VSE
Pablo Vazquez [Thu, 22 Nov 2018 01:02:03 +0000 (02:02 +0100)]
UI: String tweak for "UnLock" and Un-Mute in VSE

7 months agoUI: Fix Lock/Mute menu in VSE
Pablo Vazquez [Thu, 22 Nov 2018 00:59:49 +0000 (01:59 +0100)]
UI: Fix Lock/Mute menu in VSE

Thanks @tintwotin for reporting it!

7 months agoCleanup: utility function to avoid duplicate keys
Campbell Barton [Thu, 22 Nov 2018 00:54:17 +0000 (11:54 +1100)]
Cleanup: utility function to avoid duplicate keys

7 months agoTool System: auto-assign A-Z keys for toolbar popup
Campbell Barton [Thu, 22 Nov 2018 00:34:05 +0000 (11:34 +1100)]
Tool System: auto-assign A-Z keys for toolbar popup

Assign keys based on tool name when they're free, allows:
Space-T for Transform, Space-A for Annotate.

7 months agoFix toolbar popup keymap not allowing 'A' key
Campbell Barton [Thu, 22 Nov 2018 00:33:10 +0000 (11:33 +1100)]
Fix toolbar popup keymap not allowing 'A' key

7 months agoTool System: Updates for keymap stored as string
Campbell Barton [Thu, 22 Nov 2018 00:13:22 +0000 (11:13 +1100)]
Tool System: Updates for keymap stored as string

7 months agoFix factory-settings using stale preferences
Campbell Barton [Wed, 21 Nov 2018 23:51:27 +0000 (10:51 +1100)]
Fix factory-settings using stale preferences

We need to reload defaults on factory startup because the defaults
now have preferences that may have changed.

7 months agoTool System: store keymap name in tool instead of the keymap
Campbell Barton [Wed, 21 Nov 2018 23:23:40 +0000 (10:23 +1100)]
Tool System: store keymap name in tool instead of the keymap

Resetting keymaps caused them to become invalid (crashing on access).

7 months agoKeymap: always show pie menu w/ tab-pie-menu pref
Campbell Barton [Wed, 21 Nov 2018 22:09:42 +0000 (09:09 +1100)]
Keymap: always show pie menu w/ tab-pie-menu pref

Wasn't working well with armatures used ctrl-tab
to switch to pose mode, making tab always switch to pose mode
w/ this preference enabled.

Now always show pie-menu.

7 months agoKeymap: Use Z to toggle wire instead of xray
Campbell Barton [Wed, 21 Nov 2018 22:01:00 +0000 (09:01 +1100)]
Keymap: Use Z to toggle wire instead of xray

This now works like 2.7x more or less exactly,
x-ray is enabled by default for wire so unless users change this,
it will enable x-ray too.

7 months agoKeymap: 3D view pref for tab to show pie menu
Campbell Barton [Wed, 21 Nov 2018 21:12:39 +0000 (08:12 +1100)]
Keymap: 3D view pref for tab to show pie menu

This behaves like the 2.7x pie menu add-on,
for users who prefer single-key access to all modes.

7 months agoUI: Add Image and Clip space panels category.
Bastien Montagne [Wed, 21 Nov 2018 21:02:01 +0000 (22:02 +0100)]
UI: Add Image and Clip space panels category.

Pretty much all were missing those here... Put all in same category for
image, tried to sort them logically for Clip, since we already had at
least two (stabilization and 'misc')... sigh.

Another topic for UI team to work on I guess.

7 months agoUI: First batch of fixing missing categories for panels.
Bastien Montagne [Wed, 21 Nov 2018 20:41:00 +0000 (21:41 +0100)]
UI: First batch of fixing missing categories for panels.

7 months agoCleanup: Move debug warning message about panels missing category from drawing code...
Bastien Montagne [Wed, 21 Nov 2018 20:39:19 +0000 (21:39 +0100)]
Cleanup: Move debug warning message about panels missing category from drawing code to registering code.

In drawing it was pretty stupid (since we did not know *which* panels were
affected), and really, really annoyingly noisy!

7 months agoUI: hide keymap preferences when filter is used
Campbell Barton [Wed, 21 Nov 2018 20:52:34 +0000 (07:52 +1100)]
UI: hide keymap preferences when filter is used

7 months agoKeymap: correct error in grease pencil change
Campbell Barton [Wed, 21 Nov 2018 20:48:05 +0000 (07:48 +1100)]
Keymap: correct error in grease pencil change

7 months agoKeymap: remove annotation keymap editmode toggle
Campbell Barton [Wed, 21 Nov 2018 19:51:47 +0000 (06:51 +1100)]
Keymap: remove annotation keymap editmode toggle

This is now used for grease pencil objects.

7 months agoKeymap: Adjust shading key bindings
Campbell Barton [Wed, 21 Nov 2018 19:44:42 +0000 (06:44 +1100)]
Keymap: Adjust shading key bindings

- 'Z' now toggles xray
  (convenient, 2.7x-like binding to show occluded).
- 'D' shows the draw-type pie-menu.

7 months agoKeymap: remove D-Key shortcuts for annotations
Campbell Barton [Wed, 21 Nov 2018 18:56:04 +0000 (05:56 +1100)]
Keymap: remove D-Key shortcuts for annotations

Use tools for annotations instead.

7 months ago3D View: move x-ray toggle to operator
Campbell Barton [Wed, 21 Nov 2018 19:44:09 +0000 (06:44 +1100)]
3D View: move x-ray toggle to operator

Allows binding to a key.

7 months agoKeymap: use Ctrl-Tab to toggle fcurve/graph editor
Campbell Barton [Wed, 21 Nov 2018 18:56:04 +0000 (05:56 +1100)]
Keymap: use Ctrl-Tab to toggle fcurve/graph editor

Suggested by Pablo Vazquez.

7 months agoKeymaps: take into account DPI for tweak/drag/pie thresholds.
Brecht Van Lommel [Wed, 21 Nov 2018 18:25:13 +0000 (19:25 +0100)]
Keymaps: take into account DPI for tweak/drag/pie thresholds.

The intention is to fix a too low default threshold on high DPI screen.
Users with high DPI screens that have increased the threshold to fix this
or liked the lower threshold will need to lower it again.

This is still somewhat of a guess, ideally this would be based on the
physical distance travalled, and maybe different per type of input device.
However we do not have access to this information, and hope this gives a
better default.

7 months agoKeymaps: a few small improvements.
Brecht Van Lommel [Wed, 21 Nov 2018 17:03:56 +0000 (18:03 +0100)]
Keymaps: a few small improvements.

* Annotation tools now have Alt+LMB as for erase, like sculpt.
* In the LMB keymap, Shift+RMB drag now transforms 3D cursor for easy snapping.
* Curve edit mode draw is now only availble as tool, solves 3D cursor conflict.

7 months agoPython API Docs: better titles.
Brecht Van Lommel [Wed, 21 Nov 2018 16:21:28 +0000 (17:21 +0100)]
Python API Docs: better titles.

The HTML title did not make it clear that these are docs for the API rather
than a general Blender documentation. Some of the page titles were also too
long and redundant.

7 months agoCleanup: warnings
Campbell Barton [Wed, 21 Nov 2018 18:25:51 +0000 (05:25 +1100)]
Cleanup: warnings

7 months agoGP: Set Vertex opacity default for templates
Antonioya [Wed, 21 Nov 2018 18:18:41 +0000 (19:18 +0100)]
GP: Set Vertex opacity default for templates

7 months agoUI: Use primary gizmo color for loopcut edge pre-select.
Pablo Vazquez [Wed, 21 Nov 2018 18:14:56 +0000 (19:14 +0100)]
UI: Use primary gizmo color for loopcut edge pre-select.

Instead of hardcoded pink.

7 months agotransform_snap_object: Use the texture space bound box to test the need to snap to...
mano-wii [Wed, 21 Nov 2018 16:37:56 +0000 (14:37 -0200)]
transform_snap_object: Use the texture space bound box to test the need to snap to meshes in edit mode.

Before a value for bound box was stored in a local cache.

7 months agoGP: Init new Eraser Hard
Antonioya [Wed, 21 Nov 2018 17:03:38 +0000 (18:03 +0100)]
GP: Init new Eraser Hard

7 months agotransform_snap_object: Fix snap to curves.
mano-wii [Wed, 21 Nov 2018 15:06:29 +0000 (13:06 -0200)]
transform_snap_object: Fix snap to curves.

Use `BKE_curve_texspace_get` instead `BKE_curve_boundbox_get`.
The snap to curve, even out of edit mode, is not done on the displist. So test a boundbox that covers the points seens in edit mode.

7 months agoFix T57884: Triangle count is incorrect when above around 2 billion
Philipp Oeser [Mon, 19 Nov 2018 14:24:32 +0000 (15:24 +0100)]
Fix T57884: Triangle count is incorrect when above around 2 billion

Maniphest Tasks: T57884

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

7 months agoDepsgraph: Update comment
Sergey Sharybin [Wed, 21 Nov 2018 15:29:22 +0000 (16:29 +0100)]
Depsgraph: Update comment

7 months agoDepsgraph: Allow flush of CoW tag from Action
Sergey Sharybin [Wed, 21 Nov 2018 15:12:42 +0000 (16:12 +0100)]
Depsgraph: Allow flush of CoW tag from Action

This way we guarantee that action tagged for CoW will ensure
order of updates with objects which are using it.

Fixes T57870: Scaling keyframes in Graph Editor causes crash
Fixes T57971: Moving keys in the Dopesheet crashes with Segfault 11
Fixes T57530: Moving keys on a rig, Crash
Fixee T57491: Crash when trying to move keyframe in dope sheet

7 months agoFix T57975: Drawing with Onion Skin enabled crash Blender
Antonioya [Wed, 21 Nov 2018 14:53:17 +0000 (15:53 +0100)]
Fix T57975: Drawing with Onion Skin enabled crash Blender

7 months agoDepsgraph: Move boundbox sync to the post-geometry evaluation
Sergey Sharybin [Wed, 21 Nov 2018 14:02:36 +0000 (15:02 +0100)]
Depsgraph: Move boundbox sync to the post-geometry evaluation

Boundbox does not depend on transform and only need geometry
component.

This change solves possible race condition accessing geometry
data and allocating/assigning pointers.

Based on disacussion in IRC with @mano-wii and @brecht.

7 months agoDepsgraph: Cleanup, use more clear name
Sergey Sharybin [Wed, 21 Nov 2018 13:52:42 +0000 (14:52 +0100)]
Depsgraph: Cleanup, use more clear name

Five years later since the original commit, is probably not so bad
timing on calling things by their clear name.

7 months agoImplement basic global tablet pressure curve options.
Alexander Gavrilov [Tue, 20 Nov 2018 12:35:59 +0000 (15:35 +0300)]
Implement basic global tablet pressure curve options.

Grease Pencil already implements support for full-featured
per-brush pressure curves, but it is useful to have some
basic global settings that affect all brushes and tools.

This adds two simple options:

- Raw pressure required to achieve full brush intensity.
- Softness control, using a gamma curve internally.

The most important one is the max pressure setting, because it is
critical for ergonomics, but the Linux Wacom driver lacks it.

The softness option internally converts to gamma = 4^-softness.

Reviewers: brecht, campbellbarton

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

7 months agoFix T57811: Render crashes in certain scenes when AO Bounces are used
Sergey Sharybin [Wed, 21 Nov 2018 13:17:26 +0000 (14:17 +0100)]
Fix T57811: Render crashes in certain scenes when AO Bounces are used

7 months agoImage Empties: always show in orthographic view by default
Jacques Lucke [Wed, 21 Nov 2018 12:52:12 +0000 (13:52 +0100)]
Image Empties: always show in orthographic view by default

7 months agoCycles: Cleanup, use utility function
Sergey Sharybin [Wed, 21 Nov 2018 12:51:18 +0000 (13:51 +0100)]
Cycles: Cleanup, use utility function

Replaces inlined platform-specific code.

7 months agoCycles: Cleanup, reduce indentation level
Sergey Sharybin [Wed, 21 Nov 2018 11:23:54 +0000 (12:23 +0100)]
Cycles: Cleanup, reduce indentation level

7 months agoI18N: tweak some UI labels and tips.
Bastien Montagne [Wed, 21 Nov 2018 11:06:59 +0000 (12:06 +0100)]
I18N: tweak some UI labels and tips.

7 months agoI18N defaults: enable tooltip translation.
Bastien Montagne [Wed, 21 Nov 2018 11:05:56 +0000 (12:05 +0100)]
I18N defaults: enable tooltip translation.

That is minimal change for now, we may want to fully enable i18n by
default...

7 months agoUI: small clean-up of I18N UI in userpref.
Bastien Montagne [Wed, 21 Nov 2018 11:04:09 +0000 (12:04 +0100)]
UI: small clean-up of I18N UI in userpref.

Mainly do not hide i18n options anymore, this is against our rules, just
disable them instead.

7 months agoCycles: Cleanup, comments and dead code
Sergey Sharybin [Wed, 21 Nov 2018 10:33:11 +0000 (11:33 +0100)]
Cycles: Cleanup, comments and dead code

7 months agoCycles: Cleanup, CUDA code path is not possible inside AVX2
Sergey Sharybin [Wed, 21 Nov 2018 10:28:49 +0000 (11:28 +0100)]
Cycles: Cleanup, CUDA code path is not possible inside AVX2

7 months agoGP: Change cursor for primitves
Antonioya [Wed, 21 Nov 2018 09:52:46 +0000 (10:52 +0100)]
GP: Change cursor for primitves

7 months agoGP: Remove Target Weight switch
Antonioya [Wed, 21 Nov 2018 08:03:17 +0000 (09:03 +0100)]
GP: Remove Target Weight switch

7 months agoFix uv-sculpt use w/ tool-system
Campbell Barton [Wed, 21 Nov 2018 06:56:10 +0000 (17:56 +1100)]
Fix uv-sculpt use w/ tool-system

7 months agoGizmo: show dial handle for unconstrained extrude
Campbell Barton [Wed, 21 Nov 2018 06:15:53 +0000 (17:15 +1100)]
Gizmo: show dial handle for unconstrained extrude

Now only show an arrow when extrude was constrained on an axis.

7 months agoGizmo: set operator options before execution
Campbell Barton [Wed, 21 Nov 2018 05:00:00 +0000 (16:00 +1100)]
Gizmo: set operator options before execution

Avoid setting all operator options every redraw,
instead set them before invoking.

7 months agoGizmo: run invoke_prepare even when the gizmo isn't modal
Campbell Barton [Wed, 21 Nov 2018 04:35:29 +0000 (15:35 +1100)]
Gizmo: run invoke_prepare even when the gizmo isn't modal

This is useful for setting up state for gizmos that run
operators too.

7 months agoObject: minor changes to jump-to API
Campbell Barton [Wed, 21 Nov 2018 02:06:25 +0000 (13:06 +1100)]
Object: minor changes to jump-to API

- Always select the jump-to object, even if it's active.
- Remove check for invalid object data
  (these cases will fail much earlier).

7 months agoCleanup: add reveal_hidden arg to jump-to API calls
Campbell Barton [Wed, 21 Nov 2018 02:04:03 +0000 (13:04 +1100)]
Cleanup: add reveal_hidden arg to jump-to API calls

Jumping to data shouldn't necessarily change hidden status
or visible layers.

7 months agoGizmo: workaround for extrude modifying normals for XYZ axis
Campbell Barton [Wed, 21 Nov 2018 01:39:05 +0000 (12:39 +1100)]
Gizmo: workaround for extrude modifying normals for XYZ axis

This was done for the normal gizmo, but not the XYZ handles.

7 months agoFix custom matrix orientation being written to scene
Campbell Barton [Wed, 21 Nov 2018 01:47:25 +0000 (12:47 +1100)]
Fix custom matrix orientation being written to scene

7 months agoCorrect editbone root-select check
Campbell Barton [Wed, 21 Nov 2018 01:57:08 +0000 (12:57 +1100)]
Correct editbone root-select check

Mistake in recent commit.

7 months agoGizmo: use Y-axis for armature extrude on normal
Campbell Barton [Wed, 21 Nov 2018 01:12:20 +0000 (12:12 +1100)]
Gizmo: use Y-axis for armature extrude on normal

For bones it's useful to extrude a bone aligned to the existing bone.

7 months agoGizmo: set the extrude transform constraint matrix
Campbell Barton [Wed, 21 Nov 2018 00:42:56 +0000 (11:42 +1100)]
Gizmo: set the extrude transform constraint matrix

7 months agoUI: Horizontal/Vertical split options in Area menu.
Pablo Vazquez [Wed, 21 Nov 2018 00:33:33 +0000 (01:33 +0100)]
UI: Horizontal/Vertical split options in Area menu.

7 months agoTransform: use root/tip for bone normal orientation
Campbell Barton [Wed, 21 Nov 2018 00:31:37 +0000 (11:31 +1100)]
Transform: use root/tip for bone normal orientation

When there are no fully selected bones,
use the normal of bones which only have the root/tip selected as a
fallback.

Without this, the extrude gizmo isn't very useful
since extrude is often used with only the tip selected.

7 months agoUI: Icon and separator for Add Node (Search).
Pablo Vazquez [Wed, 21 Nov 2018 00:25:44 +0000 (01:25 +0100)]
UI: Icon and separator for Add Node (Search).

7 months agoUI Theme: Minor improvements on contrast and consistency.
Pablo Vazquez [Tue, 20 Nov 2018 23:31:28 +0000 (00:31 +0100)]
UI Theme: Minor improvements on contrast and consistency.

* 3D Viewport grid adjustment to work with both bright/dark viewports (e.g. 2D Animation)
* Match header/grid of NLA with Dopesheet/Graph Editor.
* Avoid pure whites in unselected/inactive text.
* Darken the scrollbar numbers.

7 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

7 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.