void DoneUpdatingColormap()
        {
            isUpdatingColormap = false;
            _target.buffer     = calculator.pixelBuffer;
            //_target.ApplyToMaterial();
            AssetDatabase.SaveAssets();

            dirty.Reset();
            _target.changedInternally = true;
        }
Example #2
0
        void DoneUpdatingColormap()
        {
            //Debug.Log("DoneUpdatingColormap, time: " + (Time.time - debugUpdateStartTime));

            isUpdatingColormap = false;
            _target.pixels     = calculator.pixelBuffer;
            //_target.ApplyToMaterial();
            AssetDatabase.SaveAssets();

            dirty.Reset();
            _target.changedInternally = true;
        }