Commit 5482ecd
authored
fix(exr): improve attribute translation rules (#4946)
In exr output, we were doing attribute name substitutions using
case-insensitive comparisions, whereas on the exr input side, we were
using case-sensitive comparisons. This was leading to some strange
behavior where certain attributes were not properly "round tripping"
when reading and writing exr files, particularly when it involved
attribute names that differed only in case from certain
reserved/standard names.
Also be a little more flexible in adjusting exr attributes that have the
wrong type, by being able to convert int or float to a value that's
required to be a string.
Signed-off-by: Larry Gritz <[email protected]>1 parent 1417836 commit 5482ecd
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1140 | 1140 | | |
1141 | 1141 | | |
1142 | 1142 | | |
1143 | | - | |
1144 | | - | |
| 1143 | + | |
1145 | 1144 | | |
1146 | 1145 | | |
1147 | 1146 | | |
| |||
1267 | 1266 | | |
1268 | 1267 | | |
1269 | 1268 | | |
| 1269 | + | |
1270 | 1270 | | |
1271 | 1271 | | |
1272 | 1272 | | |
| |||
1278 | 1278 | | |
1279 | 1279 | | |
1280 | 1280 | | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1281 | 1289 | | |
1282 | 1290 | | |
1283 | 1291 | | |
1284 | | - | |
| 1292 | + | |
| 1293 | + | |
1285 | 1294 | | |
1286 | 1295 | | |
1287 | 1296 | | |
| |||
0 commit comments