Skip to content

Commit

Permalink
Port to 2.78 - Meld cleanup in source/blender/imbuf/intern/openexr/op…
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinerBforartists committed Feb 11, 2017
1 parent 55e117d commit 0b09427
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions source/blender/imbuf/intern/openexr/openexr_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,6 @@ static bool imb_save_openexr_half(
throw std::runtime_error(std::string("Missing data to write to ") + name);
}

/* TODO (dfelinto)
* In some cases we get NULL ibufs, it needs investigation, meanwhile prevent crash
* Multiview Render + Image Editor + OpenEXR + Multi-View
*/
if (view_ibuf == NULL) {
throw std::runtime_error(std::string("Missing data to write to ") + name);
}

/* indicate used buffers */
frameBuffer.insert(insertViewName("R", views, view_id), Slice(HALF, (char *) &pixels[offset].r, xstride, ystride));
frameBuffer.insert(insertViewName("G", views, view_id), Slice(HALF, (char *) &pixels[offset].g, xstride, ystride));
Expand Down

0 comments on commit 0b09427

Please sign in to comment.