Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: bf4d38cdd98e11cd3bce40e3bd16ac5a1fb9d104
      
https://github.com/synfig/synfig/commit/bf4d38cdd98e11cd3bce40e3bd16ac5a1fb9d104
  Author: rodolforg <rodolf...@users.noreply.github.com>
  Date:   2025-03-16 (Sun, 16 Mar 2025)

  Changed paths:
    M synfig-core/src/synfig/rendering/surface.cpp
    M synfig-core/src/synfig/rendering/surface.h
    M synfig-studio/src/synfigapp/canvasinterface.cpp

  Log Message:
  -----------
  refactor: make code for importing image sequence more readable (#3503)

the main change is how we loop to detect consecutive duplicated images.

However, the idea is still the same:
1. create an animated valuenode to "layer_name" parameter of a (future) layer 
Switch
2. add each imported image to current canvas
3. check if it is duplicated (equal to previous image)
 3.1. If so, add it to a future remove layer action
 3.2. Otherwise add a new waypoint in the "layer_name" valuenode
4. delete the duplicated layers (if it is supposed to do so)
5. add an action to encapsulate the non-deleted import layers to a new switch 
layer
6. convert/link the layer_name parameter to the animated valuenode



To unsubscribe from these emails, change your notification settings at 
https://github.com/synfig/synfig/settings/notifications


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

Reply via email to