Allow DeepWrite Class nodes to execute

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

Allow DeepWrite Class nodes to execute

Post by keyframe » Wed Mar 15, 2017 3:33 pm

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 77 times
--
centOS 7.4, cgru 2.2.3

User avatar
timurhai
Site Admin
Posts: 356
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Allow DeepWrite Class nodes to execute

Post by timurhai » Wed Mar 15, 2017 10:08 pm

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 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

keyframe
Posts: 25
Joined: Sat Jan 21, 2017 9:43 pm

Re: Allow DeepWrite Class nodes to execute

Post by keyframe » Sat Mar 18, 2017 4:16 pm

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 7.4, cgru 2.2.3

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest