Skip to content

Commit

Permalink
ReadNode: add braw support
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Apr 26, 2021
1 parent 8be9ef5 commit b01359c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Engine/EffectInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
#define PLUGINID_OFX_READPNG "fr.inria.openfx.ReadPNG"
#define PLUGINID_OFX_WRITEPNG "fr.inria.openfx.WritePNG"
#define PLUGINID_OFX_READPDF "fr.inria.openfx.ReadPDF"
#define PLUGINID_OFX_READBRAW "net.sf.openfx.BlackMagicRAW"

#define PLUGINID_NATRON_VIEWER (NATRON_ORGANIZATION_DOMAIN_TOPLEVEL "." NATRON_ORGANIZATION_DOMAIN_SUB ".built-in.Viewer")
#define PLUGINID_NATRON_DISKCACHE (NATRON_ORGANIZATION_DOMAIN_TOPLEVEL "." NATRON_ORGANIZATION_DOMAIN_SUB ".built-in.DiskCache")
Expand Down
6 changes: 4 additions & 2 deletions Engine/ReadNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ ReadNode::isBundledReader(const std::string& pluginID,
boost::iequals(pluginID, PLUGINID_OFX_READORA) ||
boost::iequals(pluginID, PLUGINID_OFX_READCDR) ||
boost::iequals(pluginID, PLUGINID_OFX_READPNG) ||
boost::iequals(pluginID, PLUGINID_OFX_READPDF) );
boost::iequals(pluginID, PLUGINID_OFX_READPDF) ||
boost::iequals(pluginID, PLUGINID_OFX_READBRAW) );
}

return (pluginID == PLUGINID_OFX_READOIIO ||
Expand All @@ -209,7 +210,8 @@ ReadNode::isBundledReader(const std::string& pluginID,
pluginID == PLUGINID_OFX_READORA ||
pluginID == PLUGINID_OFX_READCDR ||
pluginID == PLUGINID_OFX_READPNG ||
pluginID == PLUGINID_OFX_READPDF);
pluginID == PLUGINID_OFX_READPDF ||
pluginID == PLUGINID_OFX_READBRAW);
}

bool
Expand Down

0 comments on commit b01359c

Please sign in to comment.