blender.git
23 months agoFix operators from W menu for the API changes
Sergey Sharybin [Fri, 7 Sep 2018 14:40:54 +0000 (16:40 +0200)]
Fix operators from W menu for the API changes

23 months agoGP: Replace hide icon in materials
Antonioya [Fri, 7 Sep 2018 13:53:01 +0000 (15:53 +0200)]
GP: Replace hide icon in materials

Now the layers and materials icons are consistent.

23 months agoDepsgraph: Cleanup, naming
Sergey Sharybin [Fri, 7 Sep 2018 13:09:14 +0000 (15:09 +0200)]
Depsgraph: Cleanup, naming

If something is a list of data, it is to be called list, and data
is to be called data. No need to call list a data and data a weird
two letter abbreviation.

Clarity is our friend!

23 months agoAnnotate Tool: allow drawing dots
Campbell Barton [Fri, 7 Sep 2018 11:16:03 +0000 (21:16 +1000)]
Annotate Tool: allow drawing dots

23 months agoCodestyle cleanup: uvedit_smart_stitch.c
Dalai Felinto [Fri, 7 Sep 2018 10:18:29 +0000 (07:18 -0300)]
Codestyle cleanup: uvedit_smart_stitch.c

23 months agoMulti-Objects: UV_OT_stitch
Alan [Fri, 7 Sep 2018 09:45:34 +0000 (06:45 -0300)]
Multi-Objects: UV_OT_stitch

Reviewers: dfelinto
https://developer.blender.org/D3645

23 months agoSilence warning in release mode
Sergey Sharybin [Fri, 7 Sep 2018 09:55:55 +0000 (11:55 +0200)]
Silence warning in release mode

23 months agoSubdiv: Add ptex offsets to a subdiv structure
Sergey Sharybin [Thu, 6 Sep 2018 13:39:27 +0000 (15:39 +0200)]
Subdiv: Add ptex offsets to a subdiv structure

This is something what we need to know quite often from various places.
Added it as a cached value in Subdiv itself, so it can be queried easily
from any area.

Shouldn't be a problem from memory usage point of view, it's 4MB per
1M faces coarse mesh. This is very low percentage of mesh itself, and
even lower percentage of highres subdivided mesh.

23 months agoCleanup: Unused undef
Sergey Sharybin [Thu, 6 Sep 2018 15:45:35 +0000 (17:45 +0200)]
Cleanup: Unused undef

That symbol is never defined.

23 months agoGP: Fix unreported crash when use Alt key in Surface draw
Antonioya [Fri, 7 Sep 2018 07:29:33 +0000 (09:29 +0200)]
GP: Fix unreported crash when use Alt key in Surface draw

23 months agoGizmo: fix extrude handles
Campbell Barton [Fri, 7 Sep 2018 06:36:02 +0000 (16:36 +1000)]
Gizmo: fix extrude handles

Only use the 2D selection function when 3D selection isn't defined.

Regression from e18a2c4ed7b

23 months agoFix T56707: Assert changing grease pencil modes
Campbell Barton [Fri, 7 Sep 2018 03:35:47 +0000 (13:35 +1000)]
Fix T56707: Assert changing grease pencil modes

23 months agoUI: move toolbar arrow closer to button edge
Campbell Barton [Fri, 7 Sep 2018 02:21:24 +0000 (12:21 +1000)]
UI: move toolbar arrow closer to button edge

Could overlap icons.

23 months agoUI: add useful information to 'Measure' tooltip
Campbell Barton [Fri, 7 Sep 2018 01:48:03 +0000 (11:48 +1000)]
UI: add useful information to 'Measure' tooltip

23 months agoFix missing line width for helper line drawing
Campbell Barton [Fri, 7 Sep 2018 01:35:33 +0000 (11:35 +1000)]
Fix missing line width for helper line drawing

Also scale by pixel size.

23 months agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 7 Sep 2018 01:27:18 +0000 (11:27 +1000)]
Merge branch 'master' into blender2.8

23 months agoFix normal transform orientation calculation
Campbell Barton [Fri, 7 Sep 2018 01:24:37 +0000 (11:24 +1000)]
Fix normal transform orientation calculation

