eoyilmaz / anima

VFX & Animation Pipeline Library
MIT License
137 stars 27 forks source link

Make change from PeyeonScript to BlackmagicFusion in other to run Version_Creator() in fusion 8/9 #16

Closed tws0002 closed 7 years ago

eoyilmaz commented 7 years ago

That's nice thanks!

But with its current form I cannot accept this PR. Please consider conditionally importing BlackmagicFusion or PeyeonScript. Because we still use Fusion 7 in our studio and we need PeyeonScript. So use something like that:

try:
    # for Fusion 6 and 7
    import PeyeonScript as bmf
except ImportError:
    # for Fusion 8+
    import BlackmagicFusion as bmf

and use bmf instead of both PeyeonScript or BlackmagicFusion

tws0002 commented 7 years ago

ok, i will do the fix for now.

Thanks