View Single Post
Old 1st October 2015, 22:21   #16  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Quote:
Originally Posted by Myrsloik View Post
Why oh WHY are you putting so many lines into making your functions not work the same way as basically every other vapoursynth function ever?

And a small hint if you still want to make things more difficult:
planes = []
if y:
planes.insert(0)
...
if planes.count() == 0:
error terror!
Hi, are you referring to some like this, arent you?:

Code:
    planes=[]	
    # Select planes
    if y:
        planes.append(0)
    if u:
        planes.append(1)
    if v:
        planes.append(2)
    if len(planes)==0:
        raise ValueError("Really? There are not any plane selected.")
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 is offline   Reply With Quote