Campbell Barton
349d85eb9e
Missed when moving tool keymaps
2018-11-15 13:34:47 +11:00
Campbell Barton
02d77e5bf5
Keymap: use parameters for tool keymap
2018-11-15 12:54:44 +11:00
Campbell Barton
27eba3867a
Keymap: move tool system keymaps into the default keymap
...
Note that tools can still define their keymaps,
since it's useful for add-ons.
2018-11-15 12:45:45 +11:00
Campbell Barton
c94f806dc7
WM: remove warning when toolbar not found
...
Not useful for general usage, so removing.
2018-11-15 09:51:37 +11:00
Bastien Montagne
a4fccde67a
Fix some templates for 2.8.
2018-11-14 18:21:06 +01:00
Jacques Lucke
46ac317a29
Py API Docs: documentation for gpu_extras.presets
2018-11-14 16:43:48 +01:00
Philipp Oeser
4722003ca5
Fix icon in Clip Editor header (Graph view type with enabled Filters)
...
fix provided by sebastian_k over IRC, thx!
2018-11-14 12:39:59 +01:00
Philipp Oeser
57573e0da9
Fix copy tracking settings operators
...
use keyword arguments
2018-11-14 12:39:59 +01:00
Clément Foucault
43ee433dce
UI: Comment out "Clip border" operator
...
Also Remove it from the UI as it has not been ported to 2.8 and it is a
delicate thing to do.
2018-11-14 11:50:37 +01:00
Campbell Barton
f91b797b2b
Tool System: remove duplicate gpencil draw UI
...
Tool properties showed options twice.
2018-11-14 19:19:04 +11:00
Campbell Barton
cf6a101d23
Correct assert generating tool tip/keymap
2018-11-14 17:40:12 +11:00
Campbell Barton
c279f879ab
Paint: remove brush select paint_mode
...
Instead check which property has been set.
2018-11-14 11:55:02 +11:00
Brecht Van Lommel
520f71b43a
Fix tool keymaps not working properly after recent changes.
...
Not sure this is the best fix, but this should be working. Regardless it seems
good to tag active tool keymaps as such.
2018-11-13 21:02:40 +01:00
Brecht Van Lommel
f9145bded3
Keymaps: minor code refactor to abstract some events, no functional changes.
2018-11-13 20:29:36 +01:00
Brecht Van Lommel
8a14306c38
Keymap: code refactor to makes some events changeable with parameters.
...
No functional changes.
2018-11-13 18:22:07 +01:00
Brecht Van Lommel
7aae28af2d
Keymaps: refactor loading of default keymap, fix bugs.
...
This refactors loading of key configurations to clear and refill existing
ones, rather than adding a new one and then removing the old one.
This fixes broken loading of non-default configurations after recent changes,
and prepares for future changes to make it possible to dynamically change
key configurations based on user preferences.
2018-11-13 18:22:07 +01:00
Jacques Lucke
77238819f4
Python GPU API: gpu_extras.presets.draw_texture_2d
...
Review wasn't finished yet, but I just commit this for now so that I can make some progress..
Differential Revision: https://developer.blender.org/D3901
2018-11-13 16:20:16 +01:00
Campbell Barton
f4d4f50212
UI: move gpencil paint into topbar only layout
...
Tool properties were duplicating UI elements.
2018-11-13 20:59:25 +11:00
Campbell Barton
4503c96a17
Cleanup: remove redundant checks
2018-11-13 17:04:57 +11:00
Campbell Barton
b657e9875c
Tool System: use enum for gp sculpt/weight paint
...
Fixes T57525
2018-11-13 16:52:39 +11:00
Campbell Barton
ab2fa6d3f4
Keymap: more more standard keys for select tools
...
This uses shift to extend, ctrl to de-select, both to intersect.
2018-11-13 14:05:20 +11:00
Campbell Barton
b323167600
GP: box/lasso support for select-operations
...
This adds support for more adbvanced select operations
matching 3D view select operators.
Also de-duplicate box/lasso select code.
2018-11-13 14:04:00 +11:00
Campbell Barton
e17843782c
Cleanup: use namedtuple for KeymapParams
...
Prefer immutable types where possible.
2018-11-13 08:58:53 +11:00
Campbell Barton
6844f7eb0c
Merge branch 'master' into blender2.8
2018-11-13 08:25:50 +11:00
Clément Foucault
77a5250975
Eevee: Hide Sprite threshold as it is not implemented yet
2018-11-12 21:18:10 +01:00
Campbell Barton
20d06eb3a8
WM: avoid string replace w/ appconfig-activate
...
Better construct an exact path, this would fail if the path exists
multiple times in the string.
2018-11-13 07:02:51 +11:00
Jacques Lucke
7f2401532e
style fix
2018-11-12 18:04:48 +01:00
Jacques Lucke
bb39e33d25
Fix: draw_circle_2d not using the segment count from parameter list
2018-11-12 17:54:51 +01:00
Philipp Oeser
e37a6be9e1
Fix T57766: error in Quick Effects > Quick Fur
...
Maniphest Tasks: T57766
Differential Revision: https://developer.blender.org/D3933
2018-11-12 12:10:49 +01:00
Campbell Barton
48ad67f4a3
Tool System: support for 'dropping' tools
...
While there is no support for dropping tools exactly,
the cursor tool supports a keyboard oriented workflow
which is often over-ridden by other tools key-maps
While many tools had shortcuts there was no fast way to get back to
the cursor tool.
Now double-tapping space sets the cursor tool
(as long as this tool doesn't have a key mapped).
2018-11-12 13:18:08 +11:00
Campbell Barton
89786d4e30
Add back layout context for toolbar popup
...
Removed when removing search.
2018-11-12 11:56:13 +11:00
Campbell Barton
423668765a
Missed last commit
2018-11-12 11:19:30 +11:00
Campbell Barton
e58da0b6e8
UI: remove search from toolbar popup
...
Reduce toolbar clutter, keep it only for tool access.
This is available in the menu, users who need to access this can use
the direct shortcut.
2018-11-12 10:46:09 +11:00
Bastien Montagne
fd65ebf39a
Fix T57776: Error when adding a Torus to the scene.
...
Not all Object.select_set() cases had been updated to new API... Tsst. ;)
2018-11-11 11:22:38 +01:00
Antonioya
a48bc15707
GP: Change Thickness Text
2018-11-10 22:20:21 +01:00
Antonioya
473465aae2
GP: Add brush parameter to Shapes tools
...
Need the brush to define thickness and color of the primitive (line, box, circle)
2018-11-10 20:33:37 +01:00
Campbell Barton
9268de3a0e
Cleanup: naming
2018-11-10 20:27:20 +11:00
Antonioya
2618d0e8e2
GP: Make Sculpt and Edit Toolbar consistent
2018-11-09 22:20:39 +01:00
Antonioya
dc346c05fe
GP: Add missing preset properties
2018-11-09 20:04:37 +01:00
Antonioya
03ca79a509
GP: Remove duplicate shapes popover
...
Now the tools are in Toolbar
2018-11-09 19:48:25 +01:00
William Reynish
89a66633f1
UI: split grease pencil brush curves into subpanels.
2018-11-09 18:06:25 +01:00
William Reynish
8aa17c5b12
UI: add edge markings to top level of edge menu again.
...
These are commonly used and should be quick to access.
2018-11-09 18:06:25 +01:00
Brecht Van Lommel
0c8cf8fe7f
Fix use of wrong icon IDs.
2018-11-09 15:39:57 +01:00
Pablo Vazquez
9ee9a257c9
UI: Fix checking for sequences.
2018-11-09 12:39:26 +01:00
Jacques Lucke
7c227e4740
Py API Docs: Warnings for some properties that are slower to access than expected.
2018-11-09 12:07:10 +01:00
Pablo Vazquez
395f0fdd48
UI: Fix bug when no sequencer strips were selected on a new scene.
...
Reported by Tintwotin on DevTalk. Thanks!
2018-11-09 11:53:20 +01:00
Campbell Barton
80a7c57e5e
Tool System: add grease pencil primitive tool
2018-11-09 17:12:07 +11:00
Campbell Barton
f96e7154f6
UI: tweak object type active state
...
The state of the objects visibility should only impact
the 'active' display of the select icon, not it's self.
2018-11-09 13:18:50 +11:00
Campbell Barton
7346c4f513
Cleanup: use proportional edit template for keymap
2018-11-09 13:14:48 +11:00
Campbell Barton
e81c1d3d48
Cleanup: use tuple instead of dict
...
This just loops over pairs so no mapping is needed.
2018-11-09 13:14:48 +11:00