Commit Graph

64243 Commits

Author SHA1 Message Date
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
7f95ea6f78 UI: hide mesh mode element redo panel 2018-09-05 22:57:45 +10:00
Clément Foucault
be00a22c23 Fix T56695: Selecting an occluded object in xray causes crash 2018-09-05 12:53:14 +02:00
Antonioya
0db545554a GP: Set first color as default when create new Stroke or Monkey 2018-09-05 11:37:54 +02:00
Campbell Barton
2ffe7dbef1 UI: tweak tooltip placement
Only apply offset w/ non overlapping placement.
2018-09-05 17:10:59 +10:00
Campbell Barton
8ceff4c9ee Merge branch 'master' into blender2.8 2018-09-05 15:01:58 +10:00
Campbell Barton
44d4a61ed0 Cleanup: replace doxy @ with backslash
The rest of Blender uses backslashes.
2018-09-05 14:56:29 +10:00
Campbell Barton
246aed8847 Merge branch 'master' into blender2.8 2018-09-05 14:48:18 +10:00
Campbell Barton
1be265afc0 Cleanup: style 2018-09-05 14:46:54 +10:00
Campbell Barton
1e35f4da72 Merge branch 'master' into blender2.8 2018-09-05 14:34:31 +10:00
Ray Molenkamp
c13b2a2504 Fix T54152: --env-system-scripts fails on win32 2018-09-05 14:32:19 +10:00
Campbell Barton
af7d0af153 UI: avoid comma which can be used in shortcuts 2018-09-05 14:03:28 +10:00
Campbell Barton
6f1f7296f4 UI: show a small label next to the tool
Instead of showing the full tip immediately when hovering over a tool,
show only the (label, shortcut), without suppressing the regular tip.
2018-09-05 13:52:19 +10:00
Campbell Barton
e1751415dc Merge branch 'master' into blender2.8 2018-09-05 12:14:53 +10:00
Campbell Barton
bb6a94fa7b Fix VSE cut both-sides option
Was ignoring the option, using the mouse in all cases.

D3671 by @ISS w/ edits.
2018-09-05 12:13:12 +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
053669e4ae UI: hide brush select redo panel 2018-09-05 09:34:26 +10:00
Campbell Barton
e1a4d58ecc Cleanup: style 2018-09-05 08:54:11 +10:00
Clément Foucault
ecbfc7ade5 Fix T56524: Navigate Gizmo obscured by objects in orthographic view 2018-09-04 22:25:58 +02:00
Dalai Felinto
e5ee12f535 Multi-Objects: UV_OT_seams_from_islands 2018-09-04 16:27:16 -03:00
Alan
4250baa471 Multi-Objects: UV_OT_minimize_stretch
Changes from Reviewer (Dalai Felinto):
* MEM_SAFE_FREE > MEM_freeN.
* Skip loop if sync selection and no face selected.

https://developer.blender.org/D3415
2018-09-04 14:37:08 -03:00
Alan
e026a3b016 Multi-Objects: UV_OT_average_islands_scale
Changes from reviewer (Dalai Felinto):
* Skip loop if sync selection and no vertex selected.

https://developer.blender.org/D3406
2018-09-04 14:21:34 -03:00
Alan
a48513eca8 Multi object editing - UV_OT_mark_seam
Changes from reviewer (Dalai Felinto):
* MEM_SAFE_FREE > MEM_freeN.
* Skip loop if sync selection and no edge selected.

https://developer.blender.org/D3417
2018-09-04 13:56:21 -03:00
Dalai Felinto
577d35ef2c Multi-Objects: UV_OT_select_split 2018-09-04 12:21:01 -03:00
Antonioya
2dff0c99c0 Fix T56686: Crash when copy and paste Annotations
Annotations are not designed to edit, copy or paste, so the operators must be disabled.

By design annotations can only be added or deleted, but not edited.

