Campbell Barton
6d72d3c862
Cleanup: abbreviate unsigned types (editors, wm)
2018-07-08 12:49:36 +02:00
Campbell Barton
9d43ed521c
Cleanup: abbreviate unsigned types (draw manager)
2018-07-08 12:49:03 +02:00
Campbell Barton
b5811bccf8
Correct recent keymap change, writing all keymaps
2018-07-07 20:03:30 +02:00
Campbell Barton
8467a7a351
Keymap: store 2.7x map as data instead of running code
2018-07-07 19:53:05 +02:00
Campbell Barton
f7bce99e4d
Keymap: support for reading/writing keymaps as data
...
Instead of running code to create a keymap, store them as data.
This allows for keymaps to share content as well as running
transformations at load time.
2018-07-07 19:53:02 +02:00
Campbell Barton
1f539cd7ef
Merge branch 'master' into blender2.8
2018-07-07 11:32:40 +02:00
Campbell Barton
97cd8bfae1
Cleanup: isinstance can take multiple types
2018-07-07 11:29:57 +02:00
Campbell Barton
0f1000ce0b
Cleanup: pep8, style
2018-07-07 09:02:34 +02:00
Campbell Barton
80a31d30a4
Merge branch 'master' into blender2.8
2018-07-07 08:53:00 +02:00
Campbell Barton
4b373ed086
Cleanup: pep8
2018-07-07 08:48:35 +02:00
Campbell Barton
252207cc7a
Cleanup: redundant poll checks
2018-07-07 08:36:17 +02:00
Brecht Van Lommel
a6340a5068
Viewport: in Lookdev shading, disable scene lights and world by default.
...
Now we light with just a user defined HDRI by default, which is useful
for material setup and texture painting and lighting without having to
set up any scene lights.
Previously it would use the scene world without lights by default, which
in some files is just black.
2018-07-06 20:22:03 +02:00
Brecht Van Lommel
aed09d4329
Cleanup: remove unused shader node compatibility flag.
...
No longer needed after Blender Internal removal and Eevee replacing the
Cycles GLSL shading nodes.
2018-07-06 20:22:03 +02:00
Brecht Van Lommel
74fd17e9d7
UI/Python: rename Lamps to Lights, to follow more standard terminology.
...
Internally it's still mostly named lamps, though some modules like Cycles
were already calling them lights.
2018-07-06 20:06:09 +02:00
Campbell Barton
4ac048f4e4
Merge branch 'master' into blender2.8
2018-07-06 19:34:41 +02:00
Julian Eisel
29b8adec61
UI: Add extra padding to menus to draw sub-menu triangles in
...
Shortcut strings would be offset to the left to make space for the triangles,
breaking the alignment with other shortcut strings. Now this alignment is kept
by making menus slightly wider if there's a sub-menu triangle visible, making
room for the triangle.
2018-07-06 19:33:13 +02:00
Julian Eisel
2a199f5093
UI: Use flat triangle drawing for indicating submenus
...
Left the RIGHTARROW_THIN icon in, even though it's not used in C code anymore.
However add-ons may do (e.g. Amaranth does).
2018-07-06 19:33:13 +02:00
Campbell Barton
b94222b090
PyDrivers: update bytecode check for Python3.6
2018-07-06 19:31:00 +02:00
Pablo Vazquez
d360eced65
UI: Single-column for 3D Cursor panel in 3D View
2018-07-06 18:29:57 +02:00
Vuk Gardašević
4674cffe29
UI: 3D View, View panel: single-column, flow and subpanel
...
See D3525
2018-07-06 18:23:15 +02:00
Campbell Barton
a48b52d546
3D View: support object type visibility/selection
...
Trying to have a single option for this is too likely to be
insufficient in some cases.
Instead, support object type visibility & selectability per view-port.
2018-07-06 17:53:40 +02:00
Sergey Sharybin
63f3e1ac7c
Merge branch 'master' into blender2.8
2018-07-06 17:16:23 +02:00
Sergey Sharybin
22150eb409
Animation player: Ensure new frames are displayed while dragging mouse
...
Thanks Campbell for review!
2018-07-06 17:15:40 +02:00
Joshua Leung
49af17beb8
Fix T55796: Motion Paths are not being drawn as overlay
...
Remove depth testing flags from motion path pass drawing,
so that they always appear to draw in "x-ray" style on top
of everything, making it easier for animators to see what
they're doing.
2018-07-07 02:53:34 +12:00
Pablo Vazquez
4e4e88f02b
UI: Default theme unification
...
More unification of colors and roundness.
Also use accent color as current_frame indicator.
2018-07-06 16:15:34 +02:00
Campbell Barton
7ea26cc9c5
Keymap: update 2.7x
2018-07-06 14:50:04 +02:00
Sergey Sharybin
15f4aa182f
Depsgraph: Relations builder should not tag ID in all depsgraphs
2018-07-06 14:46:35 +02:00
Campbell Barton
571e773fbe
Keymap: outliner now uses A/Alt-A for selection
2018-07-06 14:45:30 +02:00
Campbell Barton
79dabc537e
Merge branch 'master' into blender2.8
2018-07-06 14:41:52 +02:00
Campbell Barton
3527857cdc
Cleanup: use outliner_flag_* name prefix
2018-07-06 14:40:13 +02:00
Brecht Van Lommel
b0c32818ba
UI: small layout fixes for RMB context menus.
2018-07-06 14:32:25 +02:00
Brecht Van Lommel
9fc79a4033
UI: disable broken horizontal properties editor alignment.
2018-07-06 14:19:11 +02:00
Brecht Van Lommel
3da1207b48
UI: draw search popups with menu background, instead of box.
...
Otherwise these are not visible well with the new dark theme.
2018-07-06 14:19:11 +02:00
Brecht Van Lommel
a364150c14
Fix crash with properties editor pinning.
2018-07-06 14:19:11 +02:00
Brecht Van Lommel
02f903d099
Fix layout issue with enum property separators.
2018-07-06 14:19:11 +02:00
Philipp Oeser
2aba2de92b
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/screen/screen_edit.c
2018-07-06 14:03:51 +02:00
Sybren A. Stüvel
843d5d707d
Merge remote-tracking branch 'origin/master' into blender2.8
2018-07-06 13:53:35 +02:00
Sybren A. Stüvel
81a93df6d2
Fix crash when startup file has an image in it
...
This fixes an issue introduced in d192d72312 .
When starting up, the UI hasn't been fully initialised yet, and calling
wm_event_do_depsgraph() can trigger icon updates when the startup file
contains an image, causing a segfault due to a not-yet-initialised ghash
for the icons.
2018-07-06 13:52:35 +02:00
Philipp Oeser
0987c11c76
fix c++ comment style in 3cc2a9b934
2018-07-06 13:15:44 +02:00
Sybren A. Stüvel
12ce0cfb21
Ocean Modifier: removed unused refresh flags
...
The flags were set and cleared correctly, but nothing was actually reading
them.
2018-07-06 12:50:04 +02:00
Sybren A. Stüvel
7691040166
Ocean Modifier: removed the MOD_OCEAN_REFRESH_ADD flag
...
The flag was only used in readfile.c, and resulted in a delayed call to
BKE_ocean_add(); this call is now immediately made instead as it's not
very expensive.
2018-07-06 12:46:58 +02:00
Philipp Oeser
ccef83b2fb
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/screen/screen_edit.c
2018-07-06 12:30:48 +02:00
Campbell Barton
dd5c25fab2
Remove print left in by accident
2018-07-06 12:10:30 +02:00
Philipp Oeser
3cc2a9b934
Fix T55581: kill running (render) jobs when deleting a scene
...
also fixed passing WM_JOB_TYPE_ANY to WM_jobs_kill_type()
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3498
2018-07-06 11:58:13 +02:00
Stefan Werner
df30b50f2f
Cycles: Enabled half precision textures for OpenCL devices that support the cl_khr_fp16 extension.
2018-07-06 11:42:34 +02:00
Campbell Barton
3e0920c61a
Fix view pie menu
2018-07-06 11:17:50 +02:00
Campbell Barton
6379c7bd47
Addons: silence warnings instead of disabling
2018-07-06 11:03:24 +02:00
Campbell Barton
174a3348ab
Addons: svg has been updated
2018-07-06 10:23:08 +02:00
Stefan Werner
d20d2bcb7f
Cycles: Fixed OpenCL kernel build, it threw a compiler error.
2018-07-06 10:21:25 +02:00
Campbell Barton
de777ad9e6
Merge branch 'master' into blender2.8
2018-07-06 10:18:52 +02:00