Campbell Barton
37994e0af2
Merge branch 'master' into blender2.8
2018-07-01 20:15:21 +02:00
Campbell Barton
26c5a1c301
Cleanup: right shift in interface code
2018-07-01 20:12:07 +02:00
Campbell Barton
192e5d65a7
Keymap: add generally useful popups to F-Keys 1..4
...
This allows key bindings: link/append and user-preferences
to be accessed via keys - without having to assign keys to each action.
- F1: Context sensitive help.
- F2: File Context Menu.
- F3: Search.
- F4: Window Context Menu.
Other keys F5..10, remain free,
ideally they can be kept for user actions.
2018-07-01 17:51:31 +02:00
Brecht Van Lommel
71e65daf5c
Fix T55687: compile error when not using c++11.
2018-07-01 16:48:19 +02:00
Brecht Van Lommel
9c5203c98f
Fix T55626, fix T55106: Cycles motion blur + persistent images bug.
2018-07-01 16:32:35 +02:00
Campbell Barton
36a9436d80
Merge branch 'master' into blender2.8
2018-07-01 16:22:06 +02:00
Campbell Barton
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
Campbell Barton
3ec6f2172d
Cleanup: reduce variable scope
2018-07-01 10:32:47 +02:00
Campbell Barton
fadad17c58
Cleanup: avoid calloc when immediately overwritten
2018-07-01 10:26:37 +02:00
Campbell Barton
bc95c7a3ea
Cleanup: remove num argument prefix
2018-07-01 09:23:51 +02:00
Campbell Barton
1c0aa4e396
Cleanup: RNA naming
2018-07-01 09:13:04 +02:00
Campbell Barton
b4998548ab
Cleanup: use '_len' suffix for line stipple
2018-07-01 08:42:16 +02:00
Campbell Barton
ab6e23ffbb
3D View: use 3px dashed relationship line
...
Seems this was accidentally doubled from 2.7x?
2018-07-01 08:36:22 +02:00
Campbell Barton
0d31ab362e
Revert "Experimental Tweak: Only show relationship lines between objects when either the parent/child object is selected"
...
This reverts commit 9129319647 .
This meant users needed to select everything to see relationship lines,
this isn't always easy since objects can have limit-selection set.
This could be made into an enum option if it's important.
2018-07-01 08:28:12 +02:00
Campbell Barton
24979ccb65
UI: set default theme outline alpha
...
The outline wasn't being set causing it not to draw.
2018-07-01 08:04:39 +02:00
Campbell Barton
9daf6b12a6
Merge branch 'master' into blender2.8
2018-07-01 07:24:46 +02:00
Campbell Barton
9738de820a
Cleanup: use f-string
2018-06-30 22:02:41 +02:00
Campbell Barton
6a13b6324b
UI: support check-boxes in quick menu
...
Could support other RNA types,
however menus don't work well in this case.
2018-06-30 21:08:48 +02:00
Campbell Barton
7d48a342d6
Merge branch 'master' into blender2.8
2018-06-30 18:06:20 +02:00
Campbell Barton
bea62c5c1a
Cleanup: split out context member query
2018-06-30 18:05:01 +02:00
Campbell Barton
62fcf34a41
RNA: check for 3D view overlay/shading
...
Use to calculate paths for the info window.
2018-06-30 17:43:14 +02:00
Severin
b08fa7a6d9
UI: Support status-bar hiding
...
Just like the top-bar, the status-bar can now be hidden/collapsed by dragging
its edge. We display a small line with the editor outline color then, so there
is something that can be dragged up to un-collapse the area again.
This collapsed state is not written to files yet.
2018-06-30 17:01:03 +02:00
Campbell Barton
eb47ac4569
UI: correct menu label comparison
2018-06-30 16:00:18 +02:00
Severin
7f4ce6c62b
Fix corrupt screen when splitting areas after collapsing top-bar
2018-06-30 15:41:04 +02:00
Campbell Barton
b35aa659d1
DNA: rename operator idname
2018-06-30 14:17:13 +02:00
Campbell Barton
eb63b32dee
Merge branch 'master' into blender2.8
2018-06-30 13:52:04 +02:00
Campbell Barton
bdc1108e8c
Cleanup: remove unused context arg to menu
2018-06-30 12:31:53 +02:00
Campbell Barton
41176cd3d8
UI: support adding menu's to favourites
2018-06-30 12:08:08 +02:00
Campbell Barton
62ff53ff19
UI: move queries into interface_query.c
2018-06-30 10:58:56 +02:00
Campbell Barton
b89307acfd
Merge branch 'master' into blender2.8
2018-06-30 10:56:12 +02:00
Campbell Barton
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
Campbell Barton
ea6fef9385
Merge branch 'master' into blender2.8
2018-06-30 10:32:55 +02:00
Campbell Barton
b26e9f0000
Cleanup: rename bmesh_queries -> bmesh_query
...
Other files with the same purpose already used 'query'.
2018-06-30 10:32:21 +02:00
Campbell Barton
16a8f35df1
Keymap: 2.7x, use fractions
2018-06-30 10:20:16 +02:00
Campbell Barton
d15bff5e96
Keymap: 2.7x uses spacebar for search.
2018-06-30 10:06:30 +02:00
Campbell Barton
ba1f292b32
UI: add operator search to edit-menu
...
While this is most useful to access from an active-region,
it's not discoverable without a menu entry.
2018-06-30 10:04:08 +02:00
Campbell Barton
25b7bdb6a9
Merge branch 'master' into blender2.8
2018-06-30 09:29:38 +02:00
Campbell Barton
5c0d8bcdc7
Cleanup: use f-string
2018-06-30 09:25:23 +02:00
Severin
1f1c2d8ce8
Cleanup: Move area geometry management into an own file
...
Area geometry management is quite complex and not easy to get into. We should
gradualy build an API that abstracts away this complexity.
2018-06-30 01:56:07 +02:00
Severin
a55b00b53b
Fix a number of small errors in area coordinate handling
...
For example collapsing the lower part of the topbar with 2x interface scale
would hide the top-bar header region. There were also more asserts when changing
window size and moving area edges afterwards (same assert as in T55298).
Fixes are similar to e626998a26 .
With all the recent fixes I've done, area geometry handling should be stable
again. Let's hope I'm right :)
2018-06-30 00:42:19 +02:00
Severin
48ad67ef82
Cleanup: Add/use function to get area width/height from area vertices
...
This used to be rather cryptic and it was easy to forget the `+ 1` which in fact
is needed to get the correct width/height, see e626998a26 . This should
also fix some minor off-by-one errors.
2018-06-29 21:29:06 +02:00
Brecht Van Lommel
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
Severin
ac2e10d47b
Fix memory leak when using scroll-bars
2018-06-29 20:57:43 +02:00
Severin
9b6aed845a
Cleanup: Remove unused argument in recursive function
2018-06-29 20:35:32 +02:00
Bastien Montagne
0c94528829
Cleanup: naming in MOD_utils.
2018-06-29 19:02:19 +02:00
Bastien Montagne
3bc21bc5f7
Cleanup: Moar DM busting, mostly cleaning up MOD_utils.
2018-06-29 18:58:13 +02:00
Brecht Van Lommel
3aa61499d0
Fix unnecessary empty space in shading popover.
2018-06-29 17:58:58 +02:00
Brecht Van Lommel
ccacf3ae3c
Cycles: change AO node default to 16 samples and only local off.
2018-06-29 15:43:55 +02:00
Jeroen Bakker
ccca2c0164
Workbench: Spherical Harmonics tests
...
Added a compile directive in order to test SH4 in stead of SH2Win.
For now I disabled SH4, it is a bit more clear, but has a small
performance impact. Will check later for a better approach
2018-06-29 14:59:30 +02:00
Bastien Montagne
5ba87cf22e
Cleanup: remove another bunch of DM usages, includes etc.
2018-06-29 14:57:02 +02:00