Skip to content
Permalink
Browse files

Add assertion for Frame pointer

  • Loading branch information
Mango-3 authored and dictoon committed Jan 12, 2020
1 parent 4957f71 commit 96ef4b481a092d69af9a9cfe63101e647224e1a3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/appleseedmaya/renderviewtilecallback.cpp
@@ -272,6 +272,7 @@ namespace
const size_t tile_x,
const size_t tile_y)
{
assert(frame != nullptr);
const foundation::Tile& tile = frame->image().tile(tile_x, tile_y);
assert(tile.get_pixel_format() == foundation::PixelFormatFloat);
assert(tile.get_channel_count() == 4);

0 comments on commit 96ef4b4

Please sign in to comment.
You can’t perform that action at this time.