Allow DeepWrite Class nodes to execute

Post Reply
keyframe
Posts: 62
Joined: Sat Jan 21, 2017 9:43 pm
Location: Toronto

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 688 times
--
Rocky Linux 8.5, cgru 3.2.1
User avatar
timurhai
Site Admin
Posts: 910
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.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
keyframe
Posts: 62
Joined: Sat Jan 21, 2017 9:43 pm
Location: Toronto

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
--
Rocky Linux 8.5, cgru 3.2.1
Post Reply