Commit Graph

138 Commits

Author SHA1 Message Date
Antonioya
9e8c0d061c GP: Remove add/delete buttons from topbar material popover 2018-09-28 14:01:52 +02:00
Antonioya
1bd81babbd GP: Make materials topbar list longer 2018-09-27 21:11:13 +02:00
Antonioya
bb06598fd6 GP: Reorganize topbar material selector 2018-09-27 20:50:22 +02:00
Campbell Barton
250a377592 Partial revert of recent toolsystem defaults
- Use ctrl for de-select since we may want to use shift for extend.
- Use cursor tool by default,
  it's agreed lasso select isn't accessible from a shortcut by default.
2018-09-27 21:19:45 +10:00
Campbell Barton
08f9cd3218 Tool System: expose rotate-source for click-extrude 2018-09-27 12:23:01 +10:00
Campbell Barton
06846efdb0 Keymap: use shift to de-deselect for tools
This allows for Ctrl-LMB
to be used for lasso even with Border-Select active.
2018-09-27 11:31:41 +10:00
Antonioya
42600ab214 GP: Add select tools in sculpt mode 2018-09-25 13:35:14 +02:00
Antonioya
fbede83afd GP: Change appearance panel for sculpt brushes 2018-09-21 23:11:30 +02:00
Antonioya
3a61771fdc GP: Move mask button to header 2018-09-21 22:59:24 +02:00
Antonioya
664865680a GP: More changes to sculpt panels and topbar 2018-09-21 22:50:20 +02:00
Brecht Van Lommel
890b617919 Fix Python errors in weight paint mode. 2018-09-21 20:21:40 +02:00
Antonioya
87bbf4439d GP: Fix select tools from toolbar error
The operators used were not the right ones.
2018-09-21 10:30:05 +02:00
Campbell Barton
7a3474ddfd Gizmo: spin tool XYZ axis toggles
New handle type for initial spin,
gives clear differentiation between do & redo (similar to extrude).

Some tweaks still required to match T56571.
2018-09-21 13:48:22 +10:00
Antonioya
4264cee921 GP: Cleanup unused code 2018-09-20 18:52:57 +02:00
Campbell Barton
e16e17486b Gizmo: use spin widgets by default
- Now the spin tool has a persistent gizmo.
- Uses scene orientation, with additional view orientation.
- Uses the cursor center, ignoring the pivot since the
  selection center is rarely useful.
- Disable most of the redo gizmo's for now since they overlap,
  only allow adjusting the angle.

  Note: mixing new action with adjusting previous is confusing,
  we'll want to have design guidelines regarding this.
2018-09-18 13:44:41 +10:00
Campbell Barton
7b11558aa8 UI: show steps for spin tool 2018-09-17 14:52:54 +10:00
Campbell Barton
2997f11941 Gizmo: start spin gizmo dragging
- Only respond to drag event, so placing the cursor is possible.
- Start off with zero rotation, dragging adjusts.
2018-09-17 14:34:51 +10:00
Antonioya
6b024c7e1a GP: Improve errase panel and toolbars
Some names were not clear enough and some parameters were missing.
2018-09-14 22:54:19 +02:00
Campbell Barton
f65a703cc8 Cleanup: whitespace 2018-09-13 09:26:42 +10:00
Campbell Barton
4c2ac2a02f UI: show options for smooth and randomize 2018-09-13 09:23:24 +10:00
Campbell Barton
9e5259b043 Tool System: make smooth and randomize interactive 2018-09-13 09:19:30 +10:00
Campbell Barton
18986160a5 Tool System: show bisect tool options 2018-09-12 06:36:26 +10:00
Campbell Barton
b05f9e35cb Cleanup: unused variables 2018-09-11 18:15:55 +10:00
Campbell Barton
20634fd433 Tool System: use preselect highlight w/ poly-build
- Poly build now uses a new gizmo for pre-selection
  which has the same behavior as loop-cut.

  This replaces hack where mouse-move set the active element
  which was no longer working properly because of missing
  depsgraph updates.

