Commit Graph

3756 Commits

Author SHA1 Message Date
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
Campbell Barton
75980f4af2 Revert "Cleanup: use tuples in python according to feedback"
This reverts commit b1f0e4c2d6.

Sets are typically preferred for __contains__ checks
when order doesn't matter.
2018-09-17 09:01:00 +10:00
Ines Almeida
b1f0e4c2d6 Cleanup: use tuples in python according to feedback 2018-09-15 17:28:20 +02: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
Antonioya
54f1375e29 GP: Add pressure option to eraser size 2018-09-14 22:54:18 +02:00
Antonioya
460731f39e GP: Some changes to eraser panel 2018-09-14 22:54:18 +02:00
Luca Rood
c4ef2e2f2e Cloth: Improve UI
This reorganizes the cloth UI, and changes some of the behaviour to be
more reasonable.

Changes included here:
* Reorganized cloth panels
* Improved some tooltips
* Removed `vel_damping` option
* Removed cloth pinning checkbox
* Removed stiffness scaling checkbox
* Separated shrinking from sewing
* Separated self collisions from object collisions

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D3691
2018-09-14 15:52:00 +02:00
Antonioya
1d76fbf3df GP: Add thickness and stregth factor to UI
Now it's possible change the factors for soft eraser.
2018-09-14 10:31:47 +02:00
Antonioya
18141863b2 GP: Fix armature deformation weight problem
The armature was using only weight 1 or 0, but not the real value.

Also removed unused parm in UI panel.
2018-09-14 08:57:46 +02:00
Antonioya
ee7236859d GP: Change fill option text 2018-09-13 18:35:45 +02:00
Antonioya
d6f896da22 GP: Add strength factor for eraser brush
This gives more control.
2018-09-13 18:34:34 +02:00
Antonioya
a273e432cc GP: Add pressure button for eraser brushes 2018-09-13 16:52:27 +02:00
Antonioya
3d2f596d94 GP: Add a separartion for leak size in fill panel 2018-09-13 15:40:48 +02:00
Campbell Barton
e8fa13b01e Fix leak in tool tooltip creation 2018-09-13 18:21:54 +10: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
Ines Almeida
32a461adf2 Shader Editor: tweak when the UI for managing the material is enabled
- disable the UI if the currently selected object does not support materials.
- add Metaballs and GPencil as types supporting material.
2018-09-12 20:07:03 +02:00
Antonioya
6018a3b4e8 GP: Hide panels for eraser brushes 2018-09-12 15:18:23 +02:00
Antonioya
b172209b4b GP: Remove brush type from panel
The brush type is get from previous brush
2018-09-12 15:18:22 +02:00
Antonioya
cf376bc451 GP: Change UI panel parameter smooth order 2018-09-12 10:17:18 +02:00
Campbell Barton
18986160a5 Tool System: show bisect tool options 2018-09-12 06:36:26 +10:00
Brecht Van Lommel
e1178266e7 Workspace: support reordering of workspaces from RMB menu.
Drag and drop will follow later, it's a bit complicated to make this work
reliable in the current UI code.
2018-09-11 12:43:28 +02:00
Campbell Barton
65c5abc236 Cleanup: remove dead code 2018-09-11 18:30:55 +10:00
Campbell Barton
b05f9e35cb Cleanup: unused variables 2018-09-11 18:15:55 +10:00
Campbell Barton
29fa45b695 Correct merge conflict 2018-09-11 17:47:30 +10:00
Campbell Barton
01e6f09001 Merge branch 'master' into blender2.8 2018-09-11 17:45:38 +10:00
Campbell Barton
bf8aac0d49 Cleanup: unused variables 2018-09-11 17:32:21 +10:00
William Reynish
a0581daf75 UI: use property split for motion paths 2018-09-11 16:52:18 +10:00
Dalai Felinto
58622eb3a6 Image/UV Editor: Remove show other option
This is no longer useful now that we have multi-object editing support.
2018-09-10 10:43:30 -03: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
5e942f459f UI: Disable popup for object mode delete from menu
Since there are no options to change, delete immediately.
2018-09-08 06:56:48 +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
William Reynish
6eeb07b870 UI: add mark/clear seam to UV menu in 3D viewport. 2018-09-06 14:13:43 +02:00
Brecht Van Lommel
e0a4dc6a79 UI / Python: rename X-Ray to In Front, Draw to Display.
See T56648.
2018-09-06 13:26:46 +02: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
5f66924066 Fix exception w/ grease pencil brush tooltips 2018-09-06 18:28:33 +10:00
Clément Foucault
58a90dbd97 UI: Change "Show Edge Seams" toggle position 2018-09-05 19:00:13 +02:00
Campbell Barton
66f8a2d67e UI: remove delete redo panel
Since the option is now hidden from the UI, add to the object menu
(without this the key binding isn't discoverable).
2018-09-05 22:57:45 +10: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
Dalai Felinto
312af01fb4 3D Text: improvements to vertical alignment
They way Blender handles vertical alignment is very buggy:

- Top-Base: It works perfectly.

- Bottom: It is actually bottom-baseline,
  and it fails when line size is != 1.0 when working with text boxes.

- Top: Poorly implemented, it should use font's ascent
  (recommended distance from baseline),
  so it has room for accents,
  but it's not one line distance far from the origin (as it is now).

- Center: Poorly implemented.
  This is tricky since there is no silver bullet.

To clear this situation I created a new option (Bottom-Baseline),
and addressed the issues above.
I'm getting the ascent and descent from freetype2,
and use this for padding above/below the text.
Also for vertically centering the text.
2018-09-05 11:33:14 +10:00
Campbell Barton
5ca3407ac4 Correct edge rip tool operator 2018-09-05 08:46:57 +10:00
Antonioya
ba6daadb9d GP: Reorder Viewport Display panel options 2018-09-04 22:11:18 +02:00
Campbell Barton
3140304940 Cleanup: overly polite/rude messages 2018-09-04 18:45:17 +10:00
Campbell Barton
765d1eadb9 Fix error when no tool is active 2018-09-04 18:31:02 +10:00
Campbell Barton
1d04d7721b Cleanup: pep8 2018-09-04 08:50:11 +10:00
Campbell Barton
f428efc6db Correct toolbar tips for non sculpt modes 2018-09-04 08:13:54 +10:00