Jump to content

Can't export animation


ClearBoy
 Share

Recommended Posts

Hi

I want export animation with textures, but..

Log:

File "{Fake\Path}\Blender\2.77\scripts\addons\io_export_babylon.py", line 329, in execute
    mesh = Mesh(object, scene, nextStartFace, forcedParent, nameID, self)
  File "{Fake\Path}\Blender\2.77\scripts\addons\io_export_babylon.py", line 785, in __init__
    bakedMat = BakedMaterial(exporter, object, recipe)
  File "{Fake\Path}\Blender\2.77\scripts\addons\io_export_babylon.py", line 2131, in __init__
    self.bake('diffuseTexture', 'DIFFUSE_COLOR', 'TEXTURE', image, mesh, uvName, exporter, recipe)
  File "{Fake\Path}\Blender\2.77\scripts\addons\io_export_babylon.py", line 2163, in bake
    self.bakeCycles(cycles_type, image, uvName, recipe.nodeTrees)
  File "{Fake\Path}\Blender\2.77\scripts\addons\io_export_babylon.py", line 2211, in bakeCycles
    bpy.ops.object.bake(type = bake_type, use_clear = True, margin = 5, use_selected_to_active = False)
  File "{Fake\Path}\Blender\2.77\scripts\modules\bpy\ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
ERROR:  Converting py args enum "DIFFUSE_COLOR" not found in ('COMBINED', 'AO', 'SHADOW', 'NORMAL', 'UV', 'EMIT', 'ENVIRONMENT', 'DIFFUSE', 'GLOSSY', 'TRANSMISSION', 'SUBSURFACE')

Blender: 2.77

Windows 10

Link to comment
Share on other sites

Ok, the names you give in python code for cycles baking types have changed, since 2.74, when I put it in, and 2.77.  No one probably cares, but I am just making notes for myself.  Here is the call for 2.74:

Selection_196.png

Here is 2.77:

Selection_197.png

It actually looks like an improvement.  I was sort of confused by 3 different diffuses.  Not going to get to this right now.  Perhaps change o 2.76.  Docs say this changed in 2.77

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...