Commit Graph

9430 Commits

Author SHA1 Message Date
fb8aa611d0 UI: String tweak for "UnLock" and Un-Mute in VSE 2018-11-22 02:02:11 +01:00
644e66caca UI: Fix Lock/Mute menu in VSE
Thanks @tintwotin for reporting it!
2018-11-22 02:02:11 +01:00
d5f1d4f789 Cleanup: utility function to avoid duplicate keys 2018-11-22 11:54:53 +11:00
553307bec1 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.
2018-11-22 11:35:46 +11:00
120be7740d Fix toolbar popup keymap not allowing 'A' key 2018-11-22 11:33:10 +11:00
3b7daa5bf4 Tool System: Updates for keymap stored as string 2018-11-22 11:13:53 +11:00
f44a8bd257 Tool System: store keymap name in tool instead of the keymap
Resetting keymaps caused them to become invalid (crashing on access).
2018-11-22 10:25:24 +11:00
4fa693f627 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.
2018-11-22 09:09:42 +11:00
7e50813d58 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.
2018-11-22 09:01:00 +11:00
d52c41b040 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.
2018-11-22 08:14:20 +11:00
77764ab22c 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.
2018-11-21 22:03:24 +01:00
b508de3d3c UI: First batch of fixing missing categories for panels. 2018-11-21 22:03:24 +01:00
a9bf6a3b3a UI: hide keymap preferences when filter is used 2018-11-22 07:52:34 +11:00
360fd9ac2c Keymap: correct error in grease pencil change 2018-11-22 07:48:34 +11:00
d78f1eb916 Keymap: remove annotation keymap editmode toggle
This is now used for grease pencil objects.
2018-11-22 06:51:47 +11:00
4c63ea2bc8 Keymap: Adjust shading key bindings
- 'Z' now toggles xray
  (convenient, 2.7x-like binding to show occluded).
- 'D' shows the draw-type pie-menu.
2018-11-22 06:51:00 +11:00
2ad4cd097a Keymap: remove D-Key shortcuts for annotations
Use tools for annotations instead.
2018-11-22 06:44:32 +11:00
7d985fcc1b 3D View: move x-ray toggle to operator
Allows binding to a key.
2018-11-22 06:44:32 +11:00
44612e07fe Keymap: use Ctrl-Tab to toggle fcurve/graph editor
Suggested by Pablo Vazquez.
2018-11-22 05:59:02 +11:00
e8b9ff78dc 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.
2018-11-21 19:31:20 +01:00
f5df1efa2f Cleanup: warnings 2018-11-22 05:26:18 +11:00
539b465b32 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
2018-11-21 16:34:07 +03:00
b93c81e002 Image Empties: always show in orthographic view by default 2018-11-21 13:52:12 +01:00
ed1ee89288 I18N: tweak some UI labels and tips. 2018-11-21 12:06:59 +01:00
5892f0fd0c 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.
2018-11-21 12:04:09 +01:00
e85aa8b8da GP: Change cursor for primitves 2018-11-21 10:52:46 +01:00
3a64d7ca48 GP: Remove Target Weight switch 2018-11-21 09:03:17 +01:00
7de712e1e5 Fix uv-sculpt use w/ tool-system 2018-11-21 17:56:10 +11:00
b6918eaf23 UI: Horizontal/Vertical split options in Area menu. 2018-11-21 01:33:41 +01:00
d433e9de5c UI: Icon and separator for Add Node (Search). 2018-11-21 01:25:44 +01:00
91e8509467 Cleanup: use boolean array for mirror modifier 2018-11-21 10:30:51 +11:00
19875439b5 Modifier: Mirror learns to bisect on plane
D3966 by @kioku w/ edits.

This adds bisect and flip options to mirror modifier.
2018-11-21 10:01:04 +11:00
6aa7cea3c2 Cleanup: rename extrude gizmo 2018-11-21 09:25:55 +11:00
34b9bd3a9b Gizmo: initial extrude support for non mesh types 2018-11-21 09:09:34 +11:00
fb4c2ed1a9 Fix T57892: Align Objects in Blender 2.8 Alpha 2 last Builds.
Needed some update for API changes...
2018-11-20 22:14:00 +01:00
a4a9123c33 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.
2018-11-20 20:05:37 +01:00
ec908beab3 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.
2018-11-20 18:12:04 +01:00
86e0d13218 Images: "Image" submenu in "Add" menu
The submenu has two entries currently: "Reference" and "Background".
Both operators produce an image empty with different settings.
2018-11-20 12:44:49 +01:00
76d602f38d 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...
2018-11-20 12:35:05 +01:00
a19ee4e926 Tool System: define tools for lattice editmode 2018-11-20 21:41:39 +11:00
057ba2eb68 Fix error generating toolbar tooltip
C code needed to be updated for module move.
2018-11-20 21:35:24 +11:00
640eb00670 Tool System: define tools for meta-ball editmode 2018-11-20 18:52:56 +11:00
9d85cf0d54 Theme: avoid right-shift in XML files
Use 2 space indent for attributes, ~20% smaller files.
2018-11-20 13:15:26 +11:00
9a1796797e 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.
2018-11-20 12:37:04 +11:00
916446e83f Cleanup: move keymap hierarchy into own file 2018-11-20 11:38:13 +11:00
bb5a96e76e 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'.
2018-11-20 11:17:36 +11:00
f8c16b0175 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.
2018-11-20 11:06:01 +11:00
d870e7d930 Keymap: skip save prompt for default keymap
See T57880
2018-11-20 10:15:33 +11:00
47139c69d7 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
2018-11-20 10:06:02 +11:00
5f9de429ac 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.
2018-11-20 09:15:53 +11:00