Commit Graph

78692 Commits

Author SHA1 Message Date
Campbell Barton
b2d8f83444 Keymap: run search by its key in tools popup
The button & key are displayed here, so its best if the shortcut works.
2018-07-13 09:18:46 +02:00
Campbell Barton
06b9f000e5 Merge branch 'master' into blender2.8 2018-07-13 09:05:55 +02:00
Philipp Oeser
8c957468bc Keymap: dope-sheet hotkey to change falloff 2018-07-13 09:05:41 +02:00
Philipp Oeser
8f884c22f1 Keymap: dope-sheet hotkey to change falloff 2018-07-13 08:59:19 +02:00
Campbell Barton
8a429b03e1 Cleanup: style 2018-07-13 08:42:34 +02:00
Campbell Barton
a855a763c2 Merge branch 'master' into blender2.8 2018-07-13 08:40:17 +02:00
Campbell Barton
fb5597540d Cleanup: right shift arguments 2018-07-13 08:36:10 +02:00
Campbell Barton
a81d0108fc Cleanup: rename snap enum 2018-07-13 08:18:18 +02:00
Campbell Barton
6d3ff55e1c Correct error mixing fraction/screen snap
Thanks @mano-wii for pointing out
2018-07-13 08:14:16 +02:00
Campbell Barton
6f8a141fad Merge branch 'master' into blender2.8 2018-07-12 21:43:51 +02:00
Campbell Barton
e77d2b4e3f Cleanup: remove legacy mesh save support
This was used for saving files for Blender 2.6x.
2018-07-12 21:35:57 +02:00
Campbell Barton
0c41d61008 WM: snap to fractions when resizing areas
Snap to fractions in 1/(2,3,4,8),

Nice for less arbitrary layouts.
2018-07-12 16:55:16 +02:00
Campbell Barton
5aff20dfd5 UI: add toggle fullscreen to window context menu 2018-07-12 15:25:05 +02:00
Campbell Barton
415018778c PyAPI: show line, not call-stack for field warning
Was too noisy and hard to tell warnings from exceptions.
2018-07-12 15:22:55 +02:00
Campbell Barton
69b7ae8397 Merge branch 'master' into blender2.8 2018-07-12 14:46:48 +02:00
Campbell Barton
753a600e35 PyAPI: add undo redo handlers
Useful so Python can clean up before/after undo steps.
2018-07-12 14:43:35 +02:00
Philipp Oeser
c21488df5a Fix T55945: Outliner crash
crashed when using filtering and no item was found ('Blender File' mode)

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D3535
2018-07-12 13:37:29 +02:00
Brecht Van Lommel
9a5fb0209e Fix T55949: increase color management exposure hard range. 2018-07-12 11:47:19 +02:00
Campbell Barton
98c215f4db Keymap: add 3D view snap popup
The key was available for other spaces,
removed because it conflicted with changes
which have since been reverted.
2018-07-12 11:46:16 +02:00
Campbell Barton
5cdfb74dd8 Keymap: add utility function for panel popups 2018-07-12 11:43:37 +02:00
Campbell Barton
f4d4047d80 Merge branch 'master' into blender2.8 2018-07-12 11:20:48 +02:00
Campbell Barton
d75b8e5f01 Cleanup: header guards 2018-07-12 11:19:22 +02:00
Campbell Barton
e387a4e768 Cleanup: style, duplicate header 2018-07-12 11:16:22 +02:00
Campbell Barton
a2929edf28 Merge branch 'master' into blender2.8 2018-07-12 11:10:25 +02:00
Campbell Barton
0108ce1fe5 Cleanup: pep8, cycles 2018-07-12 11:03:13 +02:00
Campbell Barton
75d69eab69 Minor cleanup to last commit
No need to make attr-lists with the current layout logic.
2018-07-12 10:54:53 +02:00
Campbell Barton
77928c2a09 UI: Group geometry in object visibility popover
Makes it easy to quickly hide all non-geometry.
2018-07-12 10:51:00 +02:00
Campbell Barton
864a4cf64b Keymap: Modifiers to control mesh elem switching
Shift/Ctrl control extend/expand when number keys are used
to switch modes.
2018-07-12 10:37:20 +02:00
Campbell Barton
21b6983b9d UI: minor edits to overlay popover
- Rename "Viewport Info" to "Text Info".
  Name was too vague, nearly everything is information,
  this currently only controls overlay text.

