Dalai Felinto
7cb2d55bd4
View 3D: Use Z Key for "geometry occlusion" toggle
...
Note: The header doesn't update until you mouse hover it.
2018-05-14 17:19:10 +02:00
Campbell Barton
627a783784
Fix error in MESH_OT_edge_face_add changes
...
Context sensitive create also needs to check selected vertices.
Also correct indentation.
2018-05-14 16:35:51 +02:00
Campbell Barton
b0f61ea6db
Fix error moving pivot
...
Missed updating keymap RNA paths.
2018-05-14 16:25:47 +02:00
Dalai Felinto
fc7316fb54
Multi-Objects: MESH_OT_vert_connect_path by Falk David
...
With a few changes:
* Use space after if.
* Skip for loop when no selected vertices.
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3349
2018-05-14 15:56:26 +02:00
Dalai Felinto
de2d642c84
Multi-Objects: MESH_OT_edge_face_add by Guy Boicey
...
With changes by Dalai Felinto:
* Indentation
* Skip for loop when no vert/edge are selected
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3233
2018-05-14 15:47:51 +02:00
Joshua Leung
2b09062def
COW Fix: The "layers used" display for armatures did not update after bones were moved between layers
...
Previously, the "layers_used" value was getting updated by the drawing code.
However, when using copy on write, the drawing code gets evaluated copies of
the armature data instead of the original data, so any updates here fail to
get flushed to the original data, hence the lack of updates in the UI.
Fixed by moving the calculation to RNA when setting bone layers, as it should
have been done originally. (The one downside to this is if we set individual
layer memberships one by one - this could be slower as the recalc would have to
happen each time this changes).
2018-05-14 15:42:57 +02:00
Joshua Leung
788488b1aa
Fix: With no bones selected, move bones to layer operator would display garbage layer set
...
Was using uninitialised memory
2018-05-14 15:42:57 +02:00
Joshua Leung
2bf4654052
Fix: POSE_OT_select_constraint_target now works with copy on write
2018-05-14 15:42:57 +02:00
Dalai Felinto
b1d016bc12
MESH_OT_select_mirror: Only report when something to report
...
Inspired by D3299.
2018-05-14 15:26:29 +02:00
Dalai Felinto
90c9458b2f
Multi- Objects: MESH_OT_select_face_by_sides by Rainer Trummer
...
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3301
2018-05-14 15:23:22 +02:00
Dalai Felinto
4043e4b820
Multi-Object: MESH_OT_vert_connect_concave by Guy Boicey
...
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3255
2018-05-14 14:56:40 +02:00
Campbell Barton
9e4709e9a5
Manipulator: fix 2D icon buttons in the 3D view
2018-05-14 14:47:52 +02:00
Bastien Montagne
e5b53fb28c
Some cleanup in modifiers' mesh copying.
2018-05-14 14:34:00 +02:00
Bastien Montagne
eabfd031fa
Fix T55031: add explicit copy flag to force deep-copying shapekey datablock with 'parent' one.
...
Chose to change defaut behavior (0-flag one) here, for sake of
consistency. Default behavior of simple BKE_id_copy() remains unchanged
though.
2018-05-14 14:25:13 +02:00
Luc Revardel
63c2397171
T54643-Multi-Object EditMesh: MESH_OT_select_nth
...
With changes by Dalai Felinto:
* Move WM_operator.* outside for loop.
* Update error message to handle Mesh and Meshes.
* Skip main functionality when no vert/edge/face is selected.
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3371
2018-05-14 14:07:10 +02:00
Pablo Vazquez
e33016c77e
UI Tweaks in 3D View
...
* Move Shading modes out of the popover
* Move Show Overlays out of the popover
* Test moving the Mode to the topbar again
* Move submode (select vertex, edge, face) to the topbar
* Remove icon from show_manipulator toggle
2018-05-14 14:00:37 +02:00
Dalai Felinto
3ebe389605
Multi-Object: MESH_OT_select_mirror
2018-05-14 13:47:53 +02:00
Campbell Barton
bf73628978
Fix extrude adjustment on normal axis
2018-05-14 13:45:34 +02:00
Joshua Leung
80ccad07cc
Fix: Skip missing COW tagging on changing armature layers via RNA
...
Was causing problems on Spring rig while trying to show/hide armature layers
2018-05-14 13:42:30 +02:00
Campbell Barton
5205a0f671
Fix incorrect matrix stack push/pop
2018-05-14 13:29:17 +02:00
Dalai Felinto
b942106c73
Multi-Object: MESH_OT_vert_connect_nonplanar by Aeden McClain
...
With indentation fixes by Dalai Felinto.
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3312
2018-05-14 13:04:01 +02:00
Dalai Felinto
016ba0f38b
Multi-Objects: VIEW3D_OT_snap_selected_to_gri by Leon Eckardtd
...
With changes by Dalai Felinto (skip for loop when no vert/edgeface selected).
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3302
2018-05-14 12:52:52 +02:00
Jeroen Bakker
261d78a2c6
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
2018-05-14 12:44:05 +02:00
Campbell Barton
0cfe9f95df
Fix extrude manipulator update w/ view orientation
2018-05-14 12:26:40 +02:00
Dalai Felinto
e1cee0ac71
Multi-Object: MESH_OT_convex_hull by Lucas Boutrot
...
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3223
2018-05-14 12:20:15 +02:00
Jeroen Bakker
51341dafc3
Workbench: Named background rendering
2018-05-14 12:07:58 +02:00
Jeroen Bakker
6a0d7f9e41
Workbench: Render studio hdr name in selection
2018-05-14 10:32:52 +02:00
Sergey Sharybin
258c5f2c0f
Particle edit: Avoid depsgraph tag from draw code
...
Some of the function was intended to be used form drawing as well,
for until that is changed in design we can not use dependency graph
tags form it.
2018-05-14 10:16:41 +02:00
Sergey Sharybin
783bb4e1cd
Revert "Tag update when using particle edit brushes"
...
This reverts commit 5dba0b68f8 .
Old code was supposed to use this function from draw, and we must never
poke depsgraph from drawing.
2018-05-14 10:16:41 +02:00
Jeroen Bakker
50bab7eb8a
Workbench: Studio light better diffuse sampling
...
Increased steps of diffuse sampling for narrow hightlights
2018-05-14 10:04:34 +02:00
Jeroen Bakker
95869f5838
Workbench: Support HDR files as HDRI studio lighting
...
support Radiance HDR files for studio lighting.
Fix crash when studiolight folder does not exist.
2018-05-14 09:56:32 +02:00
Campbell Barton
379c3e46d5
UV: multi-object project bounds
...
D3368 by @Al with own edits.
2018-05-14 09:15:43 +02:00
Campbell Barton
f78ba4bcfe
Merge branch 'master' into blender2.8
2018-05-14 09:01:11 +02:00
Campbell Barton
43ee4d5d7c
Cleanup: quiet GCC -Wtype-limits
...
While the warning can normally be disabled, we don't have have as much
control of warnings when macros are used.
2018-05-14 09:00:42 +02:00
Campbell Barton
66f0c10f84
Merge branch 'master' into blender2.8
2018-05-14 08:41:15 +02:00
Campbell Barton
c1d737eb95
BLI_utildefines: re-ordering array delete macro
2018-05-14 08:38:53 +02:00
Clément Foucault
a0c564f86a
Eevee: Hair: Disable SSR for hairs.
...
SSR does not work with hair strands. Basically, the rays are too much
random to ever converge properly and just result in a soup of self
inter reflections.
So forcing it to not produce any SSR. Could potentially save some bandwidth
by not rendering hair to the SSR buffers.
2018-05-14 00:18:00 +02:00
Clément Foucault
2c1396b6cb
Eevee: Hair: Fix normal distribution of previous commit.
...
Now it starts to look correct!
2018-05-13 23:12:45 +02:00
Clément Foucault
0c1c69d8df
Eevee: Hair: Remove old hack and replace by new hack.
...
This is a hack to properly shade wire hairs. Use stochastic sampling and
let TAA solve the noise.
At least it's way more correct than the previous hack.
2018-05-13 22:44:57 +02:00
Clément Foucault
402442997a
GPUTexture: Add Texture Buffer support.
...
This is needed by opensubdiv and can be helpfull in a lot of other cases.
2018-05-13 22:44:57 +02:00
Campbell Barton
dc4f94783d
EditMesh: show XYZ axis for extrude
...
Always show normal axis since this is the most used,
even when another orientation is selected.
2018-05-13 21:15:56 +02:00
Clément Foucault
e0a4624acd
Eevee: Fix lamp defaulting to no specular.
...
Was missing a default value.
2018-05-13 21:07:40 +02:00
Bastien Montagne
913bba5038
Fix missing path callback for new Object.display struct.
2018-05-13 19:06:37 +02:00
Brecht Van Lommel
c40c2b5ab7
UI: fix popovers not properly working with scroll arrows for long menus.
2018-05-13 18:24:13 +02:00
Julian Eisel
a23995f42a
Fix/workaround crash when appending workspace in edit mode
...
Linking/appending in edit mode currently isn't supported. For workspaces it
should probably be, but we can look into supporting this later.
For now gray out buttons in "Add Workspace" menu while in edit mode.
2018-05-13 16:49:05 +02:00
Julian Eisel
5717612f7c
Fix invisible scroll-bars after file read
...
Own mistake from 51efeb6834 .
2018-05-13 16:39:59 +02:00
Campbell Barton
a8e8e08bc6
Revert "UI: geometry-icon alpha blend over existing colors"
...
This reverts commit 9606d28d40 .
Caused issue w/ overlapping triangles,
since this isn't overly important reverting.
2018-05-13 15:39:10 +02:00
Campbell Barton
9606d28d40
UI: geometry-icon alpha blend over existing colors
...
Useful to mix pre-defined material colors.
2018-05-13 15:14:26 +02:00
Brecht Van Lommel
7a2e271e54
Fix compiler warnings.
2018-05-13 14:48:55 +02:00
Brecht Van Lommel
3469e623d3
UI/Python: layout API support for setting button emboss style.
2018-05-13 13:44:49 +02:00