Commit Graph

3809 Commits

Author SHA1 Message Date
Antonioya
1cdf136846 GP: Rename parameter unlock_color and tooltip 2018-09-26 16:17:54 +02:00
Antonioya
150cba73c9 GP: Change menu icons for hide/show 2018-09-26 16:01:01 +02:00
Alexander Gavrilov
3378782eee Implement additional modes for Shrinkwrap to a surface.
In addition to the original map to surface and Keep Above Surface,
add modes that only affect vertices that are inside or outside
the object. This is inspired by the Limit Distance constraint,
and can be useful for crude collision detection in rigs.

The inside/outside test works based on face normals and may not be
completely reliable near 90 degree or sharper angles in the target.

Reviewers: campbellbarton, mont29

Differential Revision: https://developer.blender.org/D3717
2018-09-26 16:52:58 +03:00
Sergey Sharybin
b125bd7e0e Clip editor: Fix usage of template_marker
Needs an update to the new Python API.

Reported by Sebastian in IRC, thanks!
2018-09-26 11:29:21 +02:00
Antonioya
12c664f7fb GP: Adjust topbar layer selector to new fixed width 2018-09-26 10:49:46 +02:00
Campbell Barton
c72380a427 Merge branch 'master' into blender2.8 2018-09-26 10:28:23 +10:00
Clément Foucault
2cff9b4cb6 Curves: Move draw options to overlays
This commit add one regression: it is impossible to currently hide handles
in the viewport. But this should be fixed in another commit.
2018-09-25 22:51:54 +02:00
Clément Foucault
a3bb385ca0 Edit Mesh: Move Edit Mesh display settings to overlay's
This makes the Edit Mesh display settings common to all objects. They can
also be set differently per viewport.

Modifying extra data (seams, sharp edges etc...) will no longer set them
automaticaly visible.

Bumping version because we need to force set all extra draw options for
older files.
2018-09-25 22:51:54 +02:00
Antonioya
0f7e858f06 GP: New pressure option for sculpt brush radius 2018-09-25 20:43:50 +02:00
Antonioya
0f652a1ec0 GP: New deselect by material option
Now the operator to select by color can unselect too.
2018-09-25 19:01:12 +02:00
Antonioya
e61861e393 GP: Add popover for Sculpt and Weight Paint panels 2018-09-25 15:39:15 +02:00
Michel Anders
5960254045 Fix missing metaball capsule properties in properties editor.
Differential Revision: https://developer.blender.org/D3726
2018-09-25 15:06:14 +02:00
Antonioya
456ed41e2c GP: Remove Strokes menu in Sculpt mode 2018-09-25 13:35:14 +02:00
Antonioya
42600ab214 GP: Add select tools in sculpt mode 2018-09-25 13:35:14 +02:00
Antonioya
ac747c96d9 GP: Move Unlock Color to Adjustments panel
This option is not used all the time and can be moved to additional panel
2018-09-24 22:26:21 +02:00
Antonioya
809be0099e GP: Some changes in Appearance panel 2018-09-24 16:36:08 +02:00
Antonioya
2721700b7a GP: Make topbar layer popover wider 2018-09-24 12:57:11 +02:00
Campbell Barton
0e65c4839c Cleanup: style 2018-09-24 08:25:51 +10:00
Antonioya
b350b194eb GP: Change direction text depending of sculpt brush 2018-09-22 16:27:04 +02:00
Antonioya
fbede83afd GP: Change appearance panel for sculpt brushes 2018-09-21 23:11:30 +02:00
Antonioya
3a61771fdc GP: Move mask button to header 2018-09-21 22:59:24 +02:00
Antonioya
664865680a GP: More changes to sculpt panels and topbar 2018-09-21 22:50:20 +02:00
Brecht Van Lommel
890b617919 Fix Python errors in weight paint mode. 2018-09-21 20:21:40 +02:00
Antonioya
529e22d6e2 GP: Initial changes in sculpt brush panel
Move some options to subpanels
2018-09-21 20:15:41 +02:00
Brecht Van Lommel
18252e407f Viewport: tweak shading pie layout and naming. 2018-09-21 17:55:25 +02:00
Brecht Van Lommel
d2a491da5f Viewport: tweak shading pie menu to have X-ray on same side as wireframe. 2018-09-21 17:01:10 +02:00
Brecht Van Lommel
202baaaa16 Viewport: change Z key to shading pie menu to switch mode, X-ray and overlays.
This lets us do the most common shading switching with one shortcut. We keep
alt+Z and shift+Z for quickly toggling to lookdev and rendered mode and back,
it's debatable which settings deserve a dedicated shortcut like this.

The downside is that switching X-ray is a little slower, and that there is
some risk of accidentally going to lookdev or rendered mode which can be slow
to cancel.
2018-09-21 16:52:34 +02:00
Clément Foucault
37fea2c0f0 Edit Mode: Merge Xray and "Limit selection to visible" options behaviour
We now treat Xray as being the mode where Limit selection to visible is off.
If Xray is OFF, Limit selection to visible is considered ON.

