91e87f5cf2
Merge branch 'master' into blender2.8
2018-09-17 19:40:39 +02:00
a738586810
Fix object selection with eyerdropper not respecting property poll function.
2018-09-17 12:36:31 +02:00
231a384587
Merge branch 'master' into blender2.8
2018-09-17 10:23:55 +02:00
640fcc25a4
Fix T56811: Do not show cancel button for jobs when UI is locked.
...
Since that button is then totally useless and unusable...
2018-09-17 10:22:00 +02:00
e103618b28
Cleanup: move cycles addon check out of versioning
2018-09-13 08:00:05 +10:00
759ad6aa77
Cleanup: move preference versioning into own file
...
It's more convenient to keep version patching in the same place,
this also splits out some function calls from version patching
and supports updating UserDef structs besides the 'U'l global.
2018-09-12 18:24:08 +10:00
ec72b3e19b
Cleanup: remove BGE references
2018-09-12 17:29:13 +10:00
265b5238de
Merge branch 'master' into blender2.8
2018-09-12 16:21:00 +10:00
a8c924423e
Cleanup: remove alpha_check variable from DNA
...
Just pass as an argument.
2018-09-12 15:48:00 +10:00
8eedccb3f5
Fix T56752: Tooltip flicker alpha on redraw
2018-09-11 22:11:15 +02:00
e1178266e7
Workspace: support reordering of workspaces from RMB menu.
...
Drag and drop will follow later, it's a bit complicated to make this work
reliable in the current UI code.
2018-09-11 12:43:28 +02:00
0117a4c351
Cleanup: use UI_ prefix for block flag
2018-09-11 15:08:08 +10:00
c317a21a4c
Cleanup: replace magic number
2018-09-11 14:31:19 +10:00
a0fdea271b
Workaround T56752: redo panel alpha flicker
...
The bug applies to tooltips, but isn't as noticeable.
2018-09-11 13:50:30 +10:00
0b597bf7b9
UI: use popup draw style for redo panel
2018-09-11 11:22:08 +10:00
15bab56fbc
Merge branch 'master' into blender2.8
2018-09-11 11:02:37 +10:00
5bb11cfde2
UI: split theme draw style into separate field
...
Was using UI_BLOCK_LOOP to control draw style,
this meant we couldn't use popup theme colors for cases
where it the interface has the same purpose as a popup but happens
not to use this flag.
2018-09-11 10:56:08 +10:00
29c2c307f6
UI: workaround for glitch redo panel glitch
2018-09-11 09:20:02 +10:00
406554c4db
UI: key binding draw code didn't set line-width
2018-09-11 09:20:02 +10:00
90ea5c543a
Fix T56643: crash drag & dropping ID onto a text field.
2018-09-06 17:35:16 +02:00
31026f8c0e
UI: keep showing label tooltip once it's open
...
This means dragging the cursor over the tools will show all labels
immediately, but only once a single label is displayed.
2018-09-06 14:22:12 +10:00
26c17b0ab1
UI: delay tool label tip display
...
Displaying the labels tip immediately feels too intrusive,
make this work more like regular tooltips, displaying more quickly.
Tooltips can now uses multiple passes, each pass with it's own delay
for the next pass to show.
2018-09-06 14:19:15 +10:00
59572cbbc4
UI: tweak tool bar tooltips
...
- Only show label-tips when tools are icon-only.
- Don't show shortcuts in label-tips.
- Position both tool label & full tips around the button bounds.
2018-09-06 11:19:14 +10:00
2ffe7dbef1
UI: tweak tooltip placement
...
Only apply offset w/ non overlapping placement.
2018-09-05 17:10:59 +10:00
af7d0af153
UI: avoid comma which can be used in shortcuts
2018-09-05 14:03:28 +10:00
6f1f7296f4
UI: show a small label next to the tool
...
Instead of showing the full tip immediately when hovering over a tool,
show only the (label, shortcut), without suppressing the regular tip.
2018-09-05 13:52:19 +10:00
f87533ba6f
UI: keep no-overlap tips open on cursor motion
...
Was causing flicker.
2018-09-04 19:35:22 +10:00
7bb856b3c8
Fix assert creating a tools tip
2018-09-04 18:20:51 +10:00
571aead323
UI: support immediate non-overlapping tooltips
...
Use these for the toolbar, since they're non-overlapping the interface,
showing them quickly isn't a problem.
2018-09-04 18:05:17 +10:00
531183dfd8
Merge branch 'master' into blender2.8
2018-09-04 15:29:27 +10:00
52f4531eeb
UI: cleanup tooltip bounds clamping
...
Wasn't properly clamping on the window minimum.
2018-09-04 15:26:50 +10:00
113c180902
UI: show tool name in tip w/ icon-only display
2018-09-04 14:37:19 +10:00
578879253d
UI: use horizontal alignment for expanded enums
...
With the property separate option, the direction of expanded enums
now follows the current layout.
2018-09-04 14:09:37 +10:00
e152483a32
Tool System: add paint brush shortcut
2018-09-03 23:19:27 +10:00
cc03218962
Fix T56659: Flow UI: Checkboxes report wrong width, making layouts jump to multi-columns too soon.
...
Wrong handling of ideal width when splitting buttons and labels appart
for checkboxes...
2018-09-03 11:07:29 +02:00
660477f4a4
UI: disable key shortcuts for tools
...
Only show shortcuts in the tooltips since they use different logic.
2018-09-03 13:56:33 +10:00
d015c1db3e
Cleanup: replace __import__ w/ import argument
2018-09-03 12:53:42 +10:00
88a893a838
Merge branch 'master' into blender2.8
2018-09-03 12:48:51 +10:00
7ff1750218
PyAPI: add optional imports to expression eval API
...
Avoids having to use `__import__` to access modules.
2018-09-03 12:43:43 +10:00
0c389862c4
Tool System: Show popup accelerators in tooltip
...
The tooltips for tools in the toolbar now show how to access.
2018-09-03 11:29:37 +10:00
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
ae57383648
Cleanup: comment blocks
2018-09-02 18:28:27 +10:00
d7c58cd8f7
Fix broken decorate buttong dragging after recent changes.
2018-08-31 13:35:07 +02:00
b1ccb6ad25
Tool System: support tool description for tips
...
When the description isn't set, the operators is used instead.
2018-08-31 14:37:10 +10:00
7c6136b35c
Merge branch 'master' into blender2.8
2018-08-31 13:40:10 +10:00
18d135d05c
Cleanup: rename WM_keymap_find -> WM_keymap_ensure
2018-08-31 13:36:46 +10:00
d2ad256326
UI: add dedicated icon IDs for decorators, tool settings, shaderfx, overlays.
...
The preset and decorator icons were updated to be monochrome and draw in the
same color as text. Other icons are unchanged, having them as separate icon IDs
prepares for an artist to make them.
2018-08-30 17:56:54 +02:00
41d1af9a11
UI: check prop-separate before adding black decorator
...
This caused the blank icon to be added to menus (ndof menu for eg).
2018-08-30 20:50:06 +10:00
3071d67c3a
UI: fix glitch redrawing after redo panel collapse
2018-08-30 19:00:37 +10:00
ffbe5985c6
Fix T56547: Single column properties not aligned
2018-08-28 01:06:26 +10:00