Commit Graph

9187 Commits

Author SHA1 Message Date
William Reynish
b18ac77df3 UI: icon set updates Andrzej Ambroz, and various fixes.
* Text editor word wrap, line numbers & syntax toggles now use consistent icons
  that don’t change when you enable or disable them.
* Replaced icon toggle buttons in the snapping popover with normal checkboxes
  and descriptive text labels. This makes it clearer which item is the main
  radio button, is more consistent with other popovers, and allows us to use
  more descriptive text.
* Added correct icons for grease pencil add menu.
* Added bespoke icons for grease pencil modifiers.
* Added icon for particle instance modifier.
* Added icon for fake user on & off states.
* Added correct icons for enabling/disabling modifiers in the dopesheet &
  f-curve editor.
* Made it so the restrict viewport & restrict render toggles for modifier
  update correctly when enabled or disabled, by flipping the order in the
  icon sheet. This also required changing the outliner to match.
* Removed the few old remaining icons in the old style and made sure to replace
  the last places where they were used.
* Updated many icons to be clearer & more consistent.
2018-10-29 19:04:07 +01:00
Campbell Barton
a0453dadf0 Merge branch 'master' into blender2.8 2018-10-29 13:04:47 +11:00
Campbell Barton
6c892efdbc Modifier: mask threshold option
D3834 by @Allosteric
2018-10-29 13:03:28 +11:00
Clément Foucault
b8331b79e6 Eevee: Implement jittered soft shadowmap
This new option is located in the shadows options in the render settings.
This approach is simple and just randomize the shadow map position (not
the lamp itself) and just let the temporal supersampling do the average of
all the shadowing. The downside is that is needs quite a large number of
samples to give smooth results and individual sample position can remain
visible.

Enabling this option will make the viewport refresh all shadow maps every
redraw so it has a serious performance impact.

This approach is not physicaly based at all and will not match cycles.

----

The sampling for point lamps (spheres) is not
2018-10-28 21:48:22 +01:00
Antonioya
39bc44ffc5 GP: Refactor Instance modifier and rename to Array
The old name Instance was logic when the modifier created new object instances, but now works equal to mesh Array modifier, so the old name was not logic and must be Array.

Also added a Object to use as offset similar to mesh Array modifier.
2018-10-28 18:20:50 +01:00
Brecht Van Lommel
9bcdb19a3e Fix label misalignment when there are multiple buttons on the right side. 2018-10-28 17:46:52 +01:00
Brecht Van Lommel
046735d751 Merge branch 'master' into blender2.8 2018-10-28 16:41:30 +01:00
Philipp Oeser
94ab6429bb Fix T57394: missing bl_category in panel (custom props / stereoscopy)
Differential Revision: https://developer.blender.org/D3835
2018-10-28 10:40:38 +01:00
Campbell Barton
7e3e26d00a Tool System: pie menu style activate-on-release
Support activate on release for the popup toolbar.
2018-10-27 12:25:05 +11:00
Campbell Barton
6be7a98906 PyAPI: raise error when toolbar panels use tabs
Add-ons that register panels in the toolbar can
no longer use 'bl_categories' (tabs).
2018-10-26 15:05:07 +11:00
Campbell Barton
4c75cc488a Correction for Gizmo.draw_custom_shape utility API 2018-10-26 12:43:40 +11:00
Jacques Lucke
0264c050bf PyAPI: gpu utility module to create new batches
Support the common case of creating batches from python geometry,
a shader and optionally indices.

See D3779
2018-10-26 12:40:43 +11:00
Campbell Barton
0f0eafaa0e Cleanup: minor change to last commit 2018-10-26 11:48:42 +11:00
Campbell Barton
6d2897c7ed Update Gizmo.draw_custom_shape for API changes 2018-10-26 11:26:39 +11:00
Campbell Barton
a4a6ed1ba3 WM: default tool was being set for space types w/o tools
Add mask for space types so we don't accidentally add tools
for space types that don't support it.
2018-10-26 10:46:35 +11:00
Campbell Barton
1d8ba9d618 PyAPI: Make GPUVertFormat() argument optional 2018-10-26 08:06:05 +11:00
Antonioya
b445d57ccf GP: Add warning when mix Build and Time Offset 2018-10-25 19:15:32 +02:00
Antonioya
4c2561a877 GP: Include option to render layers by view layer
This allows to make composition getting each grease pencil layer in a different render output.
2018-10-25 16:50:42 +02:00
Ines Almeida
2b6253175e Cleanup: comments and unused code 2018-10-25 13:41:32 +00:00
Campbell Barton
869b1a8d6e Tool System: draw circle-select brush outline 2018-10-25 21:05:47 +11:00
Campbell Barton
9a6d8f809d Tool System: support custom cursor drawing 2018-10-25 21:05:47 +11:00
Campbell Barton
f606ee7637 PyAPI: initial gpu_extras module (circle drawing utility) 2018-10-25 21:05:47 +11:00
Campbell Barton
05f2caa210 Merge branch 'master' into blender2.8 2018-10-25 12:26:08 +11:00
Campbell Barton
c9e36e5434 Cleanup: unused vars, correct bad (unused) logic 2018-10-25 12:24:38 +11:00
Campbell Barton
23fdac8672 Cleanup: unused variables 2018-10-25 12:03:34 +11:00
Campbell Barton
bf34f95a9e UI: move 2d paint panels to topbar & toolsettings
Removed 'Tool' and 'Options' panels,
both these settings are quite obscure and
already available in the 'Brush' menu.
2018-10-25 11:15:48 +11:00
Campbell Barton
03e0fd289d Fix top bar unified color & image paint brush 2018-10-25 09:54:18 +11:00
Antonioya
0ce8ee526f GP: Add missing title for Armature modifier 2018-10-24 17:10:51 +02:00
Antonioya
735d6cb8d8 GP: Add new Layer Pass Index filter to modifiers
Now the modifier can be filtered using the new layer index.

