Commit Graph

8927 Commits

Author SHA1 Message Date
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
09aa446100 Merge branch 'master' into blender2.8 2018-09-13 20:15:18 +10:00
Campbell Barton
254067106e PyAPI: remove operator methods that leak memory 2018-09-13 20:10:56 +10:00
Campbell Barton
ff432a410a PyAPI: use brief description for operator repr
Only include description in docstring.

Also avoid using op_get_rna.
2018-09-13 19:59:15 +10:00
Campbell Barton
e8fa13b01e Fix leak in tool tooltip creation 2018-09-13 18:21:54 +10:00
Campbell Barton
af1cf00003 Merge branch 'master' into blender2.8 2018-09-13 18:19:24 +10:00
Campbell Barton
a6fc718029 PyAPI: add API call to get an operators type
Getting the instance leaks memory and was only meant to be used for
generating docs.
2018-09-13 18:16:06 +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
Bastien Montagne
e9ffe93350 Fix T56766: Bake Action Visual Keying Not Working.
Consequences of new requirement to use named keywords parameters for our
RNA API... Hopefully fixed all other cases in that file as well, but
guess we'll find more of those in comming weeks. :|
2018-09-12 11:52:06 +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
Antonioya
f176c2fdb3 Revert wrong add-on folder update 2018-09-10 22:04:53 +02:00
Antonioya
3319f80e03 GP: Fix performance problem with big files
During drawing, the depsgrah was tagged to update and this produced a full copy of the datablock. This tag was done in order to get the right data in drawing engine, but this added a great overhead while drawing and the response of the pen was not good.

Now, the depsgraph is not tagged and the drawing engine uses the original copy data of the buffer datablock. This is not a problem because only can draw in one window at time.
2018-09-10 20:24:37 +02:00
Bastien Montagne
defbe14077 Fix object_utils.py's matrix multiplication (use new @ syntax). 2018-09-10 18:03:40 +02:00
Bastien Montagne
fc95efec06 Fix image_utils.py's load_image() helper. 2018-09-10 17:35:50 +02: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
b8ac2379eb Cleanup: remove redundant assignment 2018-09-08 07:29:15 +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
570b328fac Cleanup: Update shortcut in comment 2018-09-08 06:54:03 +10:00
Campbell Barton
9c441dcd73 Gizmo: update template to use matrix multiply 2018-09-08 06:51:02 +10:00
Campbell Barton
66d275f8d3 RNA: update gizmo API for changes in Blender
- gpu module renamed.
- make gizmo.new() take type as a required argument.
2018-09-08 06:50:02 +10:00
Campbell Barton
f23319d095 RNA: Area.header_text_set text is now required 2018-09-08 06:23:25 +10:00
Sergey Sharybin
f440fdec84 Fix operators from W menu for the API changes 2018-09-07 16:41:19 +02: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