void HeightmapEditorSystem::StoreOriginalHeightmap() { EditorHeightmap* editorHeightmap = drawSystem->GetHeightmapProxy(); DVASSERT(originalHeightmap == NULL); originalHeightmap = editorHeightmap->Clone(NULL); ResetAccumulatorRect(heightmapUpdatedRect); }
void CustomColorsSystem::StoreOriginalState() { DVASSERT(originalImage == NULL); originalImage = drawSystem->GetCustomColorsProxy()->GetSprite()->GetTexture()->CreateImageFromMemory(RenderState::RENDERSTATE_2D_BLEND); ResetAccumulatorRect(); }