10-16-2020, 10:05 AM
Recently,I used latest Yafaray plugin and Wings3D 2.2.6.1
(Note : I don't use Wings's Bulit-in Yafaray plugin,I use a following version that you made )
https://github.com/DavidBluecame/YafaRay...-03-17.zip
Most thing are working fine.
But the case that contain utf8 strings in Font file name or file Path.
In custom font URI of Yafaray export dialog, Wings3D is crash.
Asian font creators tend to name folders and font names using utf8 (Even amateurs and proprietary font bender).
And almost the users oftern put utf8 names in the folder for font file manage.
---------
tkbd
(Note : I don't use Wings's Bulit-in Yafaray plugin,I use a following version that you made )
https://github.com/DavidBluecame/YafaRay...-03-17.zip
Most thing are working fine.
But the case that contain utf8 strings in Font file name or file Path.
In custom font URI of Yafaray export dialog, Wings3D is crash.
Asian font creators tend to name folders and font names using utf8 (Even amateurs and proprietary font bender).
And almost the users oftern put utf8 names in the folder for font file manage.
Quote:Using OpenCL via gpu:Name Apple:VSN: OpenCL 1.2 (May 5 2020 21:50:52)
Exporting to: /Users/User/Desktop/wpc_yafaray-1712-42Y9IQ.xml
for render to: //Users/User/Desktop/untitled.png
ERROR: Failed to export:
{'EXIT',{badarg,[{io_lib,format,
["\t<logging_fontPath sval=\"~s\"/>~n",
[[47,85,115,101,114,115,47,109,97,99,49,48,47,100,
97,116,97,47,32032,26448,12501,12449,12452,12523,
47,12501,12457,12531,12488,39006,47,50,48,49,50,
95,115,101,108,101,99,116,95,102,111,110,116,47,
71,76,45,84,115,117,107,105,106,105,45,53,103,111,
46,111,116,102]]],
[{file,"io_lib.erl"},{line,187}]},
{wpc_yafaray,println,3,
[{file,"wpc_yafaray.erl"},{line,5848}]},
{wpc_yafaray,export_logging_badge,2,
[{file,"wpc_yafaray.erl"},{line,5804}]},
{wpc_yafaray,export,3,[{file,"wpc_yafaray.erl"},{line,3217}]},
{wpc_yafaray,'-do_export/4-fun-0-',3,
[{file,"wpc_yafaray.erl"},{line,695}]},
{wings_export,export,4,[{file,"wings_export.erl"},{line,40}]},
{wings_file,'-export_filename_1/2-fun-0-',3,
[{file,"wings_file.erl"},{line,97}]},
{wings_develop,time_command,2,
[{file,"wings_develop.erl"},{line,87}]},
{wings_plugin,command,3,
[{file,"wings_plugin.erl"},{line,147}]},
{wings,raw_command_1,3,[{file,"wings.erl"},{line,644}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,641}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1030}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,996}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,888}]},
{wings_wm,dispatch_event,1,
[{file,"wings_wm.erl"},{line,797}]},
{wings_wm,get_and_dispatch,0,
[{file,"wings_wm.erl"},{line,683}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,249}]}]}}
---------
tkbd