Dalai Felinto
ec305ea91f
Fix assert/crash when copying RGBA color into RGB
...
For example, copy from viewport display color into brush color.
2018-10-18 16:14:40 +00:00
4728eed70c
UI: increase size of copy buffer
...
The length was 400 which isn't enough for some file paths.
2018-10-11 10:09:04 +11:00
926b9ae80a
UI: copy-buffer was cleared w/ non-text buttons
...
Also correct invalid strncpy use.
2018-10-11 10:04:11 +11:00
8ee4fd0bdf
Cleanup: style
2018-10-01 09:20:31 +10:00
3341d42ad5
Fix T56947: Copy text from disabled search menu crashed
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3745
2018-09-28 14:12:25 +02:00
efc4862ee6
Refactor: Copy/Paste values from/to UI
...
Previously copy and paste was handled within the same function using a mode switch, which is quite ugly in most cases.
This patch separates the function into two and splits up those in even smaller functions to increase maintainability.
Finally one new feature was added: You can copy from disabled fields now. (requested by hjalti)
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3738
2018-09-27 16:06:24 +02:00
58adc58661
Merge branch 'master' into blender2.8
2018-09-27 15:49:59 +02:00
a247b53084
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3732
2018-09-27 15:36:35 +02: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
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
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
d7c58cd8f7
Fix broken decorate buttong dragging after recent changes.
2018-08-31 13:35:07 +02:00
34ebf6f82c
Workspaces: move delete to right click menu, instead of X on tab.
...
These are not intended to be closed as often as e.g. browser tabs, they are
intended to be more persistent and accidental closing should be avoided.
2018-08-23 20:02:08 +02:00
b262fba5e3
Fix T55587: bugs with popovers in collapsed menus, like the timeline header.
2018-08-15 16:00:40 +02:00
37994e0af2
Merge branch 'master' into blender2.8
2018-07-01 20:15:21 +02:00
26c5a1c301
Cleanup: right shift in interface code
2018-07-01 20:12:07 +02:00
36a9436d80
Merge branch 'master' into blender2.8
2018-07-01 16:22:06 +02:00
ddee0931b8
RNA: use bool for boolean RNA types
...
We were using int's for bool arguments in BKE,
just to avoid having wrapper functions.
2018-07-01 15:57:59 +02:00
62ff53ff19
UI: move queries into interface_query.c
2018-06-30 10:58:56 +02:00
b89307acfd
Merge branch 'master' into blender2.8
2018-06-30 10:56:12 +02:00
a42fd3de5d
UI: Add 'interface_query.c'
...
Interface files are increasingly mixing up too much functionality,
add a file only to handle queries.
More functions can be moved/added here.
2018-06-30 10:49:04 +02:00
25b7bdb6a9
Merge branch 'master' into blender2.8
2018-06-30 09:29:38 +02:00
728e92422e
Fix T54524: keyframe and driver colors not showing in shape key list.
...
This reverts commit 357b72e0a7 which caused
the issue, we need a better fix for that cosmetic issue from T50862. For
now displaying keyframes and drivers is the more important one.
2018-06-29 21:23:13 +02:00
d864332085
Merge branch 'master' into blender2.8
2018-06-25 09:48:10 +02:00
b09387c388
Add back header needed win32
2018-06-25 09:46:03 +02:00
8f85cf033c
Merge branch 'master' into blender2.8
2018-06-24 11:08:14 +02:00
e61bbc00b7
Cleanup: move UI context menus into own file
2018-06-24 10:43:09 +02:00
acb94b6c78
Typo in last commit
2018-06-23 20:57:09 +02:00
85c1e61375
UI: Add user defined context menu
...
- Add/Remove from RMB context menu.
- Stored in user preferences.
- Access from Q key.
See T55027.
2018-06-23 20:52:47 +02:00
43872124f7
Merge branch 'master' into blender2.8
2018-06-23 10:46:09 +02:00
f8a3636374
UI: alternate fix for empty context menu
...
block and layout could be NULL and checking this everywhere
wasn't practical.
Instead of lazy initializing, add UI_popup_menu_end_or_cancel
which cancels empty popup menus.
2018-06-23 10:31:10 +02:00
78653cfb8c
Merge branch 'master' into blender2.8
2018-06-21 16:43:39 +02:00
84dbf949d7
UI: don't show empty button context menu
2018-06-21 16:37:19 +02:00
c054a1a848
Merge branch 'master' into blender2.8
2018-06-21 15:02:38 +02:00
a4f08297ed
UI: preference for developer extras
...
Currently only used for "Edit Source" feature.
2018-06-21 14:54:21 +02:00
66263905ae
Merge branch 'master' into blender2.8
2018-06-21 10:32:16 +02:00
f1bc9331b1
Fix T55491: Double click fail in menu popups
2018-06-21 10:07:18 +02:00
0d0d8935a5
Fix outliner mixed collection/object visibility drag toggle not working.
2018-06-20 18:12:48 +02:00
b661a4d663
Merge branch 'master' into blender2.8
2018-06-20 11:09:07 +02:00
d4519f54b3
UI: only show "Edit Translations" when addon used
2018-06-20 10:45:03 +02:00
29d7358ff6
UI: fix ctrl wheel while over the opposite side
2018-06-19 19:22:23 +02:00
44611ab860
UI: fix Ctrl-Wheel to change button values
2018-06-19 18:36:30 +02:00
43ce201125
Merge branch 'master' into blender2.8
2018-06-17 11:57:49 +02:00
2f1e34cfcc
Cleanup: use clamp_* from BLI_math (replace macro)
2018-06-17 11:50:56 +02:00
c21499ba4a
UI: show decorator icon for static-override
2018-06-16 18:27:04 +02:00
3cf239ccfa
UI: support dragging to key-frame
2018-06-16 16:29:05 +02:00
8f2acda7d7
Merge branch 'master' into blender2.8
2018-06-16 16:16:53 +02:00