mmonem / blender2ogre

Automatically exported from code.google.com/p/blender2ogre
GNU Lesser General Public License v2.1
0 stars 0 forks source link

BAD SUBMESH error message is misleading #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an object and assign a material
2. Create a second material slot with a second material, but don't assign it to 
any face.
3. Export the object to Ogre

What is the expected output? What do you see instead?
I get a BAD SUBMESH warning, only naming the object I'm exporting. It doesn't 
contain anything about the cause of the warning.

What version of the product are you using? On what operating system?
Version 0.5.9, on Blender 2.65 64-bit, Win7.

I edited the source (line 5233) to this:

Report.warnings.append( 'BAD SUBMESH %s: no faces with material %r, not 
exporting as submesh' % (ob.name, mat.name) )

IMO this makes the message much clearer.

I have attached a file that demonstrates this issue.

Original issue reported on code.google.com by syb...@stuvel.eu on 6 Feb 2013 at 9:01

Attachments:

GoogleCodeExporter commented 8 years ago
Re-filed this issue at 
https://bitbucket.org/MindCalamity/blender2ogre-exporter/issue/1/bad-submesh-err
or-message-is-misleading

Original comment by syb...@stuvel.eu on 23 Mar 2013 at 4:37