Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
YafaRay Plug-in - reviewing for Yafaray 3.0
07-21-2016, 02:22 PM (This post was last modified: 07-21-2016 02:25 PM by micheus.)
Post: #46
RE: YafaRay Plug-in - reviewing for Yafaray 3.0
David, for your information...
in the line:
{menu, render_pass_menu(), get_pref(render_pass1,Attr), [{key,render_pass1}]}
in plugins we must to use the key() function:
{menu, render_pass_menu(), get_pref(render_pass1,Attr), [key(render_pass1)]}
that is because it can happens different plugins to use an Id with same name, so by using the key/1 function we are introducing a plugin id and your render_pass1 will become {yafaray,render_pass1} (that yafaray comes from ?TAG and you can find the code at the begin of the source code).

About the code problem, I'm just coding it now and I will check the problem.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply


Messages In This Thread
RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - micheus - 07-21-2016 02:22 PM
RE: YafaRay Rendering Software - oort - 07-15-2016, 02:28 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)