Commit Graph

434 Commits

Author SHA1 Message Date
Jacques Lucke 594f2b8016 Fix T61671: Too strong too dark text shadow in Blender Light theme
Reviewers: pablovazquez

Differential Revision: https://developer.blender.org/D4468
2019-03-07 15:55:59 +01:00
Campbell Barton 1901595898 Tool System: use set/add/subtract for all lasso select operators 2019-03-07 23:45:58 +11:00
William Reynish cee53160d2 Tools: Add Radius tool to Grease Pencil toolbar
Icon pending.
2019-03-07 11:12:30 +01:00
Campbell Barton aef3eff5aa Cleanup: de-duplicate selection keymap templates 2019-03-07 20:53:53 +11:00
Campbell Barton 219e2f976d Tool System: use set/add/subtract for all box select operators 2019-03-07 20:34:10 +11:00
Campbell Barton 48e48653c2 Tool System: add radius option to the image sample tool 2019-03-07 18:03:40 +11:00
Campbell Barton de0f4ec315 Cleanup: pylint warnings 2019-03-07 10:02:25 +11:00
Campbell Barton 872412284c Fix grease pencil sculpt circle keymap
Missed when updating circle select operators.
2019-03-07 00:35:53 +11:00
Campbell Barton a111204ca9 WM: match select all behavior for the info space
Adds select invert to the operator.

D4454 by @Poulpator
2019-03-06 11:12:27 +11:00
Campbell Barton 2a811e6955 Tool System: add node circle select tool 2019-03-05 23:29:49 +11:00
Campbell Barton 8d8d113b73 Tool System: use set/add/subtract for all circle select operators
This applies changes from the 3D view circle select to other operators.
2019-03-05 22:26:45 +11:00
Campbell Barton 08e1218d5d Cleanup: move keymap circle select items to template 2019-03-05 15:47:56 +11:00
Antonio Vazquez 8df5e0eb66 GPencil: New extrude operator
Keymap: E   - Extrude Gizmo supported.

If the extrude points are the first or last of the stroke, the stroke is extended.

If the extrude points are in the middle of the stroke, a new stroke is created because the grease pencil strokes can be only with 2 extremes and fold the stroke to get a new point gets very bad results.

Still pending define a new icon. Also, it could be good to set by default XYZ axis in the gizmo.

Note: There is a change in the transform_gizmo_extrude_3d.c gizmo for OB_MODE_EDIT_GPENCIL. This change must be undo when the mode will be integrated into OB_MODE_EDIT, but while we have both modes, we need to keep this code in order to keep running the gizmo.
2019-03-04 19:40:50 +01:00
Campbell Barton b3a324bec9 UI: Move paint context menus to panels
See proposal: T62130
2019-03-04 20:13:07 +11:00
William Reynish fd3ef61bc1 Tools: Rename Curve Shrink/Fatten to Radius
This is fundamentally different from Shrink/Fatten for meshes, because the control points are not moved, only the radius.
Issue raised by Ronan Ducluzeau, name suggested by Campbell Barton
2019-03-04 09:50:59 +01:00
William Reynish a6c30dd91c Tools: Add Randomize to Curve Edit toolbar 2019-03-03 20:37:47 +01:00
William Reynish a7f5de75f8 Tools: Remove parenthesis from Spin Duplicates tool name 2019-03-03 13:57:01 +01:00
William Reynish 65a3fe46b5 Tools: Add Shrink/Fatten to Curve Edit Toolbar 2019-03-03 12:37:18 +01:00
Campbell Barton 053c3bd48a Tool System: add a mode option to 3D view circle select
Support only basic operations: new/add/subtract.
2019-03-01 23:21:24 +11:00
Campbell Barton 665d987e7b Keymap: use tap/drag for mode switching w/ pref enabled 2019-02-28 01:04:32 +11:00
Dalai Felinto b6c61945ae Fix T55921: Toggling visibility for collections doesn't work in Pose
It is always dangerous to add more shortcuts those days. But this way it
is consistent with 2.79 to a point.

When in edit mode (mesh, greasepencil, ...) 1-3 to change submode still
has priority.

When in posemode or greasepencil draw mode however, 1-9 can still be
used to temporarily get some collections out of the way.
2019-02-22 12:33:24 -03:00
Campbell Barton 3feeafac28 Theme: update blender-light theme clipping border
Color was too dark compared to the background color.
2019-02-21 16:10:51 +11:00
Campbell Barton e644da1f8e Keymap: add context menus for paint modes
These are place-holders with only a few items in each, as with the rest
of the context menus they need to be populated & organized.

Weight Paint 'weight' shortcut has been changed from W to Ctrl-F,
to co-exist w/ the context menu shortcut.
2019-02-21 15:43:39 +11:00
Campbell Barton c0659c83a9 Keymap: Ctrl-Home/End to set start/end frame
New shortcuts for the dope-sheet.
2019-02-21 14:38:22 +11:00
Brecht Van Lommel b285f92d80 Fix File > Save not showing red highlight when saving over existing files.
Don't disable the save over popup through the keymap, just remove it entirely
from the code so that the file browser interprets the property correctly.
2019-02-20 14:04:12 +01:00
Campbell Barton 4d085c9bae Measure Tool: use x/del key to remove the active ruler
Dragging outside the view was only meant to be a temporary workaround.
2019-02-20 16:44:54 +11:00
Campbell Barton b42333fba6 Keymap: preference for alternate tap action for some pie menus
This allows secondary keys on tap.
Currently Z-key to toggle wireframe and tilde for navigation.

