Page 1 of 1

Can't render linked groups

Posted: Thu Jan 31, 2013 8:33 pm
by William
Hi

I cannot seem to render linked groups at all. (ie a group of objects linked from another .blend)
Tested Blender 2.64 release and Blender 2.65.9 builds.

Code: Select all

[Indigo 2013-Jan-31 19:15:58] 'NoneType' object has no attribute 'indigo_mesh'
Is it a bug or a missing setting?
thanks

Re: Can't render linked groups

Posted: Fri Mar 08, 2013 11:25 am
by William
Still have the problem, does anyone else? It's pretty detrimental to usefulness of the exporter.

I found this post from another user with same problem http://www.indigorenderer.com/forum/vie ... 50#p118350

Re: Can't render linked groups

Posted: Fri Mar 08, 2013 1:37 pm
by FakeShamus
Can't say, since I never use linked. Is there a reason not to just append the stuff you want in the scene?

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 10:06 am
by StompinTom
FakeShamus wrote:Can't say, since I never use linked. Is there a reason not to just append the stuff you want in the scene?
I'll try it out.

Linking is very useful for editing complex scenes, or where you have assets spread out over multiple files / projects that you need to edit separately.

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 11:19 am
by William
With many objects directly, the file size can become unnecessary and the scene is polluted with many individual (often little) objects/materials which must be managed somehow.

Linking groups is the clean way to bring an asset into the scene (one that strictly doesn't need/want further editing/changes). :)



I think I know what the problem is...I have not saved all my assets whilst Indigo addon was installed, this means they don't have "indigo_mesh" information.
A solution would be to have fallback indigo_mesh settings if this information is not available.

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 11:25 am
by StompinTom
William wrote:I think I know what the problem is...I have not saved all my assets whilst Indigo addon was installed, this means they don't have "indigo_mesh" information.
A solution would be to have fallback indigo_mesh settings if this information is not available.
Er... not sure what you mean. Indigo should export linked groups / objects, regardless of whether or not you've made .igmesh versions of them.... Blendigo gets the scene geometry at export time, not when the addon is activated.

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 11:31 am
by William
indigo_mesh is an attribute of the blender mesh data, it stores Indigo specific settings found in the mesh panel of Blender.

This attribute I believe my assets do not have, due to them not being saved whilst Indigo exporter was enabled.

But this may not be problem, not sure.

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 11:37 am
by FakeShamus
well, I guess my workflow is different, but attempting this I get the same error.
and my linked objects were saved with Indigo contextual settings, so I don't think that's the issue here.

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 11:54 am
by William
Thanks, not the problem then.
I'm trying to find the spot where the mesh is becoming none.

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 12:24 pm
by William
Looks like the problem is with using dupligroups, not necessarily anything to do with being linked to another file.

exportModelElements appears to try access the data of the empty which instances the group, of course an empty has no mesh data directly of it's own.
I don't know how to fix.

Re: Can't render linked groups

Posted: Sat Mar 09, 2013 10:58 pm
by StompinTom
Strnage... because exporting linked and dupli groups worked just fine before. I still haven't tried it now, but I'll check today.