Skip to content

Commit

Permalink
Fixed LineOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
360highdynamicrangehdr authored Sep 11, 2023
1 parent 7a5a8e7 commit 8525e70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions OIIO/WriteOIIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ enum EParamCompression {
eParamCompressionPACKBITS
};

#define kParamOutputLineOrder "openexr:lineOrder"
#define kParamOutputLineOrder "lineorder"
#define kParamOutputLineOrderLabel "Line Order"
#define kParamOutputLineOrderHint "Specifies in what order the scan lines in the file are stored in the file. [EXR]"

Expand Down Expand Up @@ -1032,7 +1032,7 @@ WriteOIIOPlugin::beginEncodeParts(void* user_data,
string compression;
int lineorder_i;
_lineorder->getValue(lineorder_i);
string lineOrder;
string lineorder;

switch ((EParamCompression)compression_i) {
case eParamCompressionAuto:
Expand Down Expand Up @@ -1083,13 +1083,13 @@ WriteOIIOPlugin::beginEncodeParts(void* user_data,

switch ((EParamLineOrder)lineorder_i) {
case eParamLineOrderIncreasingY: // EXR
lineOrder = "increasingY";
lineorder = "increasingY";
break;
case eParamLineOrderRandomY: // EXR
lineOrder = "randomY";
lineorder = "randomY";
break;
case eParamLineOrderDecreasingY: // EXR
lineOrder = "decreasingY";
lineorder = "decreasingY";
break;
}

Expand Down

0 comments on commit 8525e70

Please sign in to comment.