Campbell Barton
8b74d6673a
Fix num-pad access on wayland
...
Always interpret keypad keys as if numpad is enabled,
this matches other platforms.
Also add missing quote key.
2020-05-06 11:10:29 +10:00
Christian Rauch
4af9578ab7
Fix T76429: GHOST/Wayland event's don't correspond to physical keys
2020-05-06 10:20:32 +10:00
Brecht Van Lommel
e7470c9dbe
Merge branch 'blender-v2.83-release'
2020-05-05 15:14:09 +02:00
Brecht Van Lommel
d97c83712c
Cycles: mark CUDA 10.2 as officially supported
...
It appears to work fine after a recent bugfix and testing for the past few
weeks.
2020-05-05 15:06:49 +02:00
Campbell Barton
65194dc71a
Cleanup: clang-format
...
Minor difference caused by clang-format v10.0
2020-05-05 16:06:12 +10:00
Campbell Barton
75be3bc4b9
Merge branch 'blender-v2.83-release'
2020-05-05 13:46:58 +10:00
Brecht Van Lommel
ac6be6759e
Fix Cycles Python error when device name is not a valid UTF-8 string
...
This may fix or help diagnose T76378.
2020-05-04 23:07:01 +02:00
Sebastián Barschkis
375a50dad9
Merge branch 'blender-v2.83-release'
2020-05-04 18:18:15 +02:00
Sebastián Barschkis
8b5868cc15
Fix T75883: Smoke simulations with Adaptive Domain broken for 'Final' bakes with OpenVDB in 2.83
...
Config files always use the .uni extenstion.
2020-05-04 18:16:09 +02:00
Sebastián Barschkis
6ea71cb104
Fluid: Fix for refactor 99ee1de094
...
Use booleans instead of 0 / 1 in Python
2020-05-04 13:39:05 +02:00
Sebastián Barschkis
70fe988dc4
Fluid: Cleanup use of std in MANTA wrapper
...
Moved std namespace to beginning of class.
2020-05-03 21:10:52 +02:00
Sebastián Barschkis
82f9ed9305
Fluid: Cleanup in main MANTA wrapper
...
Use shorter variable names.
2020-05-03 21:10:52 +02:00
Sebastián Barschkis
99ee1de094
Fluid: Refactored 'Modifier Data to Python' value transfer function
...
This function needed a bigger cleanup, especially after the problem from T76276.
2020-05-03 21:10:51 +02:00
Campbell Barton
6a0cb48149
GHOST: cleanup platform checks, fix Wayland + X11
...
- Building with Wayland + X11 missed an exception include.
- Move HEADLESS check first, since it's the same on all platforms.
2020-05-03 20:24:24 +10:00
Brecht Van Lommel
83304e4c22
Merge branch 'blender-v2.83-release'
2020-05-01 23:55:13 +02:00
Brecht Van Lommel
bba11c68c4
Fix T75995: Cycles render artifacts with overlapping volumes
...
This is a workaround, but a proper solution requires significant changes to
ray intersection in the kernel.
2020-05-01 23:42:42 +02:00
Brecht Van Lommel
805a78e396
Cleanup: compiler warning with clang 10
2020-05-01 22:58:57 +02:00
Nikhil Shringarpurey
51aa0ea58f
Fx build error with MSBuild on Windows
...
Differential Revision: https://developer.blender.org/D7587
2020-05-01 22:03:26 +02:00
Julian Eisel
4cc8123377
UI: Use property split layout and decorators for material properties
...
Use the automatic property split layout (hence, change to the new 40/60% split
ratio) and add decorator buttons for animatable properties.
This actually applies to all node input buttons in the properties, e.g. world shading,
light shading, texture nodes.
Doing this makes the layout more consistent with other layouts in the
properties. But the decorators are also a useful hint for users that these
options can be animated. Previously using decorators and the automatic split
layout wasn't possible, I've done a number of changes now to have it supported.
Before I moved the socket icons to the left side, the decorators also looked
weird (two circle icons next to each other).
{F8497704} With nested items: {F8497708}
Reviewed By: William Reynish, Pablo Vazquez
Differential Revision: https://developer.blender.org/D7544
2020-05-01 15:21:41 +02:00
Campbell Barton
d7d140ec7f
CMake: add WITH_GHOST_X11 option
...
- Support building only with Wayland.
- In this case, show useful error messages
when Wayland fails to load.
2020-05-01 20:07:01 +10:00
Campbell Barton
e28d2e5184
Cleanup: duplicate include, define from Wayland patch
2020-05-01 19:28:43 +10:00
Campbell Barton
7ded7610ce
Cleanup: rename WITH_X11 to WITH_GHOST_X11
...
Matches WITH_GHOST_{SDL|WAYLAND}
2020-05-01 19:14:50 +10:00
Christian Rauch
47fea20dc8
GHOST: set the window state on wayland startup
2020-05-01 18:43:11 +10:00
Sebastián Barschkis
713ad9d971
Fix T76276: Compiler Error C1061 due to too many nested if/else in MANTA_main.cpp
...
The compiler error should be fixed by removing the 'else if' blocks. However, this function should still be refactored in the future.
2020-04-30 20:54:53 +02:00
Patrick Mours
f4b020eec3
Merge branch 'blender-v2.83-release'
2020-04-30 17:57:46 +02:00
Patrick Mours
f5237f7704
Fix long OptiX BVH build times in Cycles with many objects
...
Looping over all primitives for every object is really slow, so this patch avoids that by moving
the necessary assignments inline with the primitive merging done for every geometry.
2020-04-30 17:57:01 +02:00
Sebastián Barschkis
21485e94aa
Fluid: Refactored fluid gravity settings
...
Refactored setup that converts from Blender to Mantaflow units.
2020-04-30 17:33:22 +02:00
Sebastián Barschkis
dc0a564c06
Merge branch 'blender-v2.83-release'
2020-04-30 15:55:35 +02:00
Sebastián Barschkis
4d63dfca4c
Fluid: Reset noise emission value at the beginning of an adaptive frame
...
Emission values should not accumulate beyond one frame, only during the adaptive steps of one frame.
2020-04-30 15:42:44 +02:00
Jeroen Bakker
6121c28501
Fix T75895: Unable to Compile Cycles on NAVI/Linux
...
This patch will add some compiler hints to break unrolling in the
nestled for loops of the voronoi node.
Reviewed by: Brecht van Lommel
Differential Revision: https://developer.blender.org/D7574
2020-04-30 15:04:40 +02:00
Campbell Barton
7f4c4011ce
Cleanup: replace unordered_map with switch statement
...
Was performing 2x look-ups, checking keys doesn't benefit noticeably
from hash look-ups.
2020-04-30 17:56:51 +10:00
Campbell Barton
070bf01d37
GHOST: fix WITH_GHOST_DEBUG option
...
Changing the order of include changes broke GHOST_DEBUG,
however it was using defines in a fragile way.
Fix by removing 'GHOST_DEBUG' and use 'WITH_GHOST_DEBUG' which
was already defined by CMake.
2020-04-30 17:28:28 +10:00
Campbell Barton
52186a39af
Cleanup: printf warning
2020-04-30 17:28:28 +10:00
Campbell Barton
a18ad3c3b6
CMake: use system include for generated headers
2020-04-30 16:01:41 +10:00
Christian Rauch
66e70fe299
GHOST: initial Wayland support
...
Usable with the CMake option 'WITH_GHOST_WAYLAND'
The following functionality is working:
- Building with X11 and Wayland at the same time,
wayland is used when available.
- Keyboard, pointer handling.
- Cursor handling.
- Dedicated off-screen windows.
- Drag & drop.
- Copy & paste.
- Pointer grabbing.
See D6567 for further details.
2020-04-30 14:21:50 +10:00
Philipp Oeser
d07dab0d61
Fix T76225: Cycles View layer filters are grayed out while still working
...
Mistake in rB7fc60bff14a6.
Maniphest Tasks: T76225
Differential Revision: https://developer.blender.org/D7566
2020-04-29 19:25:17 +02:00
Sergey Sharybin
b7bcd0a87c
Tracking: Implement Nuke/Natron distortion model
...
Neither Nuke nor Natron support OpenCV's radial distortion model
which makes it impossible to have any kind of interoperability.
The new model is available under the distortion model menu in Lens
settings.
Differential Revision: https://developer.blender.org/D7484
2020-04-29 16:39:30 +02:00
Brecht Van Lommel
cec9dbc997
Merge branch 'blender-v2.83-release'
2020-04-28 22:42:15 +02:00
Brecht Van Lommel
05274ca829
Fix T75432: Cycles progressive refine render slow with denoising data
...
Only perform denoising prefilter for the last sample, not every sample.
2020-04-28 22:40:44 +02:00
Bastien Montagne
6278b48ea1
Merge branch 'blender-v2.83-release'
...
Conflicts:
source/blender/blenkernel/intern/lib_query.c
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
2020-04-28 15:40:12 +02:00
Brecht Van Lommel
7d85b6431f
Fix T76044: update Cycles to build with OSL 1.11 master
2020-04-28 13:50:31 +02:00
Sergey Sharybin
2c60221080
Cleanup: Missing include directories after recent cleanup
2020-04-28 13:33:18 +02:00
Brecht Van Lommel
2db4a5bb9f
Cleanup: remove unused string module
...
This is legacy code that can simply be replaced by std::string.
2020-04-28 12:57:39 +02:00
Brecht Van Lommel
2580fa1602
Cleanup: remove STR_String usage from GHOST
2020-04-28 12:57:39 +02:00
Ray Molenkamp
15081cf6df
Merge remote-tracking branch 'origin/blender-v2.83-release'
2020-04-27 13:01:24 -06:00
Ray Molenkamp
7951ec2641
Cleanup: Fix warning about initialization order with MSVC
2020-04-27 13:00:53 -06:00
Christian Rauch
54eb701978
Cleanup: add newline to ghost warning print
2020-04-27 15:27:18 +10:00
Campbell Barton
d2aa4ada50
Merge branch 'blender-v2.83-release'
2020-04-24 12:27:12 +10:00
Campbell Barton
af0a042da7
Cleanup: remove unused arg, clang-format
2020-04-24 11:43:30 +10:00
Campbell Barton
b785feb3d7
Merge branch 'blender-v2.83-release'
2020-04-23 12:12:34 +10:00