Fix #124297: GPv3: Build modifier natural drawing speed fix #124350

Merged
Falk David merged 6 commits from ChengduLittleA/blender:fix-124297 into main 2024-07-16 10:26:50 +02:00

6 Commits

Author SHA1 Message Date
4c2d06b307 Use init_times[0] for first accumulation
All checks were successful
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
2024-07-15 21:21:14 +08:00
1a4e25616a Use simplified loop structure. 2024-07-15 19:58:49 +08:00
f6b7fc7664 Merge branch 'main' into fix-124297 2024-07-15 14:38:30 +08:00
2393f1b4c7 typo 2024-07-15 14:38:26 +08:00
f70605778b fixes 2024-07-08 22:07:06 +08:00
257ae19737 Fix #124297: GPv3: Build modifier natural drawing speed fix
The fix contains two parts:

1. Grease Pencil v3 now stores stroke `init_times` as a float attribute,
   it's not enough precisiton for linux timestamp. Now the time value is
   truncated to allow better precision on lower bits.
2. The previous logic for calculating stroke gap time of the build
   modifier isn't correct, it used to only count two starting times as
   gap time, now it's fixed with correct delta time so the gap time is
   `init_time - (previous_init_time + previous_stroke_delta)`.
2024-07-08 21:49:28 +08:00