Ignore:
Timestamp:
11/07/19 12:22:50 (5 years ago)
Author:
bnemhaus
Message:

Copying images in Expeditee now duplicates the associated file on the filesystem.
Also changed USER_NAME back to USER.NAME on David's direction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/importer/ImageImporter.java

    r1436 r1441  
    3434import org.expeditee.gui.FrameIO;
    3535import org.expeditee.gui.FrameUtils;
    36 import org.expeditee.gui.management.ResourceManager;
     36import org.expeditee.gui.management.ResourceUtil;
    3737import org.expeditee.items.Item;
    3838import org.expeditee.items.Text;
     
    8989                Text source;
    9090                Path imagePath = Paths.get(fullPath);
    91                 Path imagePathRelitivized = ResourceManager.relativiseImagePath(imagePath, DisplayController.getCurrentFrame());
     91                Path imagePathRelitivized = ResourceUtil.relativiseImagePath(imagePath);
    9292                source = DragAndDropManager.importString("@i: " + imagePathRelitivized.toString() + size, location, attachToFreeItems);
    9393//              final Path imagesPath = Paths.get(FrameIO.IMAGES_PATH);
Note: See TracChangeset for help on using the changeset viewer.