Skip to content

Commit

Permalink
Fixed problem with custom windows windowID
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.mumech.com/MuMechLib/trunk@86 fef01e1f-1acb-4511-8d79-f4a48d001ba2
  • Loading branch information
r4m0n committed Apr 2, 2013
1 parent af640d3 commit a28e3cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MuMechLib/DisplayModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public virtual void DrawGUI(bool inEditor)
{
if (showInCurrentScene)
{
windowPos = GUILayout.Window(GetType().FullName.GetHashCode(), windowPos, WindowGUI, GetName(), WindowOptions());
windowPos = GUILayout.Window(GetName().GetHashCode(), windowPos, WindowGUI, GetName(), WindowOptions());

if (GUI.Button(new Rect(windowPos.x + windowPos.width - 18, windowPos.y + 2, 16, 16), ""))
{
Expand Down

0 comments on commit a28e3cd

Please sign in to comment.