- Multi-object support for poly-build.

- Support for deformed cage.

- Fix error where changing active object wasn't properly
  refreshing the preselect gizmo (for loopcut too).

Currently holding Alt to select non-boundary element's isn't working.
2018-09-10 14:35:04 +10:00
Campbell Barton
bf5609cc8c Annotate Tool: allow drawing dots 2018-09-07 21:16:36 +10:00
Campbell Barton
8115b99ecd UI: add useful information to 'Measure' tooltip 2018-09-07 11:48:03 +10:00
Brecht Van Lommel
f1c8c25a3e UI: rename Translate/Grab to Move in UI, shortcuts stay the same. 2018-09-06 12:22:09 +02:00
Campbell Barton
717f976a0e Correct last commit (keep same location as brushes) 2018-09-05 16:05:00 +10:00
Campbell Barton
e965af50b3 Tool System: show weight for the gradient tool 2018-09-05 16:01:53 +10:00
Campbell Barton
5ca3407ac4 Correct edge rip tool operator 2018-09-05 08:46:57 +10:00
Campbell Barton
ba21c27e76 Cleanup: use single quotes for enum's 2018-09-03 14:15:18 +10:00
Campbell Barton
b1ccb6ad25 Tool System: support tool description for tips
When the description isn't set, the operators is used instead.
2018-08-31 14:37:10 +10:00
Campbell Barton
5269a3c1af Tool System: tool to extrude along normals 2018-08-29 23:00:57 +10:00
Campbell Barton
1858689afb Cleanup: rename manipulator -> gizmo 2018-08-29 18:40:32 +10:00
Campbell Barton
54a13da1b1 Tool System: only show select tool w/ paint mask 2018-08-29 16:26:50 +10:00
Campbell Barton
f21d6c3187 Tool System: add curve extrude 2018-08-29 15:14:41 +10:00
Campbell Barton
6778eb89ea Tool System: show radius for circle select 2018-08-29 15:04:05 +10:00
Campbell Barton
ab2b6134c9 Tool System: make armature extrude use drag event
Extrude tool was calling click-extrude.
2018-08-29 11:11:11 +10:00
Campbell Barton
590a6b5269 Cleanup: pep8 2018-08-28 21:01:22 +10:00
William Reynish
c1503cd447 Tool System: use release_confirm for gpencil
Also rename some grease pencil tools.
2018-08-28 20:43:34 +10:00
William Reynish
95cbb70cf7 Tool System: add shear and to-sphere tools 2018-08-28 20:41:48 +10:00
Antonioya
1a7837596c GP: Select color in Brush or in Properties
After some artist feedback the material selection was not clear.

Now, the material can be selected in the top bar or in the properties panel.

1) If the material is selected in properties panel, all Brushes except pinned will be assigned to this material.

2) If the material is selected in the brush, the properties panel is updated to set the active material.

Added a new Pin icon to keep locked the material to one brush
2018-08-25 00:04:40 +02:00
William Reynish
2dafc39d56 Icons: new icons for sculpt border hide/mask 2018-08-23 23:06:24 +10:00
Campbell Barton
73f90b2505 Fix annotate tool in the 3D view
We can't share tools between space-types since they contain keymaps
that store the space type.
2018-08-23 20:25:25 +10:00
Campbell Barton
32f3ecf701 Cleanup: use staticmethod when class isn't used 2018-08-23 20:16:50 +10:00
Campbell Barton
48f7fe4829 UI: rename "Ruler" to "Measure" 2018-08-23 19:50:05 +10:00
Campbell Barton
3fc755e938 Tool System: Sculpt border hide/mask tools 2018-08-23 12:56:02 +10:00
Campbell Barton
5203ebbaad Tool System: remove cursor tool from paint modes 2018-08-23 12:12:11 +10:00
Campbell Barton
7f9381d99d Tool System: expose correct UV for vert/edge slide 2018-08-22 17:53:03 +10:00
Campbell Barton
17eade61ef Tool System: bevel now confirms on release 2018-08-22 17:43:49 +10:00