When using the 'normal' orientation, the normal would be ignored
if the plane couldn't be calculated.

Now use only the normal if the plane is zero length,
this was already done, just not in all cases.

23 months agoFix own error in changes to transform logic
Campbell Barton [Fri, 7 Sep 2018 00:59:43 +0000 (10:59 +1000)]
Fix own error in changes to transform logic

Regression in 3c8e4e4180

23 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Thu, 6 Sep 2018 18:11:18 +0000 (20:11 +0200)]
Merge branch 'master' into blender2.8

23 months agoCleanup: fix compiler warning.
Brecht Van Lommel [Thu, 6 Sep 2018 18:09:13 +0000 (20:09 +0200)]
Cleanup: fix compiler warning.

23 months agoFix T56704: black / NaN values in Cycles normal pass.
Brecht Van Lommel [Thu, 6 Sep 2018 18:06:23 +0000 (20:06 +0200)]
Fix T56704: black / NaN values in Cycles normal pass.

23 months agoFix T56698: saving render result from compositing as EXR is empty.
Brecht Van Lommel [Thu, 6 Sep 2018 15:32:05 +0000 (17:32 +0200)]
Fix T56698: saving render result from compositing as EXR is empty.

23 months agoFix T56643: crash drag & dropping ID onto a text field.
Brecht Van Lommel [Thu, 6 Sep 2018 15:35:16 +0000 (17:35 +0200)]
Fix T56643: crash drag & dropping ID onto a text field.

23 months agoCleanup: remove unused Blender Internal preview.blend.
Brecht Van Lommel [Thu, 6 Sep 2018 15:16:11 +0000 (17:16 +0200)]
Cleanup: remove unused Blender Internal preview.blend.

23 months agoFix T54329: brush texture preview not working.
Sebastian Parborg [Thu, 6 Sep 2018 14:33:41 +0000 (16:33 +0200)]
Fix T54329: brush texture preview not working.

With the removal of blender internal, the texture preview had to be
rewritten. Now we evaluate and write the texture directly to the
preview buffer instead of going through the renderer.

Differential Revision: https://developer.blender.org/D3670

23 months agoFix T56705: Z axis do not displays in side views
Clément Foucault [Thu, 6 Sep 2018 12:48:17 +0000 (14:48 +0200)]
Fix T56705: Z axis do not displays in side views

23 months agoFix T56706: Lattice crash when enter in edit mode
Clément Foucault [Thu, 6 Sep 2018 12:27:21 +0000 (14:27 +0200)]
Fix T56706: Lattice crash when enter in edit mode

23 months agoMulti-Objects: orthographic support for UV project
Dalai Felinto [Thu, 6 Sep 2018 12:24:57 +0000 (09:24 -0300)]
Multi-Objects: orthographic support for UV project

D3375 by @Al

I did a few changes before the commit:
* Initialize flot arrays with {0} instead of memset(foo, 0, sizeof(foo)).
* Use add_v4_v4 instead of for loop.
* Rename uv_map_rotation_matrix_w_offset > uv_map_rotation_matrix_ex.

bjects: orthographic support for UV project

23 months agoUI: add mark/clear seam to UV menu in 3D viewport.
William Reynish [Thu, 6 Sep 2018 12:12:16 +0000 (14:12 +0200)]
UI: add mark/clear seam to UV menu in 3D viewport.

23 months agoGP: Add multiframe support to vertex group operators
Antonioya [Thu, 6 Sep 2018 11:37:37 +0000 (13:37 +0200)]
GP: Add multiframe support to vertex group operators

Before, the operators only worked in the current frame

23 months agoUI / Python: rename X-Ray to In Front, Draw to Display.
Brecht Van Lommel [Mon, 3 Sep 2018 16:58:41 +0000 (18:58 +0200)]
UI / Python: rename X-Ray to In Front, Draw to Display.

See T56648.

23 months agoCMake: add missing headers
Campbell Barton [Thu, 6 Sep 2018 11:23:25 +0000 (21:23 +1000)]
CMake: add missing headers

23 months agoMulti object support for UV live unwrap
Campbell Barton [Thu, 6 Sep 2018 10:46:11 +0000 (20:46 +1000)]
Multi object support for UV live unwrap

D3658 by @Al

