internal override void MoveCustomResources(string newFolder) { base.MoveCustomResources(newFolder); newFolder = CAssetRegistry.SanitizeAssetPath(newFolder); string currentImagePath = ProjectDefinitions.GetAbsolutePath(DDSImagePath); string newAbsoluteImagePath = ProjectDefinitions.GetAbsolutePath(newFolder + Name + ".dds"); if (currentImagePath != newAbsoluteImagePath) { if (File.Exists(currentImagePath)) { File.Move(currentImagePath, newAbsoluteImagePath); } DDSImagePath = ProjectDefinitions.GetRelativePath(newAbsoluteImagePath); } }