Joshua Leung
ca16c74e87
Viewport: "Show Relationship Lines" overlay toggle is now respected by Object Mode & Armatures (Edit/Pose)
2018-06-11 02:49:38 +12:00
Campbell Barton
937e4fb49a
UI: change toolbar icon size from 38 -> 32
2018-06-10 16:42:19 +02:00
Campbell Barton
a978654977
UI: use property split for UV mask panel
2018-06-10 16:29:55 +02:00
Campbell Barton
4d1193feb3
UI: correct jitter button
2018-06-10 16:08:19 +02:00
Campbell Barton
87a71f36fc
UI: use split property for tool settings
...
Patch by @billreynish w/ edits
2018-06-10 15:58:39 +02:00
Campbell Barton
c10f1379cd
UI: remove tab use in the tool-settings
2018-06-10 15:40:02 +02:00
Campbell Barton
e5a0cf730a
UI: use two columns for the overlay popover
...
Also use sub-panels.
Patch by @billreynish w/ edits.
2018-06-10 15:24:04 +02:00
Pablo Vazquez
afa45fb858
UI: Use flow layout for object properties context
...
Mainly as a proof of concept and test to use in other contexts.
2018-06-10 13:56:28 +02:00
Campbell Barton
a68bed06f6
Merge branch 'master' into blender2.8
2018-06-10 12:11:16 +02:00
Campbell Barton
d0a16772ad
WM: add macros to check mouse button/gesture/wheel
...
Use to check click/drag,
fixes issue with mouse wheel triggering pie menu.
2018-06-10 12:08:09 +02:00
Jeroen Bakker
8314be7c89
Fix T55423: GLSL compilation error Flat + XRay
2018-06-10 11:51:07 +02:00
Campbell Barton
a52152c59f
Merge branch 'master' into blender2.8
2018-06-10 08:21:50 +02:00
Campbell Barton
ae01df5779
Cleanup: trailing space in CMake files
2018-06-10 08:19:03 +02:00
Clément Foucault
dd67d703a7
Workbench: Fix material compilation.
2018-06-09 21:11:03 +02:00
Clément Foucault
147eef9741
Eevee: Improve compilation time (reduce branching).
...
This patch reduce the branching in the lamp loop, improving compilation time
noticeably (2372ms to 1785ms for the default shader).
This should not change the appearance of the shader.
Performance impact is negligeable.
2018-06-09 21:11:03 +02:00
Campbell Barton
45a5ddb57b
Merge branch 'master' into blender2.8
2018-06-09 18:58:14 +02:00
Campbell Barton
2e14b7fb97
RNA: remove Layout.introspect
...
This was added as an experiment to extract information for docs
but this was never all that useful for its intended purpose.
2018-06-09 18:55:51 +02:00
Campbell Barton
419a813938
Merge branch 'master' into blender2.8
2018-06-09 18:48:11 +02:00
Campbell Barton
83cb34ccd1
Cleanup: unused functions
2018-06-09 18:47:39 +02:00
Campbell Barton
726ed7244e
UI: always show popover subpanel header text
2018-06-09 18:15:08 +02:00
Campbell Barton
2ae404252d
UI: fix popover subpanel header display
2018-06-09 18:03:22 +02:00
Campbell Barton
7fdde7fd86
UI: use draw_header function for popover buttons
...
Add 'is_popover' for panel draw functions to check if they're in a popup.
This puts dyntopo toggle next to the popover.
2018-06-09 17:38:32 +02:00
Bastien Montagne
ec8a20fec0
Add new GridFlow layout.
...
This mimics the 'spreadsheet' behavior. Columns and/or rows can have
equal sizes, or adapt to their content - but always in a grid way (i.e.
all items in a same column will always have same available width, and
all items in a same row will always have same available height).
Also, you can fill (order) the grid in a row- or column-major way.
Not used anywhere for now.
Differential: https://developer.blender.org/D2395
2018-06-09 16:54:26 +02:00
Campbell Barton
5159ce640f
Cleanup: style
2018-06-09 16:39:40 +02:00
Bastien Montagne
70f8eaf1b7
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/space_view3d/drawobject.c
2018-06-09 15:18:21 +02:00
Bastien Montagne
638de72277
Cleanup: remove some G.main usages.
2018-06-09 15:17:04 +02:00
Campbell Barton
2ca8230f67
Merge branch 'master' into blender2.8
2018-06-09 14:43:01 +02:00
Campbell Barton
fb565ddb68
Cleanup: trailing space in RNA
2018-06-09 14:40:09 +02:00
Campbell Barton
56a47e58f4
Cleanup: style
2018-06-09 14:30:32 +02:00
Campbell Barton
09ce794dc8
UI: initial support for parent panels in popovers
...
Currently this just includes the panels, no support for collapsing yet.
2018-06-09 14:21:39 +02:00
Campbell Barton
8f40af6dcd
RNA: revert object mode re-order
...
This was done so numbered shortcuts made sense.
Now order matches master.
2018-06-09 12:57:15 +02:00
Campbell Barton
964c5421df
Merge branch 'master' into blender2.8
2018-06-09 12:56:37 +02:00
Campbell Barton
9bcced83ee
GHOST/X11: Print the keycode w/ debug enabled
2018-06-09 12:53:39 +02:00
Clément Foucault
3bbef95747
Workbench: Fix xray normal not being normalized.
2018-06-09 12:44:56 +02:00
Clément Foucault
337aab59e9
Workbench: Matcaps: Fix matcap under perspective.
...
This fixes the problem that matcaps have when using a very larg FOV in
perspective view.
This was because it was stupidly using the normal direction which can not
aligned with the view vector under perspective.
So to workaround this problem we don't use the normal as is, but compute
how much it's facing the camera.
This changes how matcaps looks in perspective because they now always use
the full range of the matcap (which is expected).
2018-06-09 12:44:56 +02:00
Clément Foucault
a1b42b79b3
Workbench: Fix incident vector calculation.
...
This fixes specular in perspective view.
2018-06-09 12:44:56 +02:00
Campbell Barton
7ce81484f8
Merge branch 'master' into blender2.8
2018-06-09 12:06:33 +02:00
Campbell Barton
6f4c7f1f01
GHOST/X11: Correct non-latin kb workaround case
...
Harmless since this is always enabled,
only do this for easier troubleshooting when disabling the define.
2018-06-09 12:04:07 +02:00
Campbell Barton
b492a0e767
Merge branch 'master' into blender2.8
2018-06-09 11:27:22 +02:00
Campbell Barton
f3427cbc98
GHOST/X11: support accessing physical keycodes
...
This means we can check keys such as tilde in a generic way.
2018-06-09 11:23:41 +02:00
Campbell Barton
03f0ecca93
GHOST/X11: Map unknown us.intl key to accentgrave
2018-06-09 09:10:04 +02:00
Pablo Vazquez
86660aa294
Layout for materials closer to single column
2018-06-08 23:56:39 +02:00
Jörg Müller
dd2e187344
Audaspace: add support for latest ffmpeg.
2018-06-08 23:11:16 +02:00
Campbell Barton
528dc6440b
Merge branch 'master' into blender2.8
2018-06-08 22:19:39 +02:00
Campbell Barton
5165d62931
WM: correct recent change to click/drag detection
...
fb1915d870 - caused click/drag events not to be detected.
Now check a key is a mouse or keyboard event.
2018-06-08 22:17:21 +02:00
Campbell Barton
d1ab958fd4
Merge branch 'master' into 28
2018-06-08 19:03:37 +02:00
Campbell Barton
4f2eac3b39
WM: fix panel drag event handling
2018-06-08 19:03:29 +02:00
Campbell Barton
bf77efb684
WM: fix node link & background drag
2018-06-08 19:03:29 +02:00
Campbell Barton
1857823839
WM: fix panel drag event handling
2018-06-08 18:58:41 +02:00
Campbell Barton
2dc7555522
WM: fix node link & background drag
2018-06-08 18:55:47 +02:00