Esempio n. 1
0
        public void LogModify(string assetGuid)
        {
            AssetGraphController gc = AssetGraphPostprocessor.Postprocessor.GetCurrentGraphController();

            if (gc == null)
            {
                throw new AssetGraphException("Modify event attempt to log but no graph is in stack.");
            }

            var newEvent = AssetProcessEvent.CreateModifyEvent(assetGuid, gc.TargetGraph.GetGraphGuid(), gc.CurrentNode);

            AddEvent(newEvent);
        }