Blender Git Loki

Git Commits -> Revision a054f3c

Revision a054f3c by Campbell Barton (master)
June 11, 2009, 21:11 (GMT)
elif rd.file_format in ("OPENEXR"):
...is the same as
elif rd.file_format in "OPENEXR": # ("OPENEXR",) <- syntax for a single tuple

At the moment its using pythons syntax for a string search which works but isnt whats intended. Replaced in with ==
(Also use '' for enums rather then "")

Commit Details:

Full Hash: a054f3ccce67ebf32ecc687b1f19ba0a6b6144f0
SVN Revision: 20819
Parent Commit: 73092af
Lines Changed: +7, -7

1 Modified Path:

/release/ui/buttons_scene.py (+7, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021