ClearBoy Posted May 27, 2016 Share Posted May 27, 2016 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 Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 27, 2016 Share Posted May 27, 2016 Nothing to do with animation. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted May 27, 2016 Share Posted May 27, 2016 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: Here is 2.77: 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 GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.