Skip to content

Commit

Permalink
fix m_camera to m_Camera
Browse files Browse the repository at this point in the history
  • Loading branch information
ousttrue committed Apr 17, 2018
1 parent 5c3f508 commit 43420fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Scripts/Format/VRMVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ namespace VRM
public static class VRMVersion
{
public const int MAJOR = 0;
public const int MINOR = 30;
public const int MINOR = 31;

public const string VERSION = "0.30";
public const string VERSION = "0.31";

public const string DecrementMenuName = "VRM/Version(0.30) Decrement";
public const string IncrementMenuName = "VRM/Version(0.30) Increment";
public const string DecrementMenuName = "VRM/Version(0.31) Decrement";
public const string IncrementMenuName = "VRM/Version(0.31) Increment";
}
}
4 changes: 2 additions & 2 deletions Scripts/LookAt/Editor/VRMLookAtHeadEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ public override void OnPreviewGUI(Rect r, GUIStyle background)
m_previewRenderUtility.Render();
#else
SetPreviewCamera(
m_previewRenderUtility.m_camera,
m_previewRenderUtility.m_Camera,
target.position + new Vector3(0, 0.1f, 0),
target.forward
);
m_previewRenderUtility.m_camera.Render();
m_previewRenderUtility.m_Camera.Render();
#endif
}
m_previewRenderUtility.EndAndDrawPreview(r);
Expand Down

0 comments on commit 43420fa

Please sign in to comment.