stig-atle / io_scene_pbrt

Exporter for blender that exports the scene into pbrt's ascii file format.
59 stars 16 forks source link

Skip material export of objects with no material assigned. #16

Closed stig-atle closed 5 years ago

stig-atle commented 5 years ago

Currently the exporter gives a error if you export meshes with no material defined. We should catch this and not try to export materials if none is assigned. That way pbrt will assign a default material.

stig-atle commented 5 years ago

Fix is checked in.