blender.git
2 years 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

2 years 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.

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

2 years 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

2 years 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.

2 years 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.

2 years 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

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

2 years 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.

2 years 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

2 years 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!

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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.

2 years 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.

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

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

2 years 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

2 years 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.

2 years 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

2 years 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.

2 years 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).

2 years 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.

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

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

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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.

2 years 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).

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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)

2 years 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

2 years 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

2 years 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.

2 years 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

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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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.

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

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

2 years agoMulti-Objects: MESH_OT_faces_mirror_uv
Alan [Tue, 4 Sep 2018 19:35:03 +0000 (16:35 -0300)]
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

2 years agoFix T56524: Navigate Gizmo obscured by objects in orthographic view
Clément Foucault [Tue, 4 Sep 2018 20:25:42 +0000 (22:25 +0200)]
Fix T56524: Navigate Gizmo obscured by objects in orthographic view

2 years agoGP: Reorder Viewport Display panel options
Antonioya [Tue, 4 Sep 2018 20:10:56 +0000 (22:10 +0200)]
GP: Reorder Viewport Display panel options

2 years agoMulti-Objects: UV_OT_seams_from_islands
Dalai Felinto [Tue, 4 Sep 2018 19:27:16 +0000 (16:27 -0300)]
Multi-Objects: UV_OT_seams_from_islands

2 years agoMulti-Objects: UV_OT_minimize_stretch
Alan [Tue, 4 Sep 2018 17:24:41 +0000 (14:24 -0300)]
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

2 years agoUI: icon keyword argument to popmenu_begin__internal
Aleksandr Zinovev [Tue, 4 Sep 2018 17:32:34 +0000 (20:32 +0300)]
UI: icon keyword argument to popmenu_begin__internal

2 years agoMulti-Objects: UV_OT_average_islands_scale
Alan [Tue, 4 Sep 2018 17:06:54 +0000 (14:06 -0300)]
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

2 years agoMulti object editing - UV_OT_mark_seam
Alan [Tue, 4 Sep 2018 16:45:08 +0000 (13:45 -0300)]
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

2 years agoMulti-Objects: UV_OT_select_split
Dalai Felinto [Tue, 4 Sep 2018 15:18:59 +0000 (12:18 -0300)]
Multi-Objects: UV_OT_select_split

2 years agoFix T56686: Crash when copy and paste Annotations
Antonioya [Tue, 4 Sep 2018 15:16:14 +0000 (17:16 +0200)]
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.

2 years agoXray: Add possibility to select wires in priority before surfaces
Clément Foucault [Tue, 4 Sep 2018 15:14:46 +0000 (17:14 +0200)]
Xray: Add possibility to select wires in priority before surfaces

If no wires were found, try to select surfaces in a second loop.

2 years agoFix T56682: GP Edit mode, deselected vertices not visible
Antonioya [Tue, 4 Sep 2018 14:59:14 +0000 (16:59 +0200)]
Fix T56682: GP Edit mode, deselected vertices not visible

2 years agoMulti object edit: UV_OT_select_less & UV_OT_select_more
Alan [Tue, 4 Sep 2018 14:35:54 +0000 (11:35 -0300)]
Multi object edit: UV_OT_select_less & UV_OT_select_more

https://developer.blender.org/D3387

2 years agoMulti-Objects: UV_OT_circle_select
Dalai Felinto [Tue, 4 Sep 2018 14:27:02 +0000 (11:27 -0300)]
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.

2 years agoCleanup: remove legacy layer and dupli code.
Brecht Van Lommel [Tue, 4 Sep 2018 13:08:57 +0000 (15:08 +0200)]
Cleanup: remove legacy layer and dupli code.

2 years agoMulti-Objects: UV_OT_pin
Dalai Felinto [Tue, 4 Sep 2018 14:00:43 +0000 (11:00 -0300)]
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.

2 years agoMulti-Objects: UV_OT_select_pinned
Dalai Felinto [Tue, 4 Sep 2018 14:01:43 +0000 (11:01 -0300)]
Multi-Objects: UV_OT_select_pinned

Inspired by patch from Alan Troth, with minor changes
(codestyle and update to latest source code).

2 years agoSubdiv: Clarity resolution parameter
Sergey Sharybin [Tue, 4 Sep 2018 14:05:33 +0000 (16:05 +0200)]
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.

2 years agoCorrect doxygen file headers
Sergey Sharybin [Tue, 4 Sep 2018 13:45:48 +0000 (15:45 +0200)]
Correct doxygen file headers

2 years agoSubdiv: Move mesh creation functionality to own header
Sergey Sharybin [Tue, 4 Sep 2018 13:32:01 +0000 (15:32 +0200)]
Subdiv: Move mesh creation functionality to own header

2 years agoSubdiv: Move evaluation functionality to own header
Sergey Sharybin [Tue, 4 Sep 2018 13:26:58 +0000 (15:26 +0200)]
Subdiv: Move evaluation functionality to own header

2 years agoSubdiv: Move FOREACH functionality to own header
Sergey Sharybin [Tue, 4 Sep 2018 13:22:36 +0000 (15:22 +0200)]
Subdiv: Move FOREACH functionality to own header

2 years agoSubsurf: Clarify what Subdiv structure is for
Sergey Sharybin [Tue, 4 Sep 2018 13:17:33 +0000 (15:17 +0200)]
Subsurf: Clarify what Subdiv structure is for

2 years agoFix T56679: Blender 2.8 crashes with bezier curve snap.
Bastien Montagne [Tue, 4 Sep 2018 12:30:25 +0000 (14:30 +0200)]
Fix T56679: Blender 2.8 crashes with bezier curve snap.

Follow up to rB621b16468ef72fb actually... Seriously... :/

2 years agoOpenSubdiv: Disable varying elements interpolation
Sergey Sharybin [Tue, 4 Sep 2018 10:38:54 +0000 (12:38 +0200)]
OpenSubdiv: Disable varying elements interpolation

We currently don't use those. Skipping creation of stencils for
them gives about 7% speedup of evaluation creation.

2 years agoCleanup: Typo in comment
Sergey Sharybin [Tue, 4 Sep 2018 10:30:06 +0000 (12:30 +0200)]
Cleanup: Typo in comment

2 years agoUI: keep no-overlap tips open on cursor motion
Campbell Barton [Tue, 4 Sep 2018 09:35:03 +0000 (19:35 +1000)]
UI: keep no-overlap tips open on cursor motion

Was causing flicker.

2 years agoCleanup: overly polite/rude messages
Campbell Barton [Tue, 4 Sep 2018 08:44:05 +0000 (18:44 +1000)]
Cleanup: overly polite/rude messages

2 years agoFix mistake in previous commit
Sergey Sharybin [Tue, 4 Sep 2018 08:22:33 +0000 (10:22 +0200)]
Fix mistake in previous commit