- Swap text-info & 3D-cursor, making 3D-cursor less prominent.
2018-07-12 10:14:19 +02:00
Campbell Barton
963da9ff6e UI: 4-state icon for view visibility popover
This is a quick way to see if some of the object types in the
scene are hidden or unselected.

Icon design may change.
2018-07-12 09:39:41 +02:00
Campbell Barton
66087fe127 Merge branch 'master' into blender2.8 2018-07-12 09:15:06 +02:00
Campbell Barton
b328a59373 Icons: support setting blender, inkscape commands 2018-07-12 09:14:13 +02:00
Campbell Barton
55354d734e Merge branch 'master' into blender2.8 2018-07-12 08:31:19 +02:00
Campbell Barton
1db47a2ccd Fix PyRNA class registration w/ Python 3.7
In Python3.7 this now raises an error.
2018-07-12 08:30:39 +02:00
Campbell Barton
d28d202fd1 PyAPI: remove bpy.utils.register_module
Remove bpy.utils.register_module() & logic tracked RNA classes.
2018-07-11 23:13:37 +02:00
Campbell Barton
09aa799e53 PyAPI: Use annotations for RNA definitions
- Logical use of fields since they define type information.
- Avoids using ordered-dict metaclass.

Properties using regular assignments will print a warning and load,
however the order is undefined.
2018-07-11 22:18:09 +02:00
Brecht Van Lommel
b843753ad5 Buildbot: initial configuration for Visual Studio 2017. 2018-07-11 21:38:00 +02:00
Campbell Barton
e3c85aaca7 Manipulator: expose use_select_background via RNA 2018-07-11 20:23:34 +02:00
Pablo Vazquez
4880b71d54 UI: Flip Overlays/Shading position
This brings the Object Visibility dropdown closer to overlays which
also controls visibility of elements int he viewport, so it makes more
sense there. Also placing the Overlays settings closer to the viewport.
2018-07-11 20:10:27 +02:00
Campbell Barton
4b57bb0387 UI: overlay, remove redundant 'object' term 2018-07-11 19:01:10 +02:00
Pablo Vazquez
c643f02b07 UI: Fix Seams button drawing differently 2018-07-11 19:01:01 +02:00
Campbell Barton
4e9d039ef7 3D View: option not to draw center dots
While this is a fairly obscure option,
it means it's possible to disable all overlays except for any
overlays the users wants to see.
2018-07-11 18:55:54 +02:00
Pablo Vazquez
9bf1868eae UI: Rename Bone Select to Fade Geometry in Overlay popover
Part of design: T55863
2018-07-11 18:54:42 +02:00
Pablo Vazquez
960784e719 UI: Overlay panel fix for display_all 2018-07-11 18:46:08 +02:00
Pablo Vazquez
4299f62114 UI: Re-arrange Overlay popover for Mesh Edit Mode
Sub-panels for shading, measurement, normals, freestyle and developer.
Less-used sub-panels will be collapsed by default once their implementation
is complete (fixing spacing between sub-panels, adding the triangle to collapse, etc).

Also added missing check for overlays on/off on existing sub-panels.
2018-07-11 18:41:38 +02:00
Pablo Vazquez
ccfc66edec UI: Add missing Viewport Info to Overlay popover 2018-07-11 18:41:38 +02:00
Clément Foucault
78988e175a Fix T55915 DOF Number of blades wrong logic
Thanks @kostex for the fix.
2018-07-11 18:33:35 +02:00
Clément Foucault
5db8f6d189 Edit Mesh: Fix missing loose edges if vertex is at local origin 2018-07-11 18:20:25 +02:00
Campbell Barton
b90646dc0e Transform Manipulator: fix scale handle selection
The scale handles couldn't be accessed when rotation was enabled and
they pointed away from the view.
2018-07-11 18:09:19 +02:00
Campbell Barton
8bab591758 UI: overlay panel minor tweak
Move face-orientation to less prominent location since its
more of a debugging option.
2018-07-11 17:22:57 +02:00