[Synfig-devl] [synfig/synfig] bb6714: feat: layer Motion Blur now can create an non blur...

2023-11-11 Thread ice0 via Synfig-devl
  Branch: refs/heads/testing
  Home:   https://github.com/synfig/synfig
  Commit: bb67147365155d1ea3a048d2b55d98621b7c4b3b
  
https://github.com/synfig/synfig/commit/bb67147365155d1ea3a048d2b55d98621b7c4b3b
  Author: rodolforg 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M synfig-core/src/synfig/layers/layer_motionblur.cpp
M synfig-core/src/synfig/layers/layer_motionblur.h

  Log Message:
  ---
  feat: layer Motion Blur now can create an non blurred trail (#3173)

fix #3172


  Commit: a189a43b1788a9fb4bc335c1b2a8ebc69ed97bac
  
https://github.com/synfig/synfig/commit/a189a43b1788a9fb4bc335c1b2a8ebc69ed97bac
  Author: rodolforg 
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
M synfig-core/src/synfig/layers/layer_motionblur.cpp

  Log Message:
  ---
  fix: new MotionBLur subsampling None used wrong blend method (#3201)

the idea is to have a trail of duplicate canvas.

fix #3199


  Commit: 32c9da10772d758fee8662fe17419be7899978a7
  
https://github.com/synfig/synfig/commit/32c9da10772d758fee8662fe17419be7899978a7
  Author: rodolforg 
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
M synfig-core/src/modules/mod_geometry/checkerboard.cpp

  Log Message:
  ---
  refactor: avoid build warning due to unused parameter (#3202)


  Commit: 9bd669d14d0f4d187a3adba271f4a206feaec194
  
https://github.com/synfig/synfig/commit/9bd669d14d0f4d187a3adba271f4a206feaec194
  Author: mosasauridae <143972888+mosasauri...@users.noreply.github.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
M synfig-studio/src/synfigapp/action_system.cpp
M synfig-studio/src/synfigapp/action_system.h

  Log Message:
  ---
  perf: optimized Action_System so that the canvas only renders once during an 
action (#3200)

The problem was that every time any property node emitted signal_changed() 
during an action, it would cause the canvas to queue a render. The number of 
times signal_changed() happens seems to grow non-linearly with the number of 
objects being modified during the action. This was a killer for bulk update 
actions, where this could easily trigger thousands or potentially even millions 
of unnecessary renders. I have seen a single bulk action take almost an hour.

The fix is to temporarily block the Canvas_Interface::signal_dirty_preview() 
signal while an action is in progress, and then manually trigger it once the 
action completes. This guarantees the scene will only render once the action is 
done, and seems to be a dramatic performance improvement in longer animations 
at least in my testing.

I ran some A-B comparisons on a test file. The file has a spline with 100 
vertices linked to a bone, and the bone angle parameter has 600 waypoints.
 - Modify bone angle with Animate Mode off and apply offset:  ~3min 40s before 
-> ~1.5s after
 - Move a keyframe:  ~4min 25s before -> 0.7s after


  Commit: 87e131531c9f91be512650134227522fba756d72
  
https://github.com/synfig/synfig/commit/87e131531c9f91be512650134227522fba756d72
  Author: mosasauridae <143972888+mosasauri...@users.noreply.github.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
M synfig-studio/src/gui/widgets/widget_curves.cpp

  Log Message:
  ---
  fix: selecting a handle while the Graphs window tooltip is open crashes the 
GUI (#3207)

Reproduction steps:
1. Select an animated handle, and open the Graphs window.
2. Right click any waypoint in the Graphs window, and without selecting any 
menu item (or by selecting an item that's outside of the Graphs area), click in 
the Canvas work area. Notice the tooltip is still open.
3. Left click any other handle in the work area. Synfig crashes.


  Commit: 4d4726aafda7bbd05df7233daac31b13985f11e0
  
https://github.com/synfig/synfig/commit/4d4726aafda7bbd05df7233daac31b13985f11e0
  Author: rodolforg 
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
M synfig-core/src/synfig/loadcanvas.cpp

  Log Message:
  ---
  fix: avoid parser error of focus point on loading malformed synfig file 
(#3206)


  Commit: a570206be8aeb3b404fdcfdf60c6a2f748160052
  
https://github.com/synfig/synfig/commit/a570206be8aeb3b404fdcfdf60c6a2f748160052
  Author: Rodolfo Ribeiro Gomes 
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
M synfig-core/src/synfig/target_scanline.cpp

  Log Message:
  ---
  refactor: make use of `const` for constant stuff


  Commit: ac6fa258b2949922fdbb60b94c1538ebd700fadc
  
https://github.com/synfig/synfig/commit/ac6fa258b2949922fdbb60b94c1538ebd700fadc
  Author: Rodolfo Ribeiro Gomes 
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
M synfig-core/src/synfig/target_scanline.cpp
M synfig-core/src/synfig/target_scanline.h

  Log Message:
  ---
  refactor: make maximum pixel number per frame configurable


  Commit: b506f75cbde4d9ae28bf24074e7f3d79c25b729a
  

[Synfig-devl] [synfig/synfig] bb6714: feat: layer Motion Blur now can create an non blur...

2023-09-04 Thread rodolforg via Synfig-devl
  Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: bb67147365155d1ea3a048d2b55d98621b7c4b3b
  
https://github.com/synfig/synfig/commit/bb67147365155d1ea3a048d2b55d98621b7c4b3b
  Author: rodolforg 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M synfig-core/src/synfig/layers/layer_motionblur.cpp
M synfig-core/src/synfig/layers/layer_motionblur.h

  Log Message:
  ---
  feat: layer Motion Blur now can create an non blurred trail (#3173)

fix #3172




___
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl