delete debug.log

This commit is contained in:
hirose
2019-12-17 22:03:11 +09:00
parent f3b905a901
commit 5e74a2d4a5

View File

@@ -239,18 +239,14 @@ namespace VRM
int _group;
public RecordDisposer(UnityEngine.Object[] objects, string msg)
{
Debug.Log("[Record] Undo.GetCurrentGroup() = " + Undo.GetCurrentGroup());
Undo.IncrementCurrentGroup();
_group = Undo.GetCurrentGroup();
Debug.Log("[Record] Undo.GetCurrentGroup() = " + Undo.GetCurrentGroup());
Undo.RecordObjects(objects, msg);
}
public void Dispose()
{
Debug.Log("[Dispose] Undo.GetCurrentGroup() = " + Undo.GetCurrentGroup());
Undo.RevertAllDownToGroup(_group);
Debug.Log("[Dispose] Undo.GetCurrentGroup() = " + Undo.GetCurrentGroup());
}
}