Commit Graph

121 Commits

Author SHA1 Message Date
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
Campbell Barton
d31932b6d7 Tool System: options for bevel tool 2018-08-22 17:38:45 +10:00
Campbell Barton
cf038bcb15 Tool System: loop cut, confirm on release
When accessed as a tool it felt awkward to click twice to execute.
2018-08-22 14:22:57 +10:00
Campbell Barton
f6778ea63a Tool System: add cuts & correct UV's options 2018-08-22 14:04:37 +10:00
Campbell Barton
79ecfc99fd Tool System: loopcut preview & activate on click
The loop cut tool now works as expected for the tool-system,
where hovering previews the loop and clicking activates.

This uses a new gizmo type to pre-select the edge.
2018-08-21 19:05:07 +10:00
Joshua Leung
939a5cb6ee Image Editor: Add active tool button for Annotations (WIP - Event handling not working)
This reuses the tool defines for the 3D view. However, for some reason,
the events don't seem to be getting fired off here, like the tool system
is getting ignored here completely.

FIXME: Resolve the event handling issues
2018-08-21 01:22:02 +12:00
Brecht Van Lommel
fa70826167 Fix more image editor Python errors after switching workspaces. 2018-08-17 14:17:06 +02:00
Brecht Van Lommel
9f0f8aabe2 Fix error with image editor toolsystem when switching to some workspaces. 2018-08-17 13:00:31 +02:00
Campbell Barton
fdb4062294 Cleanup: unused variables 2018-08-15 01:52:39 +10:00
Campbell Barton
e88e80a6a0 3D View boarder/lasso select tool options
Add tool options to control how select operates (add/sub/set/and/xor).

Note: edit mode armature select still needs to support all options,
this is complicated by how it handles partial end-point selection.
2018-08-15 01:48:55 +10:00
Campbell Barton
98c304e865 Gizmo: add option to catch all mouse clicks
This was previously default behavior, now it's default.
2018-08-10 21:04:06 +10:00
Campbell Barton
75d0830dc0 Cleanup: use dictionary for icon lookup 2018-08-02 22:28:48 +10:00
Campbell Barton
3a93314753 Tool System: initial particle system support 2018-08-02 19:27:26 +10:00
Campbell Barton
d79df6c0bc Tool System: sync changes from changes to brushes
Changing a brush now updates the tool.
2018-08-02 18:18:53 +10:00
Campbell Barton
d6d29f9854 UI: add 3D view check for grease pencil tool 2018-08-01 16:04:21 +10:00
Campbell Barton
e665e012e9 UI: correct grease pencil placement text 2018-08-01 12:24:32 +10:00
Campbell Barton
1b0c1c551a UI: remove grease pencil settings from topbar
Top bar is only for settings that apply to the next action
not a way to change existing data.

If each stroke could have a different color this would work as expected,
however it was adjusting the current layer color.
2018-07-31 23:02:18 +10:00
Campbell Barton
c1185f3d0d Cleanup: pep8, windows line endings 2018-07-31 21:31:04 +10:00