Skip to content

Commit 0486c66

Browse files
committed
Merge pull request #201 from andrewkaufman/h13Compatibility
Using setTexureOptions added in Houdini 13.0.267
2 parents 31de945 + df4ae2e commit 0486c66

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/IECoreHoudini/RATDeepImageWriter.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//////////////////////////////////////////////////////////////////////////
22
//
3-
// Copyright (c) 2011-2012, Image Engine Design Inc. All rights reserved.
3+
// Copyright (c) 2011-2013, Image Engine Design Inc. All rights reserved.
44
//
55
// Redistribution and use in source and binary forms, with or without
66
// modification, are permitted provided that the following conditions are
@@ -288,6 +288,13 @@ void RATDeepImageWriter::open()
288288
options->setOptionM4( "space:world", IECore::convert<UT_Matrix4>( worldToCameraParameter()->getTypedValue() ) );
289289

290290
/// \todo: set the cameraToNDC parameters
291+
292+
#if UT_MAJOR_VERSION_INT >= 13 && UT_BUILD_VERSION_INT >= 267
293+
294+
m_outputFile->setTextureOptions( *options );
295+
296+
#endif
297+
291298
}
292299
else
293300
{

0 commit comments

Comments
 (0)