Branch: refs/heads/master
Home: https://github.com/synfig/synfig
Commit: 199fee3ae54babc960cd365ad5626e71b5eaaf30
https://github.com/synfig/synfig/commit/199fee3ae54babc960cd365ad5626e71b5eaaf30
Author: rodolforg <[email protected]>
Date: 2023-04-12 (Wed, 12 Apr 2023)
Changed paths:
M synfig-studio/src/gui/dialogs/dialog_canvasdependencies.cpp
Log Message:
-----------
fix(canvas-dependencies): properly identify the file to avoid clash (#3048)
Solve these cases:
* Suppose this file tree:
- Doc_A.sif
- mine.png
- folder/Doc_B.sif
- folder/mine.png
In addition:
- Doc_A.sif has a Layer_Import for the file "mine.png"
- folder/Doc_B.sif has a Layer_Import for the file "mine.png"
(pointing to folder/mine.png)
- Doc_A.sif use a linked canvas (i.e. a Layer_PasteCanvas whose source is
other file) to folder/Doc_B.sif
In this (long) situation, both mine.png will be parsed as the same file.
* If a canvas has two Layer_Import, one for the file "something.png"
and the other to "./something.png", they would be shown as different
resources.
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl