crn_map material bug

Issue #34 resolved
Glen Blanchard created an issue

Reported https://corona-renderer.com/forum/index.php/topic,13534.0.html by burnin

Traceback (most recent call last):
  File "C:\Users\UserName\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 353, in render
    render_start( self, scene)
  File "C:\Users\UserName\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 38, in render_start
    render_scene( engine, scene)
  File "C:\Users\UserName\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 189, in render_scene
    bpy.ops.corona.export_mat()
  File "C:\Programs\b278\2.78\scripts\modules\bpy\ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
  File "C:\Users\UserName\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\operators\export.py", line 117, in execute
    write_mtl( root, default_mat, mat, None, mtl_mat_name, True)
  File "C:\Users\UserName\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\outputs.py", line 233, in write_mtl
    addTexture(xml_col, crn_map.map_ke)
NameError: name 'crn_map' is not defined

location: C:\Programs\b278\2.78\scripts\modules\bpy\ops.py:189



location: <unknown location>:-1

Comments (2)

  1. Log in to comment