Still pending clean the pie menus, but this will be done during UI cleanup.
2018-09-04 17:16:36 +02:00
Clément Foucault
30ae0ce0e1 Xray: Add possibility to select wires in priority before surfaces
If no wires were found, try to select surfaces in a second loop.
2018-09-04 17:15:00 +02:00
Antonioya
950dcaea10 Fix T56682: GP Edit mode, deselected vertices not visible 2018-09-04 17:00:27 +02:00
Alan
eead6a6046 Multi object edit: UV_OT_select_less & UV_OT_select_more
https://developer.blender.org/D3387
2018-09-04 11:51:54 -03:00
Dalai Felinto
b55e304815 Multi-Objects: UV_OT_circle_select
Although this was marked as done, it wasn't, I'm glad I caught it.
Based entirely on the uv border select operator.
2018-09-04 11:29:29 -03:00
Brecht Van Lommel
fc115e1ab2 Cleanup: remove legacy layer and dupli code. 2018-09-04 16:11:27 +02:00
Dalai Felinto
0f50caf556 Multi-Objects: UV_OT_pin
Also introducing a way to skip the object loop when using synced selection.
I plan to use this for the upcoming operators too.
2018-09-04 11:10:50 -03:00
Dalai Felinto
9947011ade Multi-Objects: UV_OT_select_pinned
Inspired by patch from Alan Troth, with minor changes
(codestyle and update to latest source code).
2018-09-04 11:10:50 -03:00
Sergey Sharybin
2b1c3f3429 Subdiv: Clarity resolution parameter
Was a bit misleading, since different ptex faces will be
tessellated at different resolution, depending whether they
are coming from quad or not.
2018-09-04 16:06:25 +02:00
Sergey Sharybin
a92a1d9986 Correct doxygen file headers 2018-09-04 15:45:48 +02:00
Sergey Sharybin
c9707a408f Subdiv: Move mesh creation functionality to own header 2018-09-04 15:34:52 +02:00
Sergey Sharybin
916edab639 Subdiv: Move evaluation functionality to own header 2018-09-04 15:34:52 +02:00
Sergey Sharybin
f1508cc8d5 Subdiv: Move FOREACH functionality to own header 2018-09-04 15:34:52 +02:00
Sergey Sharybin
3f76c54a68 Subsurf: Clarify what Subdiv structure is for 2018-09-04 15:34:52 +02:00
Bastien Montagne
f1de256ea0 Fix T56679: Blender 2.8 crashes with bezier curve snap.
Follow up to rB621b16468ef72fb actually... Seriously... :/
2018-09-04 14:31:21 +02:00
Campbell Barton
f87533ba6f UI: keep no-overlap tips open on cursor motion
Was causing flicker.
2018-09-04 19:35:22 +10:00
Campbell Barton
3140304940 Cleanup: overly polite/rude messages 2018-09-04 18:45:17 +10:00
Sergey Sharybin
3cb936295f Fix mistake in previous commit 2018-09-04 10:22:55 +02:00
Sergey Sharybin
9b2e336cdf Cleanup, indentation 2018-09-04 10:21:26 +02:00
Campbell Barton
7bb856b3c8 Fix assert creating a tools tip 2018-09-04 18:20:51 +10:00
Campbell Barton
571aead323 UI: support immediate non-overlapping tooltips
Use these for the toolbar, since they're non-overlapping the interface,
showing them quickly isn't a problem.
2018-09-04 18:05:17 +10:00
Campbell Barton
e913e79fb5 Merge branch 'master' into blender2.8 2018-09-04 17:34:46 +10:00
Campbell Barton
8cd6e22ec0 Cleanup: use const arg for BLI_rect inside check 2018-09-04 17:33:12 +10:00
Bastien Montagne
621b16468e Fix T56675: Crash when snapping Cursor to selected a Bone in Edit Mode.
Seriously...
2018-09-04 09:13:21 +02:00
Campbell Barton
531183dfd8 Merge branch 'master' into blender2.8 2018-09-04 15:29:27 +10:00
Campbell Barton
52f4531eeb UI: cleanup tooltip bounds clamping
Wasn't properly clamping on the window minimum.
2018-09-04 15:26:50 +10:00