View topic - Bug-Glass Material Types not working

Bug-Glass Material Types not working

General questions related with the YafaRay Project, 3D computer graphics and about this site.

Bug-Glass Material Types not working

Post Tue Sep 20, 2016 7:44 pm

Hello guys, I am not sure if this is a bug when I'm using glass material and choose different glass type then I'm getting an error as shown in attached file.May I know if this really a bug? Thanks in advance
Attachments
bug01.png
Jay07M
 
Posts: 38
Joined: Fri Sep 09, 2016 5:04 pm

Re: Bug-Glass Material Types not working

Post Tue Sep 20, 2016 8:04 pm

Hello,

Wha version are you using? Do you have any other YafaRay versions/forks installed?
User avatar
David Bluecame
 
Posts: 388
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Bug-Glass Material Types not working

Post Tue Sep 20, 2016 8:11 pm

Hi David thanks for quick response. I am using yafaray v3. This is the only version installed
Attachments
v3.png
Jay07M
 
Posts: 38
Joined: Fri Sep 09, 2016 5:04 pm

Re: Bug-Glass Material Types not working

Post Tue Sep 20, 2016 8:17 pm

I have the same error on Ubuntu 16.04.
"/home/organic/applications/Blender/blender-2.78-rc2-linux-glibc219-x86_64/2.78/scripts/addons/yafaray_v3/ot/yafaray_operators.py", line 232, in execute
bpy.types.YAF_MT_presets_ior_list.bl_label = self.name
AttributeError: 'RNA_Types' object has no attribute 'YAF_MT_presets_ior_list'


Blender 2.77a and Yafaray3.0.2 works, but not 2.78 with Yafaray 3.1.0.
User avatar
stoneage
 
Posts: 1229
Joined: Sun Dec 23, 2007 1:06 pm

Re: Bug-Glass Material Types not working

Post Tue Sep 20, 2016 8:21 pm

Well with the blenders version I'm using 2.77a and had this error
Jay07M
 
Posts: 38
Joined: Fri Sep 09, 2016 5:04 pm

Re: Bug-Glass Material Types not working

Post Tue Sep 20, 2016 9:15 pm

Thanks, I will take a look at that.
User avatar
David Bluecame
 
Posts: 388
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Bug-Glass Material Types not working

Post Wed Sep 21, 2016 2:47 am

Hello,

I've seen the problem. The change to fix it is here:
https://github.com/YafaRay/Blender-Exporter/commit/11445acde7e97bc67936b2dd8ad5b10e41184358

It will be solved in the next YafaRay version. If you want to solve it now you can download and install the latest YafaRay v3.1.0-beta and afterwards download this file and overwrite the one in the folder "yafaray_v3/ot/":
https://github.com/YafaRay/Blender-Exporter/raw/11445acde7e97bc67936b2dd8ad5b10e41184358/ot/yafaray_operators.py

I hope this helps.
User avatar
David Bluecame
 
Posts: 388
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Bug-Glass Material Types not working

Post Wed Sep 21, 2016 7:05 am

Thanks David. Your program really great, producing quality result with lower memory usage.I know time will come that this will become more stable on the future. I am also willing to help soon if I am able to know deep programming.
Jay07M
 
Posts: 38
Joined: Fri Sep 09, 2016 5:04 pm

Re: Bug-Glass Material Types not working

Post Wed Sep 21, 2016 7:38 am

I am using yafaray v. 3.02, blender 2.77a on windows 7 64bit.I downloaded the file and then overwrite the yafaray_operators.py and problem solved, thanks a lot david.
Jay07M
 
Posts: 38
Joined: Fri Sep 09, 2016 5:04 pm

Re: Bug-Glass Material Types not working

Post Wed Sep 21, 2016 8:02 am

I'm glad it worked for you!

Just a comment: I didn't create YafaRay. It was created and developed by several developers over the years. I'm just the last developer that joined the team. But I'm very glad that you like it! :D
User avatar
David Bluecame
 
Posts: 388
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Bug-Glass Material Types not working

Post Wed Sep 21, 2016 11:50 am

David Bluecame wrote:I hope this helps.

Works for me too. Thanks very much :)
User avatar
stoneage
 
Posts: 1229
Joined: Sun Dec 23, 2007 1:06 pm

Re: Bug-Glass Material Types not working

Post Wed Sep 21, 2016 5:20 pm

Oh, sorry David, so congrats to all of you. Looking forward for more development of yafaray on the future
Jay07M
 
Posts: 38
Joined: Fri Sep 09, 2016 5:04 pm

Re: Bug-Glass Material Types not working

Post Sun Sep 25, 2016 8:26 pm

Hello,

This is solved now in the new v3.1.1-beta

See: http://www.yafaray.org/community/forum/ ... =15&t=5184
User avatar
David Bluecame
 
Posts: 388
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain

Re: Bug-Glass Material Types not working

Post Mon Sep 26, 2016 6:25 am

Thank you David, I will try the newest version later.
Jay07M
 
Posts: 38
Joined: Fri Sep 09, 2016 5:04 pm


Return to News & Discussion



Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest