Brecht Van Lommel
3b47f335c6
BLI: remove TaskParallelRangePool
...
This is not currently used and will take some work to support with TBB, so
remove it until we have a new implementation based on TBB.
Fixes T76005, parallel range pool tests failing.
Ref D7475
2020-04-23 15:39:34 +02:00
Jacques Lucke
1fce2ea743
Merge branch 'blender-v2.83-release'
2020-04-23 15:15:04 +02:00
Jacques Lucke
694c0547c2
Fix T73680: Scene and fluid modifier gravity are scaled differently
...
Reviewers: sebbas
Differential Revision: https://developer.blender.org/D7483
2020-04-23 15:10:20 +02:00
Jacques Lucke
6524aaf685
Fix T76008: Fluid inflow with negative initial velocity is not working
...
This is a regression introduced in rBa0fe22095e6d9b8b194c2cf6f9a7c7b419d7e61c.
I changed it so that the velocity with the highest magnitude is considered and
not the highest value per coordinate.
Reviewers: sebbas
Differential Revision: https://developer.blender.org/D7502
2020-04-23 15:00:48 +02:00
Brecht Van Lommel
5afba30c69
Fix T75987: crash entering edit mode with keyed particles
2020-04-23 14:51:41 +02:00
Bastien Montagne
1c84cd8198
Merge branch 'blender-v2.83-release'
2020-04-23 14:49:38 +02:00
Bastien Montagne
a0652430d0
Array modifier: limit maximum amount of generated geometry.
...
Fixes T75278: Crash when modifier "Array-Fit Curve-Relative Offset"
nears zero.
2020-04-23 14:48:48 +02:00
Sebastian Parborg
35ecfefaec
Made pose push/relax to breakdown behave smooth on rotations
...
A follow up to T67212. I missed that the rotation interpolation had its
own code path.
The previous rotation push code was actually wrong (but smooth).
Now all of the actions behave correctly and is smoothly interpolated.
2020-04-23 14:15:31 +02:00
Brecht Van Lommel
8f51f60948
Fix T76005: BLI_task test failing after recent changes
...
This was an error in changes made to this test to accomodate the new reduce
callback.
2020-04-23 14:04:29 +02:00
Brecht Van Lommel
3a0af215b9
Fix headless build failure on macOS
2020-04-23 13:19:54 +02:00
Jacques Lucke
614621747e
BLI: optimize VectorSet implementation
...
Instead of building on top of `BLI::Vector`, just use a raw array
and handle the growing in `BLI::VectorSet`.
After this change, the existing `EdgeSet` can be reimplemented using
`BLI::VectorSet` without performance regressions.
2020-04-23 12:02:06 +02:00
Campbell Barton
68cfce1519
Merge branch 'blender-v2.83-release'
2020-04-23 18:38:41 +10:00
Campbell Barton
8dedbb1747
Fix T75836: Light target misses updates while dragging
2020-04-23 18:25:29 +10:00
Campbell Barton
6c0ddf1110
Merge branch 'blender-v2.83-release'
2020-04-23 16:15:55 +10:00
Campbell Barton
b900a5e452
Fix T74172: Mirror with bisect results in holes
...
Enable snap-to-center when bisecting.
2020-04-23 16:14:07 +10:00
Campbell Barton
6489f5a8ec
Merge branch 'blender-v2.83-release'
2020-04-23 15:09:54 +10:00
Campbell Barton
83d9ba341e
Fix T75965: Scale to Fit Text Box fails with a single word
2020-04-23 15:03:47 +10:00
Campbell Barton
b785feb3d7
Merge branch 'blender-v2.83-release'
2020-04-23 12:12:34 +10:00
Campbell Barton
e812512e1d
Cleanup: clang-format, unused warning
2020-04-23 12:10:41 +10:00
Campbell Barton
5491c045af
Cleanup: add explicit enum values in DNA_rigidbody_types.h
2020-04-23 12:06:35 +10:00
Campbell Barton
101ec2f3b8
Merge branch 'blender-v2.83-release'
2020-04-23 12:02:25 +10:00
Campbell Barton
c3accabef9
Fix invalid rigid body constraint values during 2.83 development
...
Own error in cleanup from 5dcb6fb22f3f unintentionally
changed enum values. Although this code violated our own
rules to use explicit values to avoid this happening.
2020-04-23 11:46:52 +10:00
Campbell Barton
c632396733
Fix T75991: crash when rigidbody encounters unknown constraint type
...
This just adds a check to prevent the crash,
Versioning invalid types still needed.
2020-04-23 11:31:47 +10:00
Clément Foucault
f6f4ab3ebf
Merge branch 'blender-v2.83-release'
2020-04-22 21:42:09 +02:00
Clément Foucault
a68bd94d11
Workbench: Use GPU_texture_copy instead of GPU_framebuffer_blit for TAA
...
This fixes T75477 which seems to be a driver but caused by framebuffer
blitting.
2020-04-22 21:41:10 +02:00
Clément Foucault
f7753bf97f
GPU: Add GPU_texture_copy
...
This allow to copy entire texture in a faster way than using framebuffer
blitting.
This uses ARB_copy_image extension if available and fallback to
glCopyTexSubImage2D for older gl version.
Both method should be as fast if not faster than the framebuffer blitting.
2020-04-22 21:41:10 +02:00
Brecht Van Lommel
6f8d5eaa28
Merge branch 'blender-v2.83-release'
2020-04-22 21:04:58 +02:00
Harley Acheson
d17b371a83
UI: Always check if IME Supported After Changing Language
...
Changing from IME-enabled language to English did not turn off IME.
Differential Revision: https://developer.blender.org/D7486
Reviewed by Campbell Barton
2020-04-22 21:03:13 +02:00
Harley Acheson
c3d8fa1301
UI: Always check if IME Supported After Changing Language
...
Changing from IME-enabled language to English did not turn off IME.
Differential Revision: https://developer.blender.org/D7486
Reviewed by Campbell Barton
2020-04-22 11:28:15 -07:00
Dalai Felinto
821316b034
Reset submodule to the right place in master
...
Accidently changed on rB0dfe30502a02.
2020-04-22 20:20:48 +02:00
Robert Guetzkow
22cf2572d9
Merge branch 'blender-v2.83-release'
2020-04-22 19:20:11 +02:00
Robert Guetzkow
0dfe30502a
Fix T75938: Workbench normal direction for matcaps
...
Set useMatcap to ensure correct normal direction when using matcaps
in the workbench engine.
2020-04-22 19:13:38 +02:00
Germano Cavalcante
f9649e2bf1
Fix T75994: Crash with 'Split Edges and Faces' | Auto-Merge
...
It occurred when an edge was collapsed into a vert that was not part of it.
This is common when the distance for merging is relatively large.
2020-04-22 12:53:19 -03:00
Germano Cavalcante
f5b540593c
Fix T75994: Crash with 'Split Edges and Faces' | Auto-Merge
...
It occurred when an edge was collapsed into a vert that was not part of it.
This is common when the distance for merging is relatively large.
2020-04-22 12:48:16 -03:00
Bastien Montagne
de168b4115
Merge branch 'blender-v2.83-release'
2020-04-22 17:13:21 +02:00
Bastien Montagne
878cd0e124
Silence annoying error message in writefile on undo step storage.
...
Fix T75318: Error spam in console when opening file from 2.7x.
2020-04-22 17:12:49 +02:00
Sebastián Barschkis
cdc399a055
Merge branch 'blender-v2.83-release'
2020-04-22 17:05:04 +02:00
Sergey Sharybin
45f8d1783b
Cleanup: Fix strict compiler warning
2020-04-22 16:56:43 +02:00
cf5147f69f
Fix T74423: Cycles rendering artifacts with CUDA 10.2
...
Work around what appears to be a compiler bug, just changing the code a bit
without any functional changes.
2020-04-22 16:40:52 +02:00
Antonio Vazquez
138b0c970e
GPencil: Change Thickness Profile icon
2020-04-22 16:40:26 +02:00
Sergey Sharybin
0fe3e38b57
Cleanup: Spelling in function name
...
Should be no functional changes.
2020-04-22 16:32:45 +02:00
Sebastián Barschkis
07ed64aae6
Fluid: Use maximum for initial velocity grid application
...
Using MAX2 when writing intial velocities into the grid prevents overriding initial velocities when using multiple flow objects that are close to each other.
2020-04-22 16:19:19 +02:00
Sebastián Barschkis
f148bd3795
Fluid: Fixes for cache 'Replay' mode
...
General fixes and improvements for the cache. Previous commits on fluids broke the 'Replay' cache a bit.
2020-04-22 16:19:19 +02:00
Sebastián Barschkis
6485d8b78a
Fluid: Fix for caches being released when file is loaded
2020-04-22 16:18:13 +02:00
Sebastián Barschkis
fdea3dd7e7
Fluid: Fix for inconsistent behavior with flow and effector objects
...
Fixes issue with flow and effector objects which were not being used after resuming a bake job.
This issue has been reported in T75729 and T75758.
2020-04-22 16:18:13 +02:00
Sebastián Barschkis
d19277c72f
Fluid: Added missing outflow object type to enable / disable flow flag
...
There is no reason to not include outflow objects here too.
2020-04-22 16:18:13 +02:00
Sebastián Barschkis
650f9cfe93
Fluid: Improved cache 'Replay' option
...
When using the 'Replay' cache mode the cache needs to be invalidated whenever simulation variables have been changed.
The invalidation will always only affect the according subcaches, e.g. when changing a mesh paramter only the mesh cache will be invalidated, the base cache will remain intact.
Before this change Blender always invalidated the entire cache.
2020-04-22 16:16:23 +02:00
Sebastián Barschkis
abdd4117b1
Fluid: Cleanup in MANTA main class
...
More concise return types for cache import functions and general cleanup.
2020-04-22 16:16:23 +02:00
Sebastián Barschkis
40e9dc638b
Fluid: Remove noise bake call from Python
...
Saving noise cache files is handled in fluid.c.
2020-04-22 16:16:23 +02:00
Sebastián Barschkis
06e3df4ce4
Fix T75681: Mantaflow crash when trying to bake a cupcake: The CG solver diverged, residual norm > 1e30
...
Ensures that there are no enclosed holes between an obstacle and the domain walls.
2020-04-22 16:16:23 +02:00