void DoneUpdatingColormap() { isUpdatingColormap = false; _target.buffer = calculator.pixelBuffer; //_target.ApplyToMaterial(); AssetDatabase.SaveAssets(); dirty.Reset(); _target.changedInternally = true; }
void DoneUpdatingColormap() { //Debug.Log("DoneUpdatingColormap, time: " + (Time.time - debugUpdateStartTime)); isUpdatingColormap = false; _target.pixels = calculator.pixelBuffer; //_target.ApplyToMaterial(); AssetDatabase.SaveAssets(); dirty.Reset(); _target.changedInternally = true; }