From a8be4a6b5be3e687e72efa48f4a26e22c44fcd20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Devernay?= Date: Fri, 5 Jun 2020 17:08:06 -0700 Subject: [PATCH] WriteOIIO: bug fix fixes https://github.com/NatronGitHub/Natron/issues/315 --- OIIO/WriteOIIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OIIO/WriteOIIO.cpp b/OIIO/WriteOIIO.cpp index fede3e27..f5d7459e 100644 --- a/OIIO/WriteOIIO.cpp +++ b/OIIO/WriteOIIO.cpp @@ -1186,7 +1186,7 @@ WriteOIIOPlugin::beginEncodeParts(void* user_data, std::vector planeChannels = plane.getChannels(); if ( plane.getNumComponents() > 0 ) { - for (std::size_t i = 0; i < channels.size(); ++i) { + for (std::size_t i = 0; i < planeChannels.size(); ++i) { planeChannels[i] = plane.getPlaneLabel() + "." + planeChannels[i]; } }