23 months agoUI: rename Translate/Grab to Move in UI, shortcuts stay the same.
Brecht Van Lommel [Thu, 6 Sep 2018 10:13:01 +0000 (12:13 +0200)]
UI: rename Translate/Grab to Move in UI, shortcuts stay the same.

23 months agoUI: change default modifier name from Subsurf to Subdivision.
Brecht Van Lommel [Wed, 5 Sep 2018 14:06:00 +0000 (16:06 +0200)]
UI: change default modifier name from Subsurf to Subdivision.

23 months agoCleanup: Remove unused modifier evaluation flag
Sergey Sharybin [Thu, 6 Sep 2018 09:47:44 +0000 (11:47 +0200)]
Cleanup: Remove unused modifier evaluation flag

23 months agoFix bad conflict resolution
Sergey Sharybin [Thu, 6 Sep 2018 09:35:40 +0000 (11:35 +0200)]
Fix bad conflict resolution

23 months agoSubdiv: Some ground work for CCG support
Sergey Sharybin [Tue, 4 Sep 2018 14:16:01 +0000 (16:16 +0200)]
Subdiv: Some ground work for CCG support

Nothing really interesting, just starting laying down API which
seems to be a decent substitute to CCGDM, without requiring too
much work be done in sculpting area.

23 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Thu, 6 Sep 2018 09:31:58 +0000 (11:31 +0200)]
Merge branch 'master' into blender2.8

Conflicts:
source/blender/editors/space_node/drawnode.c

23 months agoUpdate install_deps.sh to latest libs.
Bastien Montagne [Wed, 5 Sep 2018 15:11:03 +0000 (17:11 +0200)]
Update install_deps.sh to latest libs.

Tested with Debian Testing, might need some adjustements for other
distributions...

Also removed last patches we used here, we shall not need any anymore!

23 months agoCompositor: Always use AA on masks
Sergey Sharybin [Thu, 6 Sep 2018 08:39:25 +0000 (10:39 +0200)]
Compositor: Always use AA on masks

In a real world it is very weird to disable AA on a mask,
it will give ugly looking result. For some fast preview
passes (like in the node preview) the system can decide
to disable AA without asking user to do anything.

One thing we can consider doing is to remove Feather
option as well. If real compo becomes measurably slower
in cases when mask has no real feather, we can disable
feather internally, without user input. Disabling
feather in the interface is like making things faster
but giving a wrong result, which doesn't sound that
helpful either.

Reviewers: brecht

Reviewed By: brecht

Subscribers: hype, sebastian_k

Differential Revision: https://developer.blender.org/D3677

23 months agoFix exception w/ grease pencil brush tooltips
Campbell Barton [Thu, 6 Sep 2018 08:23:51 +0000 (18:23 +1000)]
Fix exception w/ grease pencil brush tooltips

23 months agoGP: Disable outdated pie menus
Antonioya [Thu, 6 Sep 2018 08:17:17 +0000 (10:17 +0200)]
GP: Disable outdated pie menus

The pie menus were a legacy of old grease pencil and now need a full redesign or maybe a new add-on.

While we decide the way to go, the pie menus are disabled.

23 months agogpu module: close quotation marks in descriptions
mano-wii [Thu, 6 Sep 2018 07:43:08 +0000 (04:43 -0300)]
gpu module: close quotation marks in descriptions

23 months agogpu module: retouching the description of the types.
mano-wii [Thu, 6 Sep 2018 07:39:39 +0000 (04:39 -0300)]
gpu module: retouching the description of the types.

23 months agoFix ruler not setting line width
Campbell Barton [Thu, 6 Sep 2018 04:45:45 +0000 (14:45 +1000)]
Fix ruler not setting line width

23 months agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 6 Sep 2018 04:42:59 +0000 (14:42 +1000)]
Merge branch 'master' into blender2.8

23 months agoFix ruler angle arc displaying past endpoints
Campbell Barton [Thu, 6 Sep 2018 04:41:36 +0000 (14:41 +1000)]
Fix ruler angle arc displaying past endpoints

23 months agoCycles: Allow cancel during displacement of meshes
Mai Lavelle [Thu, 6 Sep 2018 04:23:50 +0000 (00:23 -0400)]
Cycles: Allow cancel during displacement of meshes

