Skip to content

Commit

Permalink
Alpha release of v2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
distrohelena committed Jul 22, 2017
1 parent 279dbab commit 004ea42
Show file tree
Hide file tree
Showing 11 changed files with 344 additions and 143 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand All @@ -10,3 +11,4 @@ public interface IJanusObject
void UpdateScale(float scale);
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,14 @@ private void OnGUI()
// Texture
GUILayout.Label("Texture", EditorStyles.boldLabel);
textureForceReExport = EditorGUILayout.Toggle("Force ReExport", textureForceReExport);
//exportGifs = EditorGUILayout.Toggle("Export GIFs", exportGifs);
defaultTexFormat = (ExportTextureFormat)EditorGUILayout.EnumPopup("Unsupported Textures Format", defaultTexFormat);
if (JanusUtil.SupportsQuality(defaultTexFormat))
if (textureForceReExport)
{
defaultQuality = EditorGUILayout.IntSlider("Textures Quality", defaultQuality, 0, 100);
//exportGifs = EditorGUILayout.Toggle("Export GIFs", exportGifs);
defaultTexFormat = (ExportTextureFormat)EditorGUILayout.EnumPopup("Unsupported Textures Format", defaultTexFormat);
if (JanusUtil.SupportsQuality(defaultTexFormat))
{
defaultQuality = EditorGUILayout.IntSlider("Textures Quality", defaultQuality, 0, 100);
}
}

// Scene
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
#if UNITY_EDITOR

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand All @@ -16,7 +18,7 @@ public static class JanusGlobals
/// </summary>
private static List<IJanusObject> objects = new List<IJanusObject>();

public const decimal Version = 2.12M;
public const decimal Version = 2.13M;

/// <summary>
/// Decimal cases used by default when exporting position/scale/rotation values
Expand Down Expand Up @@ -95,4 +97,5 @@ public static void UpdateScale(float scale)
}
}
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down Expand Up @@ -147,4 +148,5 @@ public static Mesh CylinderBaseMesh
}
}
}
}
}
#endif
Loading

0 comments on commit 004ea42

Please sign in to comment.