Skip to content

Commit 8c97001

Browse files
fixed the LoadImageFromFile, the "public" was deleted somehow
1 parent 3c4631a commit 8c97001

File tree

7 files changed

+7
-4
lines changed

7 files changed

+7
-4
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
0.1.5.7
2+
fixed the LoadImageFromFile, the "public" was deleted somehow
3+
14
0.1.5.6
25
Added DDS to the possible image formats, only DXT1 and DXT5 are supported
36

GameData/001_ToolbarControl/ToolbarControl.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"MAJOR" : 0,
1313
"MINOR" : 1,
1414
"PATCH" : 5,
15-
"BUILD" : 6
15+
"BUILD" : 7
1616
},
1717
"KSP_VERSION":
1818
{

ToolbarControl.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"MAJOR" : 0,
1313
"MINOR" : 1,
1414
"PATCH" : 5,
15-
"BUILD" : 6
15+
"BUILD" : 7
1616
},
1717
"KSP_VERSION":
1818
{

ToolbarControl/AssemblyVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
using System.Reflection;
77

8-
[assembly: AssemblyVersion("0.1.5.6")]
8+
[assembly: AssemblyVersion("0.1.5.7")]

ToolbarControl/ToolbarControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ private void UpdateToolbarIcon(bool firstTime = false)
478478
// easier to specify different cases than to change case to lower. This will fail on MacOS and Linux
479479
// if a suffix has mixed case
480480
static string[] imgSuffixes = new string[] { ".png", ".jpg", ".gif", ".PNG", ".JPG", ".GIF", ".dds", ".DDS" };
481-
static Boolean LoadImageFromFile(ref Texture2D tex, String fileNamePath)
481+
public static Boolean LoadImageFromFile(ref Texture2D tex, String fileNamePath)
482482
{
483483

484484
Boolean blnReturn = false;

0 commit comments

Comments
 (0)