Jacques Lucke
c043ab1cf3
Fix T63233: Set default blur kernel radius to 2.
...
Reviewers: jbakker
Differential Revision: https://developer.blender.org/D4722
2019-04-23 12:31:37 +02:00
Jacques Lucke
32fe79b9ee
Cleanup: Fix comment for ImBuf->encodedbuffer
2019-04-23 12:27:55 +02:00
Jeroen Bakker
ee701baff8
Workbench: Support Active Vertex Color
...
Currently it is not possible to view the vertex colors of an object. To
optimize the workflow, workbench will need to support Vertex Colors.
The Vertex Colors is a new option in `shading->color_type`. When objects
do not have vertex color, the objects will be rendered with the
`V3D_SHADING_OBJECT_COLOR`.
In order to support vertex colors in workbench the current texture/solid
shading structure is migrated to a primary shaders and fallback shaders.
Fix: T57000
Reviewers: brecht, fclem
Differential Revision: https://developer.blender.org/D4694
2019-04-23 12:05:33 +02:00
Jacques Lucke
c9ed39925a
Fix T63649: Action group expand setting for graph editor missing
...
I did not rename the other property to `show_expanded_dopesheet`
yet (as suggested in the report), because:
* Would break compatibility (haven't found any addon using it though).
* I'm not sure if this really only affects the dopesheet.
2019-04-23 11:24:55 +02:00
Campbell Barton
532f4366a5
Cleanup: minor changes to scrollbar checks
...
Remove some redundant comments & declare vars in for loops.
2019-04-23 17:16:18 +10:00
Campbell Barton
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
Campbell Barton
310f288bb0
UI: add ui_window_to_block_rctf, ui_window_to_region_rcti
2019-04-23 16:39:14 +10:00
Campbell Barton
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
Campbell Barton
3302fbaeb1
Cleanup: style, use braces for compositor
2019-04-23 11:22:25 +10:00
Campbell Barton
64b4b719eb
Cleanup: style, use braces for imbuf
2019-04-23 11:22:22 +10:00
Campbell Barton
ac53291e1f
Fix T63772: Movie clip toggle toolbar fails
...
D4718 by @Gvgeo
2019-04-23 10:00:48 +10:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
7d6a9b5517
Cleanup: style, use braces
...
Add braces for modules already using braces almost everywhere.
2019-04-22 19:48:17 +10:00
Campbell Barton
b102472551
Cleanup: style, use braces for nodes
2019-04-22 19:48:17 +10:00
Campbell Barton
735515a3f9
Cleanup: style, use braces for blenkernel
2019-04-22 19:48:17 +10:00
Campbell Barton
14a49950ff
Cleanup: style, use braces for gpu
2019-04-22 19:48:17 +10:00
Campbell Barton
620b960d3d
Cleanup: style, use braces for editors
2019-04-22 19:48:16 +10:00
Campbell Barton
bba60bb564
Cleanup: style, use braces for gpencil modifiers
2019-04-22 19:48:16 +10:00
Campbell Barton
775c8ce332
Cleanup: style, use braces for makesdna, makesrna
2019-04-22 19:48:16 +10:00
Campbell Barton
a25a7714c5
Cleanup: style, use braces for modifiers
2019-04-22 19:48:16 +10:00
Campbell Barton
6cc09d006a
Cleanup: style, use braces for blenloader
2019-04-22 19:48:16 +10:00
Campbell Barton
6b3bf9e2a8
Cleanup: style, use braces for avi
2019-04-22 19:48:16 +10:00
Campbell Barton
67454a282d
Cleanup: style, use braces for blenfont
2019-04-22 19:48:16 +10:00
Campbell Barton
f24bb62fc2
Cleanup: style, use braces for render
2019-04-22 19:48:13 +10:00
Campbell Barton
797539e76c
Cleanup: comments (long lines) in render
2019-04-22 06:30:08 +10:00
Campbell Barton
380ce86a7f
Cleanup: comments (long lines) in avi, blf & blt
2019-04-22 06:30:08 +10:00
Campbell Barton
c5862e0a06
Cleanup: comments (long lines) in gpu
2019-04-22 06:30:08 +10:00
Campbell Barton
024d40b504
Cleanup: comments (long lines) in makesrna
2019-04-22 06:30:08 +10:00
Campbell Barton
66c3a7c550
Cleanup: comments (long lines) in makesdna
2019-04-22 06:30:08 +10:00
Campbell Barton
e9a01c1d2f
Cleanup: comments (long lines) in imbuf
2019-04-22 06:30:08 +10:00
Campbell Barton
faabf92a7e
Cleanup: comments (long lines) in blenloader
2019-04-22 06:30:08 +10:00
Campbell Barton
cda4cd0705
Cleanup: comments (long lines) in blenlib
2019-04-22 06:30:08 +10:00
Campbell Barton
0ac990d088
Cleanup: comments (long lines) in editors
2019-04-22 06:30:04 +10:00
Campbell Barton
f8b2268f4f
Fix error renaming Lamp to Light
...
Introduced in batch rename 3051e2f4ae .
2019-04-22 06:24:07 +10:00
Brecht Van Lommel
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
Campbell Barton
93c19a5a2c
Cleanup: comments (mainly long lines)
...
Comments after code can cause awkward line breaks.
2019-04-21 14:27:35 +10:00
Brecht Van Lommel
1de3c81d26
Fix T63431: crash adding driver to a keyframed property with Ctrl+D
2019-04-21 02:35:50 +02:00
Brecht Van Lommel
a5d5f152dd
Fix T63681: bad clipping of very long tooltips
2019-04-21 01:25:07 +02:00
Brecht Van Lommel
92d93dd935
Fix T63686: missing data path for 3D cursor location and rotation.
2019-04-21 01:11:12 +02:00
Campbell Barton
2fb9c8ef12
Cleanup: add missing macros to clang-format
2019-04-21 04:40:16 +10:00
Campbell Barton
40d8a407d7
Fix invalid stack memory use with GPencil drawing
2019-04-20 15:13:40 +02:00
Campbell Barton
b24dfff9b7
Fix error in recent image preference change
2019-04-20 15:13:40 +02:00
Alexander Gavrilov
f22397206f
NLA: check that properties are animatable.
2019-04-20 14:59:52 +03:00
Brecht Van Lommel
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
Brecht Van Lommel
ed0c9654dd
Cleanup: remove unused OpenGL functions, rename some for clarity
2019-04-20 13:32:36 +02:00
Campbell Barton
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
Campbell Barton
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
Pablo Dobarro
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