Commit Graph

11454 Commits

Author SHA1 Message Date
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
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
Dalai Felinto
b060248324 Multi-Objects: UV_OT_follow_active_quads
Starring: the overengineered error report system to make sure only one error
is reported.
2018-09-05 19:27:44 -03:00
Dalai Felinto
a8fffa4da8 Fix error message from MESH_OT_faces_mirror_uv
Reported/Patch by Alan Troth.
2018-09-05 17:31:04 -03:00
Dalai Felinto
5dbf9e09a8 UV_OT_lightmap_pack: Distinction between edit and object modes
I don't even know why this operator was ever made to work in object mode.
That said, since it does, we should have different options for it
(or rather, always do all faces for it).
2018-09-05 17:24:07 -03:00
Dalai Felinto
2b83b36a30 Multi-Objects: UV_OT_lightmap_pack
I removed the All Objects option. This doesn't make more sense now that
all the selected objects will be in edit mesh mode.
2018-09-05 16:58:56 -03:00
Dalai Felinto
9c1150a295 Cleanup: uvcalc_smart_project.py 2/2 2018-09-05 15:36:31 -03:00
Dalai Felinto
9710056fb5 Cleanup: uvcalc_smart_project.py
Removing old commented out code. It includes progress bar and other bits
that were never implemented for this script since the 2.5 transition.
2018-09-05 15:27:40 -03:00
Dalai Felinto
67682f567b Multi-Objects: UV_OT_smart_project 2018-09-05 15:23:42 -03: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
Sybren A. Stüvel
d8ee6158e9 keyingsets_builtins: use keyword parameters 2018-09-05 11:01:17 +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
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
Alan
9db228c05e Multi-Objects: MESH_OT_faces_mirror_uv
Changes from reviewer (Dalai Felinto):
* pep8.
* Skip meshes that come from libraries.
* `Copy Mirrored UV coords > Copy Mirrored UV Coords`.
* Remove mesh(es) from warnings, report mesh or meshes based on number.

https://developer.blender.org/D3529
2018-09-04 17:50:37 -03:00
Antonioya
ba6daadb9d GP: Reorder Viewport Display panel options 2018-09-04 22:11:18 +02:00
Aleksandr Zinovev
600b6f2069 UI: icon keyword argument to popmenu_begin__internal 2018-09-04 20:32:34 +03: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