[publisher] to correct material attribution of vrml2. import


(jms) #1

in some (all?) vrml2.0 imports, Material is not linked
to the objet although it is displayed when
you select this mesh.

With a few lines of python , you can clean the
relation between material and object:



import Blender 
from Blender import * 

ObjectName='MF_ANTENSI'
MaterialName='Material'

o=Object.get(ObjectName) 
m=Material.get(MaterialName)  
o.setMaterials([m])


jm