blender/intern
Patrick Mours 3a65571195 Fix T90666: Toggling motion blur while persistent data is enabled results in artifacts
Enabling or disabling motion blur requires rebuilding the BVH of affected geometry and
uploading modified vertices to the device (since without motion blur the transform is
applied to the vertex positions, whereas with motion blur this is done during traversal).
Previously neither was happening when persistent data was enabled, since the relevant
node sockets were not tagged as modified after toggling motion blur.

The change to blender_object.cpp makes it so `geom->set_use_motion_blur()` is always
called (regardless of motion blur being toggled on or off), which will tag the geometry
as modified if that value changed and ensures the BVH is updated.
The change to hair.cpp/mesh.cpp was necessary since after motion blur is disabled,
the transform is applied to the vertex positions of a mesh, but those changes were not
uploaded to the device. This is fixed now that they are tagged as modified.

Maniphest Tasks: T90666

Differential Revision: https://developer.blender.org/D12781
2021-10-08 18:03:06 +02:00
..
atomic Add locking fallback atomics implementation 2021-08-26 14:36:59 +02:00
audaspace
clog Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
cycles Fix T90666: Toggling motion blur while persistent data is enabled results in artifacts 2021-10-08 18:03:06 +02:00
dualcon
eigen
ffmpeg Fix: VSE search in mpegts files would fail 2021-06-11 14:05:07 +02:00
ghost Cleanup: spelling in comments 2021-10-06 14:54:05 +11:00
glew-mx
guardedalloc Cleanup: spelling in comments 2021-10-03 12:13:29 +11:00
iksolver Cleanup: Spelling Mistakes 2021-06-22 10:54:50 -07:00
itasc Cleanup: repeated terms in code comments & error messages 2021-06-28 15:46:08 +10:00
libc_compat
libmv GTest: Use INC/INC_SYS for Libmv/OSD tests 2021-07-23 16:50:13 -06:00
locale
mantaflow Cleanup: repeated terms in code comments & error messages 2021-06-28 15:46:08 +10:00
memutil Cleanup: missing leading '*' from comment blocks 2021-07-30 22:20:31 +10:00
mikktspace Cleanup: pass arguments as const 2021-10-04 13:15:15 +11:00
numaapi Add support for RISC-V architecture 2021-07-15 14:22:35 +02:00
opencolorio Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
opensubdiv Cleanup: typos in code and comments. 2021-09-25 09:31:00 +02:00
openvdb Cleanup: Remove unused/unecessary OpenVDB C API 2021-08-02 12:26:28 -04:00
quadriflow Cleanup: Simplify logic, follow style guide for integer types 2021-07-30 15:08:43 -04:00
rigidbody Cleanup: reserve C++ comments for disabled code 2021-07-20 15:01:05 +10:00
sky Cleanup: Clang-tidy, readability-non-const-parameter. 2020-11-07 21:52:53 +05:30
utfconv Cleanup: clang-tidy utfconv 2021-09-01 17:13:33 +10:00
CMakeLists.txt Atomic: Cover with unit tests 2020-11-19 17:19:48 +01:00