mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-19 17:27:56 -05:00
Merge pull request #347 from hiroj/delete_undo_comments
delete debug.log
This commit is contained in:
commit
700b23f474
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user