To allow 'see through wires' with solid shading (not Xray shading) we still
draw solid shading if Xray is ON with Xray Alpha set to 1.0.
2018-09-21 15:45:03 +02:00
Clément Foucault
3523958de9 DRW: Add back wireframe mode
This is using the existing engine (workbench forward) with 0.0 xray_alpha
and forcing wireframes on all objects.

There is no workflow/shortcut changes in this commit.
2018-09-21 15:45:03 +02:00
Antonioya
b7035cb8bd GP: Change canvas titles
These changes are to harmonize names.
2018-09-21 14:10:40 +02:00
Antonioya
87bbf4439d GP: Fix select tools from toolbar error
The operators used were not the right ones.
2018-09-21 10:30:05 +02:00
Antonioya
cf34c165ea GP: Convert lock axis to popover 2018-09-21 08:51:25 +02:00
Campbell Barton
7a3474ddfd Gizmo: spin tool XYZ axis toggles
New handle type for initial spin,
gives clear differentiation between do & redo (similar to extrude).

Some tweaks still required to match T56571.
2018-09-21 13:48:22 +10:00
Campbell Barton
08c7733c13 Cleanup: style 2018-09-21 08:11:50 +10:00
Antonioya
5e5a950dca GP: Rename origin to stroke placement 2018-09-20 22:51:34 +02:00
Sebastian Parborg
d0eed5e50a Texture Paint: unify missing data and slots panels, better auto position nodes.
Differential Revision: https://developer.blender.org/D3694
2018-09-20 19:54:33 +02:00
Brecht Van Lommel
09ea940e7b Fix missing Eevee volume panel in material tab. 2018-09-20 19:28:56 +02:00
Antonioya
4264cee921 GP: Cleanup unused code 2018-09-20 18:52:57 +02:00
Antonioya
963d668a03 GP: Move origin selector to center and convert to popup 2018-09-20 18:50:19 +02:00
Antonioya
ce1b57227d GP: Add new popover with layers panel 2018-09-20 18:50:19 +02:00
Antonioya
52f19683f9 GP: Remove Copy & Paste buttons 2018-09-20 13:50:37 +02:00
Antonioya
67a6cb665e GP: New select mode
Now it's possible select points or strokes
2018-09-20 11:56:59 +02:00
Brecht Van Lommel
6b433f4eb3 Merge branch 'master' into blender2.8 2018-09-19 18:20:50 +02:00
Brecht Van Lommel
a4f2ebc78d Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3700
2018-09-19 18:18:05 +02:00
Antonioya
a5fedd535d GP: Change Frames title for Onion panel 2018-09-18 22:36:59 +02:00
Antonioya
e9c6f69cb6 GP: change hide icon in materials 2018-09-18 22:36:58 +02:00
William Reynish
6a6bdacd82 UI: hide "Active Tool" panel header. 2018-09-18 19:38:20 +02:00
Brecht Van Lommel
b49abbec5f Splash: add first time setup and templates to splash screen.
The first time setup screen only has the interaction preset currently, some
more work is needed to be able to set e.g. the language or compute device
here as in the mockups.

The splash screen stayed the same for now, to make room for the templates
most of the links are now in the Help menu. If there are no recent files yet
the links still show.

The splash screen buttons implementation was fully moved to Python, in the
WM_MT_splash menu.
2018-09-18 19:38:20 +02:00
Brecht Van Lommel
84f21c170d Application Templates: make templates more prominent in the UI.
The goal here is to make app templates usable for default templates
that we can ship with Blender. These only have a custom startup.blend
currently and so are quite limited compared to app templates that fully
customize Blender.

But still it seems like the same kind of concept where we should be
sharing the code and UI. It is useful to be able to save a startup.blend
per template, and I can imagine some scripting being useful in the future
as well.

Changes made:

* File > New and Ctrl+N now list the templates, replacing a separate
  Application Templates menu that was not as easy to discover.
* File menu now shows name of active template above Save Startup File
  and Load Factory Settings to indicate these are saved/loaded per
  template.
* The "Default" template was renamed to "General".
* Workspaces can now be added from any of the template startup.blend
  files when clicking the (+) button in the topbar.

* User preferences are now fully shared between app templates, unless
  the template includes a custom userpref.blend. I think this will be
  useful in general, not all app templates need their own keymaps for
  example.
* Previously Save User Preferences would save the current app template
  and then Blender would start using that template by default. I've
  disabled this, to me it seems it was unintentional, or at least not
  clear at all that saving user preferences also makes the current

Differential Revision: https://developer.blender.org/D3690
2018-09-18 19:38:20 +02:00
Antonioya
77edcf5ff1 GP: Change isolate layer icon 2018-09-18 19:01:16 +02:00