Antonioya
edef141d0b
GP: Add small offset to stroke over surface.
...
This small offset helps to keep the stroke over the surface and avoid the stoke is "inside" the face of the surface.
We could add this as a parameter in the UI, but after doing a lot of test, the valid values are very limited and don't worth the change, so a hardcoded value works fine.
2018-08-30 10:17:48 +02:00
Campbell Barton
e74d7d6f81
3D View: option to always show center in face mode
...
This matches 2.7x behavior
2018-08-30 16:21:03 +10:00
Campbell Barton
7dd24ba6e8
3D View: use thicker edges when in edge-mode
...
Without this there is no visual differentiation between face/edge mode.
2018-08-30 15:54:23 +10:00
Campbell Barton
84cc111e8b
3D View: scale edit-mesh drawing by pixel size
2018-08-30 14:28:50 +10:00
Campbell Barton
8ace389fc4
UI: move workspace panels to tool settings
...
While this isn't the most logical place, there are very few workspace
options and they don't need to be in such a prominent location.
2018-08-30 13:06:03 +10:00
Campbell Barton
a4a9f4b3d1
Transform: fix redundant gizmo constraint axis
...
Setting the constraint caused the redo to show
redundant XYZ constraints UI.
2018-08-30 09:17:12 +10:00
Campbell Barton
add923f98a
UI: add active tool panel to tool settings
2018-08-30 09:00:39 +10:00
Brecht Van Lommel
3a87641aa8
Fix Freestyle build error after recent merge.
2018-08-29 18:54:04 +02:00
Campbell Barton
89186595de
Cleanup: add file doxy comments
2018-08-30 01:56:08 +10:00
Campbell Barton
0efecba957
Merge branch 'master' into blender2.8
2018-08-30 01:38:16 +10:00
Campbell Barton
39eb051616
Cleanup: indentation
2018-08-30 01:31:20 +10:00
Campbell Barton
21105e1b1f
Cleanup: use simple early exit for common case
...
Caused MSVC warning, may as well do simple check.
2018-08-30 01:19:44 +10:00
Campbell Barton
2c0f22f49c
Cleanup: correct header guard
2018-08-30 01:02:26 +10:00
Brecht Van Lommel
0d085790d1
Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.
2018-08-29 16:25:50 +02:00
Brecht Van Lommel
42f7767dab
Cleanup: rename files from group to collection to match contents.
2018-08-29 16:25:50 +02:00
Campbell Barton
e81c352746
Tool System: hide paint options for non brush tools
2018-08-29 23:58:44 +10:00
Campbell Barton
efab903107
Missed last commit
2018-08-29 18:43:32 +10:00
William Reynish
1bc9f60e5b
Icons: update to r62135
...
- Added icon for To Sphere
- Added icon for Shear
- Added icons for adding mesh objects
- Added icon for Curve Draw
- Add Curve Extrude to Cursor icon
- Tweak Curve Draw icon
- Simplified Hair Cut icon. Was hard to read
- Tweaks to Hair Puff and Smooth icons
- Added icon for Extrude Along Normals
- Updated Extrude Individual icon to become clearer and more consistent
with "Extrude Along Normals". Now it's easy to see the difference.
- Rip Edge and Rip Region icon tweaks
Note, many icons are regenerated in this commit which
weren't intended to be changed, in some cases this looks to be caused
by material color. Generating again doesn't modify so it
shouldn't be changing every time in future.
2018-08-29 18:35:39 +10:00
Campbell Barton
bd5df281e5
UI: use icons for sculpt mode toolbar
...
Re-order some enums so plus is always first.
2018-08-29 15:28:56 +10:00
Campbell Barton
0493635085
Fix T56517: 2D gizmo hotspot fails
...
Regression from 80c9cd13da
2018-08-29 14:49:42 +10:00
Campbell Barton
46fc3f39c5
Weight Paint: use black for unselected vertices
...
Contrast for selected vertices mode wasn't very strong.
2018-08-29 12:22:33 +10:00
Campbell Barton
c489c8481f
Keymap: check modal keymap item poll function
...
Fixes T56591: Vertex/Edge slide C-Key fails
2018-08-29 11:31:49 +10:00
Brecht Van Lommel
871b7ba892
Merge branch 'master' into blender2.8
2018-08-28 19:15:08 +02:00
Antonioya
5155c51844
Fix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"
2018-08-28 16:21:35 +02:00
Campbell Barton
44df1ced6d
RNA: make mesh add methods use required arg 'count'
2018-08-28 22:35:09 +10:00
Brecht Van Lommel
e20ed59037
Fix T56530, T56523: collection visiblity toggling wrong after recent changes.
2018-08-28 12:49:36 +02:00
Brecht Van Lommel
0023060893
Cleanup: compiler warnings.
2018-08-28 12:49:36 +02:00
Brecht Van Lommel
12622ce2f7
Cleanup: remove debug code.
2018-08-28 12:49:36 +02:00
Campbell Barton
f0c4d92533
3D View: split object/pose box & lasso select
...
Also fix error in lasso select with multiple pose objects.
2018-08-28 19:53:36 +10:00
Campbell Barton
91bfb168fe
3D View: split object/pose border select
...
No functional change, duplicate function for easy diffing.
Changes coming next.
2018-08-28 19:36:04 +10:00
Antonioya
71007dc1d6
GP: Use custom api to get material
2018-08-28 08:18:09 +02:00
Antonioya
9a9b1e9884
GP: Revert replace custom function by standard API
...
Using custom api breaks material at object level
2018-08-28 08:18:09 +02:00
Campbell Barton
039b11f349
PyRNA: all optional args now must be keyword args
...
In some cases the RNA API should be updated to make arguments use the
'required' flag, instead of adjusting Python scripts.
See T47811
2018-08-28 13:55:11 +10:00
Campbell Barton
5bf42ce022
RNA: use required args for internal popup end API
2018-08-28 13:50:11 +10:00
Campbell Barton
a6cc53876f
RNA: make template_list list_id a required arg
...
Prepare for keyword only args.
2018-08-28 13:42:30 +10:00
Campbell Barton
d3a72033f6
RNA: UILayout.split(..) 'percentage' to 'factor'
...
Misleading name since it's between 0..1.
Use as a keyword argument to prepare for keyword only args.
Also document that leaving unset has special behavior.
2018-08-28 12:50:11 +10:00
Ray Molenkamp
5e8a030a08
cmake: adjustments required for lib-upgrade on windows.
2018-08-27 19:38:31 -06:00
Campbell Barton
60b24f2415
Cleanup: indentation
2018-08-28 11:01:29 +10:00
Campbell Barton
b14360507e
Cleanup: warnings
2018-08-28 10:53:35 +10:00
Antonioya
9195b5b3b1
GP: Replace custom function by standard API
...
Replace BKE_gpencil_get_material_index by BKE_object_material_slot_find_index
2018-08-27 23:16:02 +02:00
Antonioya
35c1baef27
Fix T56577: Crash when using Grease Pencil Fill Brush
...
If the brush had assigned a color not present in the object material slots, the fill crashed.
Now, the material is added to the object slot before using it.
2018-08-27 23:04:58 +02:00
mano-wii
0bdabaa3f6
transform_snap_object: Add a small offset to the clip plane
...
This prioritizes the vertex and edge snap over raycast.
2018-08-27 16:00:20 -03:00
Clément Foucault
4b89bf88c7
Revert "DRW: Remove unecessary GL calls"
...
This reverts commit f8c857ad72 .
2018-08-27 18:02:48 +02:00
mano-wii
5238456adc
DNA: Deprecate gridview
2018-08-27 12:16:34 -03:00
mano-wii
44f04b5f53
Draw Manager: Remove unused function
...
Signed-off-by: fclem
2018-08-27 12:10:31 -03:00
Campbell Barton
ffbe5985c6
Fix T56547: Single column properties not aligned
2018-08-28 01:06:26 +10:00
mano-wii
c7a96651df
Fix unreported: the gridview is no longer computed, so the snapping functions have to use the actual grid scale.
2018-08-27 11:40:48 -03:00
Antonioya
9de320d882
GP: New operator to copy layers between objects
...
The operator allows to copy a complete layer with all frames or only active frame to a new object.
Can be found in edit specials menu (W key) or in Layers specials menu (last button near layer list).
2018-08-27 16:31:03 +02:00
Andrew Hale
1e6a5eb087
Implement BMesh Operator string enumerators and docs generation.
...
Partial implementation of T56496 for review.
Reviewers: campbellbarton
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3635
2018-08-27 16:15:54 +02:00
Campbell Barton
09e1e2b8ce
Fix assert displaying UV's of faceless meshes
2018-08-27 17:33:06 +10:00