Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Jan 22, 2022
1 parent 5eaaead commit c2ea3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3164,7 +3164,7 @@ renderPreview(const Image & srcImg,
bool convertToSrgb,
unsigned int* dstPixels)
{
#ifndef DEBUG_NAN
#if defined(DEBUG) && !defined(DEBUG_NAN)
// Some plugins generate FP exceptions
boost_adaptbx::floating_point::exception_trapping trap(0);
#endif
Expand Down

0 comments on commit c2ea3fa

Please sign in to comment.