This is currently experimental, if users like this the preference
can be kept and used where appropriate.
2019-02-14 09:44:13 +11:00
Campbell Barton bdeb9f047a Keymap: Alt-N to flip normals
Add shortcut since this has been removed from the context menu,
now it's in the mesh normals menu which isn't so convenient to access.

Shift-N is already used to recalculate normals,
this fits the convention of Alt removing/reversing.
2019-02-14 08:49:26 +11:00
Antonio Vazquez 03d25184d9 Fix T61458: GP Ctrl + F doesn't do anything
This keymap was used in the old grease pencil and now must be removed.

The keymaps for brush are:

F: Change Radius
Shift + F: Change strength

Ctrl+F -> Removed.
2019-02-12 16:38:02 +01:00
Howard Trickey 9ca6fc41ae Bevel: Make modal keymap instead of hardcoded.
Also added keys for toggling harden normals,
and cycling through miter types.
Still to do: add some shortcuts for affecting the
spread value for arc miters.
2019-02-10 16:08:25 -05:00
Dalai Felinto e04d6794d0 Outliner Visibility: Alt+H operator to unhide all objects and collections 2019-02-08 19:59:02 -02:00
Dalai Felinto 744223afbf Outliner Visibility: H operator to hide collection or objects 2019-02-08 19:44:37 -02:00
Campbell Barton 6b2a91efff Cleanup: use sys.platform instead of platform module
This was indirectly importing other modules we don't use at startup.
`sys.platform` is sufficient.
2019-02-04 23:07:06 +11:00
Campbell Barton 7894d6c6f1 Cleanup: line length 2019-01-30 09:06:44 +11:00
Campbell Barton 9b40da94a3 Keymap: move grease pencil Alt-C to 2.7x map
This has been removed from the default map, so don't use elsewhere.
2019-01-26 12:56:56 +11:00
Campbell Barton c53ebfa9e9 3D View: add back clipping border operator 2019-01-21 11:05:15 +11:00
Brecht Van Lommel bb70594c1b Fix T60497: edgering select not available with LMB select and MMB emulation.
This is now handled with Ctrl + double click LMB, similar to loop select.
2019-01-15 11:42:08 +01:00
Antonio Vazquez bb9c9d0eaa GP: New Cutter, Constraints and Segment selection
This commit groups a set of new tools that were tested in grease pencil object branch before moving to master. We decide to do all the development in a separated branch because it could break master during days or weeks before the new tools were ready to deploy.

The commit includes:

- New Cutter tool to trim strokes and help cleaning up drawings.

- New set of constraints and guides to draw different types of shapes. All the credits for this development goes to Charlie Jolly (@charlie), thanks for your help!

- Segment selection mode to select strokes between intersections.

- New operator to change strokes cap mode.

- New option to display only keyframed frames. This option is very important when fill strokes with color.

- Multiple small fixes and tweaks.

Thanks to @pepeland and @mendio for their ideas, tests, reviews and support.

Note: Still pending the final icons for Cutter in Toolbar and Segment Selection in Topbar. @billreynish could help us here?
2019-01-11 19:21:56 +01:00
Campbell Barton 459c4e8e6e Theme: update blender light theme preferences
Copy from properties space.
2019-01-11 15:11:00 +11:00
Campbell Barton 5119d72f9a Theme: disable blender_light 3D view gradient
- Lost contrast w/ faded wire for dupli/set-scene.
- Make grid darker to increase contrast.
2019-01-11 15:02:58 +11:00
Campbell Barton ef818009e0 Fix T60306: Circle select tool behaves like a mode 2019-01-08 22:15:00 +11:00
Campbell Barton 1461d0185c Theme: update 2019-01-05 21:32:38 +11:00
Brecht Van Lommel ae01a851a6 Fix T58657: blender 2.7 keymap Alt+A does not work for animation playback. 2019-01-04 14:45:16 +01:00
Brecht Van Lommel 32ae3abbab Fix T59768: UV context menu showing in image editor. 2019-01-04 13:48:30 +01:00
Antonio Vazquez 310e7eee6f GP: Include Lasso eraser in Fill and Primitives
This option allows to delete sections using Ctrl+Alt.
2019-01-03 11:29:33 +01:00
Brecht Van Lommel ae3f68a395 Fix T59991: duplicate entries for node select operators in keymap.
Ref D4055.
2018-12-31 14:11:42 +01:00
Bastien Montagne e4dbfe0a98 Fix T59866: UV editor: no circle select. 2018-12-26 23:09:34 +01:00
Campbell Barton 63fcbfc3a7 RNA: naming, user-preferences -> preferences 2018-12-21 12:55:02 +11:00
Jacques Lucke 63ed86b06f Fix T59674: context menu for channels not found 2018-12-20 13:36:43 +01:00
Jacques Lucke b047866459 Fix T58404: Node/Socket grabbing with Lasso tool
Reviewers: brecht

Differential Revision: https://developer.blender.org/D4108
2018-12-20 10:55:30 +01:00