09-08-2018, 04:12 PM
I am trying to figure out how to batch import multiple obj and collada files when wings starts up.
I'm new to erlang, and taken a look at the code in: e3d_obj.erl, wings_console.erl, wings_start.erl, wpa.erl, wpc_collada.erl, and wings_plugin.erl.
So far i have this code, which loads my obj, but then fails to update the view or show it in the Wings UI. What am i missing?
https://github.com/dgud/wings/issues/298
I'm new to erlang, and taken a look at the code in: e3d_obj.erl, wings_console.erl, wings_start.erl, wpa.erl, wpc_collada.erl, and wings_plugin.erl.
So far i have this code, which loads my obj, but then fails to update the view or show it in the Wings UI. What am i missing?
Code:
{ok, E3DFile} = e3d_obj:import("/home/username/test.obj").
St0 = wpa:get_state().
wings_import:import(E3DFile, St0).
https://github.com/dgud/wings/issues/298