William Reynish
de0de9381d
IC keymap: Activate tools with MMB immediately on press rather than drag
...
There seems to have been no particular great reason why we were activating tools using a tweak event with MMB.
This change makes it so tools are activated with a press event instead.
2020-02-16 19:53:15 +01:00
Ray Molenkamp
70ff8f4a97
BPY/Windows: Do not bundle the CRT for a bpy build
...
- Doesn't work
- If it worked, having a different CRT than the rest of
the process would not be a good thing.
2020-02-16 10:38:33 -07:00
Brecht Van Lommel
f6d5a95513
Fix T73880: error rendering UDIM in Eevee after recent refactor
2020-02-16 14:07:46 +01:00
mano-wii
0716394423
Cleanup: Transform: Rearrange definitions and declarations
2020-02-15 18:44:11 -03:00
Brecht Van Lommel
322dc72316
Cleanup: refactor GPU material attribute and texture requests
2020-02-15 21:09:29 +01:00
Brecht Van Lommel
007f1b74a6
Cleanup: split off code from gpu_codegen.c into smaller files
2020-02-15 20:33:16 +01:00
Brecht Van Lommel
6701db773e
Cleanup: don't perform some GPU shader codegen operations twice
2020-02-15 20:33:15 +01:00
Brecht Van Lommel
ab18dbb67e
Fix potential crash with Eevee render of missing image textures
...
This NULL check is needed elsewhere, do it here as well.
2020-02-15 20:32:08 +01:00
Brecht Van Lommel
c6928843dc
Fix Eevee shader node error when using both RGB and vector curve nodes
2020-02-15 20:31:48 +01:00
Brecht Van Lommel
031dcbf15b
Fix crash in some Eevee shader node setups after vector math node changes
2020-02-15 20:31:18 +01:00
Brecht Van Lommel
50975026ff
Cleanup: remove WITH_EMBREE make deps option
...
No other default enabled libraries have an option either.
2020-02-15 20:31:18 +01:00
mano-wii
b5f17f6b8a
Cleanup: Silence warnings
2020-02-15 16:26:18 -03:00
Aaron Carlisle
e0499387ca
GHOST: Init New Windows with a closer theme color
...
The user theme is loaded after window creation so we should create the
window with a color that at least matches the default theme.
Differential Revision: https://developer.blender.org/D6858
2020-02-15 12:44:52 -05:00
mano-wii
0feb03e680
Fix T73763: Laggy when zooming a node editor with International Fonts
...
Two main reasons for the lag:
- Allocation of memory with transfer to GPU.
- BLF_cache_clear();
The (partial) solution is to avoid memory allocating in some setups
through the `GPU_texture_clear`.
Differential Revision: https://developer.blender.org/D6837
2020-02-15 12:18:52 -03:00
mano-wii
738bb309f9
GPU: Add GPU support to fill a texture image with a constant value
...
This solution is optimized for GL version 4.4 or greater.
2020-02-15 12:18:52 -03:00
mano-wii
de9ea94fc6
Transform: Deduplicate time snap code
2020-02-15 12:09:23 -03:00
Brecht Van Lommel
f0c991a380
Cleanup: work around clang-format differences between versions
...
Ref T73747
2020-02-15 14:03:51 +01:00
Brecht Van Lommel
924fe50e97
Cleanup: fix compiler warning
2020-02-15 13:44:20 +01:00
Brecht Van Lommel
39fb33f0b7
Fix macOS build warnings about Boost symbol visibility
...
The default in Boost changed from global to hidden, but other libraries do
not use hidden symbols which gives warnings at link time on macOS.
2020-02-15 13:44:20 +01:00
Brecht Van Lommel
ff4ffb18d4
Fix T67924: transform right/up arrow keys not working on macOS
2020-02-15 13:44:20 +01:00
Brecht Van Lommel
6669eca820
Build: use clang-format from precompiled libraries for make format on Linux
...
Ref T73747
2020-02-15 13:44:20 +01:00
Brecht Van Lommel
9531a8a10a
Build: enable Embree by default for make deps
...
Ref T73819, T73778
2020-02-15 13:44:17 +01:00
Campbell Barton
a200986273
Keymap: Add front/back Alt-MMB absolute view axis switching
...
Oversight in previous commit.
2020-02-15 19:07:25 +11:00
Campbell Barton
35e3dc9192
Keymap: move weight & vertex paint handling before pose mode
...
This is needed so pose keymap doesn't override weight paint,
which currently prevents the weight paint context menu from showing.
Logically pose mode is secondary when used in combination with
weight paint, so evaluate it afterwards.
Also move vertex paint keymap since they have a lot in common,
it's simpler to keep them evaluated at the same place.
Resolves T73384
2020-02-15 18:59:46 +11:00
Campbell Barton
57511782cf
Cleanup: duplicate calls to add keymap handlers
2020-02-15 18:46:54 +11:00
Campbell Barton
d8d1f66dbc
Fix warp modifier invert vertex group duplicate flag
2020-02-15 18:13:54 +11:00
Campbell Barton
d936f6977f
Fix T58571: Limited dissolve ignores boundaries between delimited faces
...
When a vertex between two edges is being collapsed,
it's important that edges between delimiting faces use the
angle between edges without scaling it down.
While faces with different materials wont ever be merged into a single
face, all the detail between the two faces may be removed.
2020-02-15 17:55:58 +11:00
Campbell Barton
f829fefe8a
Cleanup: spelling
2020-02-15 15:58:06 +11:00
Campbell Barton
1857548b5c
Fix T73796: Memory leak saving image
2020-02-15 15:24:03 +11:00
Campbell Barton
5192b60e57
Cleanup: comment unused node defines
2020-02-15 15:24:03 +11:00
Campbell Barton
60475b9549
Cleanup: remove various unused defines
2020-02-15 15:24:03 +11:00
Campbell Barton
fa5837c5e8
Cleanup: remove unused RenderData.displaymode
2020-02-15 15:24:03 +11:00
Campbell Barton
52da1b6e2b
Cleanup: use define for golden ratio
...
Move from workbench_private.h where it wasn't used.
2020-02-15 15:24:03 +11:00
Campbell Barton
f37b9ffdcb
Cleanup: unused BIK_api struct & defines
...
This was part of an unfinished API,
however this wasn't touched since 2009.
2020-02-15 15:24:02 +11:00
Campbell Barton
9c79a21eb0
Cleanup: unused math colorspace defines
2020-02-15 15:24:02 +11:00
Campbell Barton
82cf0ab468
Cleanup: bmesh inset comments
...
- Use doxy sections
- Don't document implementation details in doxy comments.
2020-02-15 15:24:02 +11:00
Lukas Stockner
f6aafd5186
Modifiers: Add option to directly specify a 2D transform for UVWarp
...
Currently the only option is to warp based on the transform of other
objects, which is inconvenient if you want to e.g. control it through
a driver - you need to set up a dummy object and go through that,
which is clunky and should be unneccessary.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6690
2020-02-15 03:37:20 +01:00
Campbell Barton
fa4ab69abf
Cleanup: mixed camel/snake case
2020-02-15 10:45:46 +11:00
Campbell Barton
92a56bbe6a
Fix T73798: Error raising exception for local shutil.copytree
2020-02-15 10:40:43 +11:00
Campbell Barton
7d90ff08f3
Fix incorrect enum in GHOST test
2020-02-15 10:40:42 +11:00
Campbell Barton
b2df29e50d
Cleanup: clang-format
2020-02-15 10:40:41 +11:00
Campbell Barton
1c883fe646
Cleanup: make BLI_make_exist local to the file selector
...
This isn't a general utility, and the name wasn't descriptive.
2020-02-15 10:40:41 +11:00
Campbell Barton
68a52a7fa9
Cleanup: define use
2020-02-15 10:40:41 +11:00
Campbell Barton
b6c9c9c449
Cleanup: redundant headers
2020-02-15 10:40:41 +11:00
Campbell Barton
1135c2cd17
Cleanup: CMake formatting
2020-02-15 10:40:41 +11:00
Campbell Barton
b1f40955d9
Cleanup: incorrect __contains__ comparison, long line
2020-02-15 10:40:41 +11:00
Campbell Barton
38e569cb1f
Cleanup: use UI_GetThemeColor3ubv when alpha is ignored
2020-02-15 10:40:41 +11:00
Clément Foucault
12728d43f8
Revert "Fix T73763: Laggy with nodes Editor + International Fonts"
...
This reverts commit a21f5ec562 .
2020-02-15 00:22:56 +01:00
Charlie Jolly
635ab9d1dd
Shading: Extend Vector Math Node with Sin, Cos, Tan and Wrap functions
...
This adds some extra functions recently added to the float Maths Node.
Not all functions have been ported over in this patch.
Also:
+ Tidy up menu
+ Change node color to match other vector nodes, this helps distinguish vector and float nodes in the tree
+ Move shared OSL functions to new header node_math.h
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6713
2020-02-14 22:14:05 +00:00
mano-wii
44d7706fe1
Fix property warning due to recent commit
...
```Warning: property 'mode' not found in keymap item 'TRANSFORM_OT_bbone_resize'```
2020-02-14 15:54:48 -03:00