Skip to content

Commit

Permalink
Fixing compile error
Browse files Browse the repository at this point in the history
Variable "model" is undefined.
  • Loading branch information
niskander authored and Jonathan Harper committed Aug 12, 2019
1 parent 84a9322 commit b617de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnitySDK/Assets/ML-Agents/Editor/DemonstrationImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public override void OnImportAsset(AssetImportContext ctx)
ctx.AddObjectToAsset(ctx.assetPath, demonstration, texture);
ctx.SetMainObject(demonstration);
#else
ctx.SetMainAsset(ctx.assetPath, model);
ctx.SetMainAsset(ctx.assetPath, demonstration);
#endif
}
catch
Expand Down

0 comments on commit b617de4

Please sign in to comment.