Merge pull request #347 from hiroj/delete_undo_comments

delete debug.log
This commit is contained in:
gida 2019-12-17 22:06:23 +09:00 committed by GitHub
commit 700b23f474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());
}
}