be3adb51de
UI: ignore events in empty region overlap areas
...
- Resizable areas use 2D view bounds.
- Header uses the button bounds.
- A margin is added to avoid clicking between buttons.
- Region resize edges clamp to the 2D view bounds.
Resovles T61554
2019-04-23 16:51:00 +10:00
310f288bb0
UI: add ui_window_to_block_rctf, ui_window_to_region_rcti
2019-04-23 16:39:14 +10:00
4d5e83f608
UI: move auto_open clearing out of ui_region_contains_point_px
...
Prefer explicit call for menu buttons since it's confusing if only some
queries clear auto open.
Also queries shouldn't modify data.
2019-04-23 15:44:31 +10:00
3302fbaeb1
Cleanup: style, use braces for compositor
2019-04-23 11:22:25 +10:00
64b4b719eb
Cleanup: style, use braces for imbuf
2019-04-23 11:22:22 +10:00
ac53291e1f
Fix T63772: Movie clip toggle toolbar fails
...
D4718 by @Gvgeo
2019-04-23 10:00:48 +10:00
f2dc78f13f
App Template: match screen names to workspaces
...
Doing this makes versioning workspace screens simpler.
This was already done for the default startup file.
2019-04-23 08:52:14 +10:00
36c2162660
Correct braces with ifdef's
2019-04-23 08:36:57 +10:00
Dalai Felinto
0e4e1d257c
Rename: Separate: By loose parts > By Loose Parts
2019-04-22 10:10:19 -03:00
7d6a9b5517
Cleanup: style, use braces
...
Add braces for modules already using braces almost everywhere.
2019-04-22 19:48:17 +10:00
b102472551
Cleanup: style, use braces for nodes
2019-04-22 19:48:17 +10:00
735515a3f9
Cleanup: style, use braces for blenkernel
2019-04-22 19:48:17 +10:00
14a49950ff
Cleanup: style, use braces for gpu
2019-04-22 19:48:17 +10:00
620b960d3d
Cleanup: style, use braces for editors
2019-04-22 19:48:16 +10:00
bba60bb564
Cleanup: style, use braces for gpencil modifiers
2019-04-22 19:48:16 +10:00
775c8ce332
Cleanup: style, use braces for makesdna, makesrna
2019-04-22 19:48:16 +10:00
a25a7714c5
Cleanup: style, use braces for modifiers
2019-04-22 19:48:16 +10:00
6cc09d006a
Cleanup: style, use braces for blenloader
2019-04-22 19:48:16 +10:00
6b3bf9e2a8
Cleanup: style, use braces for avi
2019-04-22 19:48:16 +10:00
67454a282d
Cleanup: style, use braces for blenfont
2019-04-22 19:48:16 +10:00
f24bb62fc2
Cleanup: style, use braces for render
2019-04-22 19:48:13 +10:00
797539e76c
Cleanup: comments (long lines) in render
2019-04-22 06:30:08 +10:00
380ce86a7f
Cleanup: comments (long lines) in avi, blf & blt
2019-04-22 06:30:08 +10:00
c5862e0a06
Cleanup: comments (long lines) in gpu
2019-04-22 06:30:08 +10:00
024d40b504
Cleanup: comments (long lines) in makesrna
2019-04-22 06:30:08 +10:00
66c3a7c550
Cleanup: comments (long lines) in makesdna
2019-04-22 06:30:08 +10:00
e9a01c1d2f
Cleanup: comments (long lines) in imbuf
2019-04-22 06:30:08 +10:00
faabf92a7e
Cleanup: comments (long lines) in blenloader
2019-04-22 06:30:08 +10:00
cda4cd0705
Cleanup: comments (long lines) in blenlib
2019-04-22 06:30:08 +10:00
0ac990d088
Cleanup: comments (long lines) in editors
2019-04-22 06:30:04 +10:00
f8b2268f4f
Fix error renaming Lamp to Light
...
Introduced in batch rename 3051e2f4ae .
2019-04-22 06:24:07 +10:00
c8fc23fdbe
Fix T63698: Eevee crash after recent clang-format changes
...
Some GLSL compilers seem to not have problems with \ to break preprocessor
directives. I couldn't find other places with similar code, but fixing this
case by case is not ideal and the same issue may come up again.
2019-04-21 11:39:04 +02:00
93c19a5a2c
Cleanup: comments (mainly long lines)
...
Comments after code can cause awkward line breaks.
2019-04-21 14:27:35 +10:00
1de3c81d26
Fix T63431: crash adding driver to a keyframed property with Ctrl+D
2019-04-21 02:35:50 +02:00
a5d5f152dd
Fix T63681: bad clipping of very long tooltips
2019-04-21 01:25:07 +02:00
92d93dd935
Fix T63686: missing data path for 3D cursor location and rotation.
2019-04-21 01:11:12 +02:00
2fb9c8ef12
Cleanup: add missing macros to clang-format
2019-04-21 04:40:16 +10:00
40d8a407d7
Fix invalid stack memory use with GPencil drawing
2019-04-20 15:13:40 +02:00
b24dfff9b7
Fix error in recent image preference change
2019-04-20 15:13:40 +02:00
f22397206f
NLA: check that properties are animatable.
2019-04-20 14:59:52 +03:00
7cbb8f20a4
GPU: automatically draw images with GLSL shader depending on resolution
...
This adds a new "Automatic" image display method which uses GLSL shaders for
most images. It only does CPU side color management for higher res images
where sending big float buffers to the GPU is likely to be a bottleneck or
cause memory usage problem.
Automatic is the default now, previously it was 2D Texture.
2019-04-20 13:32:36 +02:00
ed0c9654dd
Cleanup: remove unused OpenGL functions, rename some for clarity
2019-04-20 13:32:36 +02:00
857b63f1d4
Cleanup: re-use test for ELEM & STR_ELEM
...
Avoid having same test running at the end of each macro.
2019-04-20 13:03:49 +02:00
83b0e975b9
Cleanup: quiet warning for NULL pointer use
...
Warning was false positive but avoid repeating the same check.
2019-04-20 12:32:47 +02:00
f2792e91f0
3D View: add opacity for sculpt mask display
...
This matches vertex/texture paint opacity options.
Useful because 0.75 is sometimes too dark to see the surface shading.
Resolves T63746
2019-04-20 12:03:57 +02:00
08f4cdebe4
Cleanup: de-duplicate flag setting macro
2019-04-20 11:39:25 +02:00
bbc5c1e36f
Cleanup: quiet extra-semicolon warning
2019-04-20 11:30:19 +02:00
20bc30706b
Fix T63732: GPencil Onion now working with multiwindows
...
If you had several windows or, after last changes in topbar, several areas, the swith of overlays or Onion Skin was not working by area, but as whole switch, so it was impossible to have different status by window.
2019-04-20 10:27:08 +02:00
e17e119a31
Cleanup: comment line length (tests)
2019-04-20 10:08:59 +02:00
e63eb6ed26
Cleanup: comment line length (windowmanager)
2019-04-20 10:02:28 +02:00