23 months agoUI: keep showing label tooltip once it's open
Campbell Barton [Thu, 6 Sep 2018 04:22:12 +0000 (14:22 +1000)]
UI: keep showing label tooltip once it's open

This means dragging the cursor over the tools will show all labels
immediately, but only once a single label is displayed.

23 months agoUI: delay tool label tip display
Campbell Barton [Thu, 6 Sep 2018 04:19:15 +0000 (14:19 +1000)]
UI: delay tool label tip display

Displaying the labels tip immediately feels too intrusive,
make this work more like regular tooltips, displaying more quickly.

Tooltips can now uses multiple passes, each pass with it's own delay
for the next pass to show.

23 months agoUI: tweak tool bar tooltips
Campbell Barton [Thu, 6 Sep 2018 01:19:14 +0000 (11:19 +1000)]
UI: tweak tool bar tooltips

- Only show label-tips when tools are icon-only.
- Don't show shortcuts in label-tips.
- Position both tool label & full tips around the button bounds.

23 months agoCleanup: style
Campbell Barton [Thu, 6 Sep 2018 00:45:29 +0000 (10:45 +1000)]
Cleanup: style

23 months agoCorrect build errors
Campbell Barton [Thu, 6 Sep 2018 00:47:10 +0000 (10:47 +1000)]
Correct build errors

23 months agoJoin the python modules `gpu` and `_gpu` into one.
mano-wii [Thu, 6 Sep 2018 00:10:42 +0000 (21:10 -0300)]
Join the python modules `gpu` and `_gpu` into one.

Maybe it's still early to set the new drawing api for python.
But joining these two modules is an initial step.

```
>>> gpu.
        matrix
        select
        types
```
```
>>> gpu.types.GPU
                 Batch(
                 OffScreen(
                 VertBuf(
                 VertFormat(
```
The creation of a new offscreen object is now done by the `GPUOffscreen.__new__` method.

Reviewers: campbellbarton, dfelinto

Reviewed By: campbellbarton, dfelinto

Tags: #bf_blender_2.8

Differential Revision: https://developer.blender.org/D3667

23 months agoMulti-Objects: UV_OT_follow_active_quads
Dalai Felinto [Wed, 5 Sep 2018 22:25:56 +0000 (19:25 -0300)]
Multi-Objects: UV_OT_follow_active_quads

Starring: the overengineered error report system to make sure only one error
is reported.

23 months agoMulti-Objects: UV_OT_remove_doubles
Alan [Wed, 5 Sep 2018 20:33:07 +0000 (17:33 -0300)]
Multi-Objects: UV_OT_remove_doubles

Use kdtree for doubles (old standing TODO for this operator).

Small changes from reviewer (Dalai Felinto):
* Code style ({ is in a new line only if it is a two-line if).
* Skip objetcs loops when we know for sure nothing is selected (or all is)

https://developer.blender.org/D3441

23 months agoFix error message from MESH_OT_faces_mirror_uv
Dalai Felinto [Wed, 5 Sep 2018 20:31:04 +0000 (17:31 -0300)]
Fix error message from MESH_OT_faces_mirror_uv

Reported/Patch by Alan Troth.

23 months agoUV_OT_lightmap_pack: Distinction between edit and object modes
Dalai Felinto [Wed, 5 Sep 2018 20:20:33 +0000 (17:20 -0300)]
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).

23 months agoMulti-Objects: UV_OT_lightmap_pack
Dalai Felinto [Wed, 5 Sep 2018 19:51:25 +0000 (16:51 -0300)]
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.

23 months agoCleanup: uvcalc_smart_project.py 2/2
Dalai Felinto [Wed, 5 Sep 2018 18:36:31 +0000 (15:36 -0300)]
Cleanup: uvcalc_smart_project.py 2/2

23 months agoCleanup: uvcalc_smart_project.py
Dalai Felinto [Wed, 5 Sep 2018 18:26:29 +0000 (15:26 -0300)]
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.

23 months agoMulti-Objects: UV_OT_smart_project
Dalai Felinto [Wed, 5 Sep 2018 18:23:39 +0000 (15:23 -0300)]
Multi-Objects: UV_OT_smart_project

