a4fccde67a
Fix some templates for 2.8.
2018-11-14 18:21:06 +01:00
46ac317a29
Py API Docs: documentation for gpu_extras.presets
2018-11-14 16:43:48 +01:00
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
57573e0da9
Fix copy tracking settings operators
...
use keyword arguments
2018-11-14 12:39:59 +01:00
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
f91b797b2b
Tool System: remove duplicate gpencil draw UI
...
Tool properties showed options twice.
2018-11-14 19:19:04 +11:00
cf6a101d23
Correct assert generating tool tip/keymap
2018-11-14 17:40:12 +11:00
c279f879ab
Paint: remove brush select paint_mode
...
Instead check which property has been set.
2018-11-14 11:55:02 +11:00
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
f9145bded3
Keymaps: minor code refactor to abstract some events, no functional changes.
2018-11-13 20:29:36 +01:00
8a14306c38
Keymap: code refactor to makes some events changeable with parameters.
...
No functional changes.
2018-11-13 18:22:07 +01:00
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
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
f4d4f50212
UI: move gpencil paint into topbar only layout
...
Tool properties were duplicating UI elements.
2018-11-13 20:59:25 +11:00
4503c96a17
Cleanup: remove redundant checks
2018-11-13 17:04:57 +11:00
b657e9875c
Tool System: use enum for gp sculpt/weight paint
...
Fixes T57525
2018-11-13 16:52:39 +11:00
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
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
e17843782c
Cleanup: use namedtuple for KeymapParams
...
Prefer immutable types where possible.
2018-11-13 08:58:53 +11:00
6844f7eb0c
Merge branch 'master' into blender2.8
2018-11-13 08:25:50 +11:00
77a5250975
Eevee: Hide Sprite threshold as it is not implemented yet
2018-11-12 21:18:10 +01:00
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
7f2401532e
style fix
2018-11-12 18:04:48 +01:00
bb39e33d25
Fix: draw_circle_2d not using the segment count from parameter list
2018-11-12 17:54:51 +01:00
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
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
89786d4e30
Add back layout context for toolbar popup
...
Removed when removing search.
2018-11-12 11:56:13 +11:00
423668765a
Missed last commit
2018-11-12 11:19:30 +11:00
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
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
a48bc15707
GP: Change Thickness Text
2018-11-10 22:20:21 +01:00
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
9268de3a0e
Cleanup: naming
2018-11-10 20:27:20 +11:00
2618d0e8e2
GP: Make Sculpt and Edit Toolbar consistent
2018-11-09 22:20:39 +01:00
dc346c05fe
GP: Add missing preset properties
2018-11-09 20:04:37 +01:00
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
0c8cf8fe7f
Fix use of wrong icon IDs.
2018-11-09 15:39:57 +01:00
9ee9a257c9
UI: Fix checking for sequences.
2018-11-09 12:39:26 +01:00
7c227e4740
Py API Docs: Warnings for some properties that are slower to access than expected.
2018-11-09 12:07:10 +01:00
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
80a7c57e5e
Tool System: add grease pencil primitive tool
2018-11-09 17:12:07 +11:00
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
7346c4f513
Cleanup: use proportional edit template for keymap
2018-11-09 13:14:48 +11:00
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
87186f49cc
UI: Tweaks to Object Types Visibility popover.
...
Replace checkbox for visibility with eye icon instead.
Thanks a.monti and zebus3d for the help.
Closes T57714
Part of UI Paper Cuts T56950
2018-11-09 02:58:35 +01:00
8a41de0f8c
Cleanup: de-duplicate keymap items
2018-11-09 12:46:00 +11:00
04cdf8d040
Keymap: skip loading the keymap preset in background mode
...
Caused a crash on exit and isn't needed.
2018-11-09 11:43:45 +11:00
3064da1200
Keymap: move builtin keymaps from C to Python
...
This should be purely an implementation change,
for end users there should be no functional difference.
The entire key configuration is in one file with ~5000 lines of code.
Mostly avoiding code duplication and preserve comments and utility
functions from the C code.
It's a bit long but for searching and editing it's also convenient to
have it all in one file.
Notes:
- Actual keymap is shared by blender / blender_legacy
and stored in `keymap_data/blender_default.py`
This only generates JSON-like data to be passed into
`keyconfig_import_from_data`, allowing other presets to load and
manipulate the default keymap.
- Each preset defines 'keyconfig_data'
which can be shared between presets.
- Some of the utility functions for generating keymap items still
need to be ported over to Python.
- Some keymap items can be made into loops (marked as TODO).
See: D3907
2018-11-09 11:33:06 +11:00