Allow DeepWrite Class nodes to execute

Post Reply
keyframe
Posts: 44
Joined: Sat Jan 21, 2017 9:43 pm

Allow DeepWrite Class nodes to execute

Post by keyframe »

Heya Timur,

We've recently had to modify render.py in the nuke plugins folder, line 166 to:

Code: Select all

if writenode.Class() != 'Write' and writenode.Class() != 'DeepWrite':
        errorExit('Node "%s" class is not "Write".' % xnode, True
and a few small tweaks to afanasy.py in $GCRU_LOCATION/plugins/nuke/scripts/cgru/ to allow this.

I've attached the file here for your review. Others might benefit from these changes, so I thought I'd share.

Cheers,

G
Attachments
afanasy.py.gz
(7.34 KiB) Downloaded 396 times
--
centOS 8.1, cgru 2.3.1
User avatar
timurhai
Site Admin
Posts: 673
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Allow DeepWrite Class nodes to execute

Post by timurhai »

I will examine it.
But!
The best way to contribute is https://github.com/CGRU/cgru.
Very useful interface to view/examine/apply/comment code changes.
Timur Hairulin
CGRU 3.1.0, Ubuntu 18.04 LTS, MS Windows 10 (clients only).
keyframe
Posts: 44
Joined: Sat Jan 21, 2017 9:43 pm

Re: Allow DeepWrite Class nodes to execute

Post by keyframe »

Thanks Timur,

And thanks for pointing me at GitHub. I keep meaning to learn about it but never seem to find the time... As you might have guessed from the hacky code, software development is not really my forté - I'm more of a motion blur nerd ;)

Cheers,

G
--
centOS 8.1, cgru 2.3.1
Post Reply