23 months agoMulti-Objects: UV_OT_snap_selected
Dalai Felinto [Wed, 5 Sep 2018 18:02:19 +0000 (15:02 -0300)]
Multi-Objects: UV_OT_snap_selected

23 months agoFix T56657: Crash when creating a collection instance containing probes
Clément Foucault [Wed, 5 Sep 2018 17:32:12 +0000 (19:32 +0200)]
Fix T56657: Crash when creating a collection instance containing probes

23 months agoEdit Mesh: Add back the option to not highlight selected faces/edges
Clément Foucault [Wed, 5 Sep 2018 17:00:00 +0000 (19:00 +0200)]
Edit Mesh: Add back the option to not highlight selected faces/edges

Do note that we force showing the face dot if we are in face select mode
but faces and edges overlays are disable to not loose the selected faces
entirely.

23 months agoUI: Change "Show Edge Seams" toggle position
Clément Foucault [Wed, 5 Sep 2018 15:07:32 +0000 (17:07 +0200)]
UI: Change "Show Edge Seams" toggle position

23 months agoCleanup: Remove unnecessary uniform
Clément Foucault [Wed, 5 Sep 2018 15:02:23 +0000 (17:02 +0200)]
Cleanup: Remove unnecessary uniform

23 months agoEdit Mesh: Add support for draw option parameters
Clément Foucault [Wed, 5 Sep 2018 15:02:00 +0000 (17:02 +0200)]
Edit Mesh: Add support for draw option parameters

The visuals was already implemented but we could not toggle them off.

23 months agoFix T56692: The edges are not highlighted in Mark Freestyle Edge
Clément Foucault [Wed, 5 Sep 2018 13:42:32 +0000 (15:42 +0200)]
Fix T56692: The edges are not highlighted in Mark Freestyle Edge

This was not ported yet.

23 months agoFix GPU.offscreen to use depsgraph and updated API
Dalai Felinto [Wed, 5 Sep 2018 15:50:33 +0000 (12:50 -0300)]
Fix GPU.offscreen to use depsgraph and updated API

23 months agoMulti-Objects: UV_OT_align and UV_OT_weld
Dalai Felinto [Wed, 5 Sep 2018 14:18:31 +0000 (11:18 -0300)]
Multi-Objects: UV_OT_align and UV_OT_weld

23 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 5 Sep 2018 14:05:43 +0000 (16:05 +0200)]
Merge branch 'master' into blender2.8

23 months agoCCG: Remove number of layers from key
Sergey Sharybin [Wed, 5 Sep 2018 13:56:50 +0000 (15:56 +0200)]
CCG: Remove number of layers from key

The issue there was that number of layers did not include normals,
while element size counts bytes used by normals. This sounds very
fragile and dangerous to work further. Also, one value can easily
be delivered from another, so it is redundancy going on here.

Possible difference now is that multires subdivision will copy
normals to a higher levels. Shouldn't be big of a problem, since
leaving old normals and updating coordinates is not correct either.

23 months agoFix for text alignment on multiple text boxes
Dalai Felinto [Wed, 5 Sep 2018 13:01:08 +0000 (10:01 -0300)]
Fix for text alignment on multiple text boxes

The original code was already making a distinction between lines in the last
text box and all lines. However I removed that bit since when I tested the
values were the same (I tested with a single text box).

Bringing this distinction back.

Not addressed here: All boxes should respect the alignment. Which at the moment
they don't seem to fully do.

23 months agoUI: remove delete redo panel
Campbell Barton [Wed, 5 Sep 2018 08:01:55 +0000 (18:01 +1000)]
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).

23 months agoUI: hide mesh mode element redo panel
Campbell Barton [Wed, 5 Sep 2018 07:58:14 +0000 (17:58 +1000)]
UI: hide mesh mode element redo panel

23 months agoUI: use grid flow for Cycles object settings.
William Reynish [Wed, 5 Sep 2018 11:43:04 +0000 (13:43 +0200)]
UI: use grid flow for Cycles object settings.

23 months agoFix T56695: Selecting an occluded object in xray causes crash
Clément Foucault [Wed, 5 Sep 2018 10:53:14 +0000 (12:53 +0200)]
Fix T56695: Selecting an occluded object in xray causes crash