Also changed panels to put layers and passes filter always at the end of the panel.
2018-10-24 16:46:35 +02:00
Antonioya
e1a66201da GP: Add layer pass index to time modifier 2018-10-24 11:03:09 +02:00
Antonioya
5af716620a GP: Add new modes to Time Offset modifier 2018-10-24 10:32:03 +02:00
Campbell Barton
901ccfab52 Fix T57366: Mesh.from_pydata invalid loose-edge state 2018-10-24 11:37:44 +11:00
Dalai Felinto
134db5618a Lattice UI: Add select more/less to menu 2018-10-23 20:40:19 -03:00
Antonioya
0d453d3c48 GP: Rename Offset to Frame Offset in Time modifier 2018-10-23 17:28:02 +02:00
Antonioya
3e9405e26d GP: Add new frame scale parameter to Time modifier
This new parameter allows to increase or decrease the animation speed to break animation patterns when reuse data blocks.
2018-10-23 16:47:09 +02:00
Antonioya
f77eafed33 GP: Add transform tools to Toolbar 2018-10-23 13:03:46 +02:00
William Reynish
43c6aba670 Fix various icon related issues:
* Used correct icons for Tracking.
* Flip Copy/Paste icons so they are correct.
* Add correct icon for softbody modifier.
* Replace speaker icons for enabling F-Curves with checkboxes.
2018-10-22 19:28:24 +02:00
Antonioya
e010d5e3b1 GP: New Time modifier
This modifier allows to offset the keyframe animated to get more variations in the animation when reuse the same datablock.
2018-10-22 18:30:26 +02:00
Jacques Lucke
650cdc6b2d Drag & Drop: Support Open/Link/Append when dropping .blend file
When a .blend file is dropped into Blender a small menu opens.
In that menu the user can choose between three options: Open, Link and Append.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D3801
2018-10-22 17:18:42 +02:00
Campbell Barton
91b768ccb1 UI: remove mask toolbar, use menus instead 2018-10-22 18:08:19 +11:00
William Reynish
96fef7db5a Icons: update geometry icons
- Tweaked icons for Box Select, Circle Select & Lasso Select.
- Tweaked icons for Rip Region & Rip Edge.
- Added icons for Bone Envelope, Bone Size, Pose Breakdown,
  Pose Push & Pose Relax.
- Added icons for curve Extrude, Extrude Cursor.

Also removed grease pencil mirror tool which wasn't an active tool,
and is now consistent with regular Edit Mode.
2018-10-21 16:23:15 +11:00
Dalai Felinto
39ad5c3ef1 Rename BakeAction > NLA_OT_bake
This was already the bl_idname anyways.

Now this seems to be working, for single and multi-pose.
That said, the operator seems to fail on redo.
2018-10-19 16:35:09 -03:00
Brecht Van Lommel
b2d495c2de UI: move reports / job back to status bar, but make it more visible with color. 2018-10-19 17:19:03 +02:00
Dalai Felinto
d01e0d1ef1 CTX_DATA_BEGIN for active object only (..._from_active_object)
For now only `selected_pose_bones_from_active_object`, more options can
be added on demand.

Discussed this with Campbell Barton. We may need this only for selected
pose bones, time will tell.
2018-10-19 08:31:58 -03:00
Campbell Barton
16882ca535 Image Space: make 'UV Edit' a separate mode
This is needed for splitting UV into its own editor, see: T54744
2018-10-19 20:15:18 +11:00
Campbell Barton
3f542312cf Merge branch 'master' into blender2.8 2018-10-19 17:51:40 +11:00
Campbell Barton
0bbc6a903a Fix error disabling all addons 2018-10-19 17:49:48 +11:00
Campbell Barton
13a797466b UI: correct face center button active state 2018-10-19 17:10:40 +11:00
Campbell Barton
60d7740fe6 Tool System: option for transform drag action
See: T57203
2018-10-19 11:54:26 +11:00
Brecht Van Lommel
4925bb1ec3 Links: update development fund link to new URL. 2018-10-18 18:57:01 +02:00