Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R3D #4216

Merged
merged 19 commits into from
Apr 20, 2024
Merged

R3D #4216

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/r3d.imageio/r3dinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ OIIO_EXPORT int r3d_imageio_version = OIIO_PLUGIN_VERSION;
OIIO_EXPORT const char*
r3d_imageio_library_version()
{
return "R3D";
// Note: SDK version can differ from the actual library loaded
return "R3D 8.5.1";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you get this from the library or the r3dsdk headers? This will obviously be wrong as soon as a new release is out.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can get this from the CMake script. Indeed, hardcoding the version string is not proper way to handle this. The actual library version may be different at runtime, as I've tested so far. But nothing exploded. This version is reported just after initialization from R3DSDK::GetSdkVersion().

}

OIIO_EXPORT ImageInput*
Expand Down