23 months agoGP: Set first color as default when create new Stroke or Monkey
Antonioya [Wed, 5 Sep 2018 09:37:54 +0000 (11:37 +0200)]
GP: Set first color as default when create new Stroke or Monkey

23 months agokeyingsets_builtins: use keyword parameters
Sybren A. Stüvel [Wed, 5 Sep 2018 09:00:57 +0000 (11:00 +0200)]
keyingsets_builtins: use keyword parameters

23 months agoUI: tweak tooltip placement
Campbell Barton [Wed, 5 Sep 2018 07:10:59 +0000 (17:10 +1000)]
UI: tweak tooltip placement

Only apply offset w/ non overlapping placement.

23 months agoCorrect last commit (keep same location as brushes)
Campbell Barton [Wed, 5 Sep 2018 06:05:00 +0000 (16:05 +1000)]
Correct last commit (keep same location as brushes)

23 months agoTool System: show weight for the gradient tool
Campbell Barton [Wed, 5 Sep 2018 06:01:53 +0000 (16:01 +1000)]
Tool System: show weight for the gradient tool

23 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 5 Sep 2018 05:01:58 +0000 (15:01 +1000)]
Merge branch 'master' into blender2.8

23 months agoCleanup: replace doxy @ with backslash
Campbell Barton [Wed, 5 Sep 2018 04:56:29 +0000 (14:56 +1000)]
Cleanup: replace doxy @ with backslash

The rest of Blender uses backslashes.

23 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 5 Sep 2018 04:48:18 +0000 (14:48 +1000)]
Merge branch 'master' into blender2.8

23 months agoCleanup: style
Campbell Barton [Wed, 5 Sep 2018 04:46:54 +0000 (14:46 +1000)]
Cleanup: style

23 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 5 Sep 2018 04:34:25 +0000 (14:34 +1000)]
Merge branch 'master' into blender2.8

23 months agoFix T54152: --env-system-scripts fails on win32
Ray Molenkamp [Wed, 5 Sep 2018 04:31:10 +0000 (14:31 +1000)]
Fix T54152: --env-system-scripts fails on win32

23 months agoUI: avoid comma which can be used in shortcuts
Campbell Barton [Wed, 5 Sep 2018 04:03:28 +0000 (14:03 +1000)]
UI: avoid comma which can be used in shortcuts

23 months agoUI: show a small label next to the tool
Campbell Barton [Wed, 5 Sep 2018 03:52:19 +0000 (13:52 +1000)]
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.

23 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 5 Sep 2018 02:14:53 +0000 (12:14 +1000)]
Merge branch 'master' into blender2.8

23 months agoFix VSE cut both-sides option
Campbell Barton [Wed, 5 Sep 2018 01:56:31 +0000 (11:56 +1000)]
Fix VSE cut both-sides option

Was ignoring the option, using the mouse in all cases.

D3671 by @ISS w/ edits.

23 months ago3D Text: improvements to vertical alignment
Dalai Felinto [Wed, 5 Sep 2018 01:21:12 +0000 (11:21 +1000)]
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.

23 months agoUI: hide brush select redo panel
Campbell Barton [Tue, 4 Sep 2018 23:33:46 +0000 (09:33 +1000)]
UI: hide brush select redo panel

23 months agoMerge remote-tracking branch 'origin/master' into blender2.8
Ray Molenkamp [Tue, 4 Sep 2018 23:00:44 +0000 (17:00 -0600)]
Merge remote-tracking branch 'origin/master' into blender2.8

23 months agocycles: Fix x86 build error.
Ray Molenkamp [Tue, 4 Sep 2018 22:58:41 +0000 (16:58 -0600)]
cycles: Fix x86 build error.

WITH_CYCLES_CUDA_BINARIES was set as a regular variable causing it to be overwritten by the release.cmake settings.

23 months agoCleanup: style
Campbell Barton [Tue, 4 Sep 2018 22:54:11 +0000 (08:54 +1000)]
Cleanup: style

23 months agoCorrect edge rip tool operator
Campbell Barton [Tue, 4 Sep 2018 22:45:46 +0000 (08:45 +1000)]
Correct edge rip tool operator