hypershade no longer opens without octane

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

zboog
Licensed Customer
Posts: 59
Joined: Tue May 18, 2010 6:48 pm
Location: NYC

@JimStar, your explanation sounds reasonable, but if this is a Maya limitation then how come V-Ray and Arnold don't break the hypershade when they're unloaded?
jangwee
Licensed Customer
Posts: 34
Joined: Tue Jul 16, 2013 2:33 pm

rslaverne wrote:Just curious, what were the two lines of code you used to temporarily fix this? If you don't mind sharing.

-Will
@rslaverne,
The 2 lines of code are from earlier in the thread where Jim suggested a workaround to remove the option variables that are causing the problem.

Code: Select all

optionVar -remove "renderNodeTypeTreeInitializeUserProc";
optionVar -remove "renderNodeTreeInitializeUserProc";
Wenneker's solution was adding the the code to mel script to run at startup every time you open Maya.
I just copied those lines to custom shelf button so it only does it when I want it to.
Either way works.
jangwee
Licensed Customer
Posts: 34
Joined: Tue Jul 16, 2013 2:33 pm

zboog wrote:@JimStar, your explanation sounds reasonable, but if this is a Maya limitation then how come V-Ray and Arnold don't break the hypershade when they're unloaded?
Yeh my thoughts exactly.

@Jim - It's probably safer to not fix by hack the Maya startup code as you suggested.
Last thing you want to do is introduce other workflow/pipeline problems to then require troubleshoot or fix.
If this is really a bug in Maya, have you logged bug report to Autodesk about it?
Again, I wonder how other third-party render plugins are getting around this problem.
Is there another way to add Hypershade functionality on plugin initilisation?
User avatar
JimStar
OctaneRender Team
Posts: 3813
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

OK guys, it's solved.
I've found one more way how to do this safer. Just checked it - no problems neither with other plugins nor with hypershader.
Will be released in next version.
dsyee
Licensed Customer
Posts: 113
Joined: Wed Jan 08, 2014 5:37 am

Any update on when this might come out?
Core i7-3770 / 16GB RAM / 2x GTX 780 6GB / Windows 7
Post Reply

Return to “Autodesk Maya”