Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions package/com.unity.formats.usd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
## [Unreleased] - 2020-10-27
### Changed
- Set material name in Unity to match the material name in the USD file on import.
- Fixed USDPayload's "Is Loaded" field in the inspector staying at false even when the payload has been loaded.
- Fix UsdAsset not saving changes made in the inspector (simple view).

### Bug Fixes
- Fix the scene primMap that was corrupted with invalid prim making the write fail.

### Bug Fixes
- Fix an inability to refresh layers in Editor Mode
- Fixed USDPayload's "Is Loaded" field in the inspector staying at false even when the payload has been loaded.
- Fixed Transform Overrides export extension (USDU-124)
- Fix UsdAsset not saving changes made in the inspector (simple view).

## [1.0.4-preview.1] - 2020-07-24
### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace Unity.Formats.USD {

public class UsdMenu : MonoBehaviour {

public static Scene InitForSave(string defaultName, string fileExtension = "usd") {
public static Scene InitForSave(string defaultName, string fileExtension = "usd,usda,usdc") {
var filePath = EditorUtility.SaveFilePanel("Export USD File", "", defaultName, fileExtension);

if (filePath == null || filePath.Length == 0) {
Expand Down Expand Up @@ -74,7 +74,7 @@ static bool EnableMenuExportTransforms() {
[MenuItem("USD/Export Transform Overrides", priority = 50)]
static public void MenuExportTransforms() {
var root = Selection.activeGameObject.GetComponentInParent<UsdAsset>();
var overs = InitForSave(Path.GetFileNameWithoutExtension(root.usdFullPath) + "_overs.usda");
var overs = InitForSave(Path.GetFileNameWithoutExtension(root.usdFullPath) + "_overs");
root.ExportOverrides(overs);
}

Expand Down Expand Up @@ -164,7 +164,7 @@ static private pxr.SdfPath GetDefaultRoot(Scene scene) {
}

static void ExportSelected(BasisTransformation basisTransform,
string fileExtension = "usd",
string fileExtension = "usd,usda,usdc",
bool exportMonoBehaviours = false) {
Scene scene = null;

Expand Down