Are you sure you do target the latest 3.5 ?

The error you get is related to an API change. All materials extend now 
Material.
so if you use code where you have IMaterial or ITriangleMaterial you will get 
this error

Fabrice



On May 5, 2010, at 5:50 AM, Christian wrote:

> Hello,
> I was working with prefab on may 1st exporting models with the bps
> generator and it was working fine. I was using the code from the svn
> and there was an update. Now when I try to run the new BSP files or
> old one's that worked fine now I get errors like this.
> 
> BSPTree.as 1046: Type was not found or was not a compile-time
> constant: Material.
> Number3D.as Warning: 3590: void used where a Boolean value was
> expected.  The expression will be type coerced to Boolean.
> BSPCollider.as Warning: 3590: void used where a Boolean value was
> expected.  The expression will be type coerced to Boolean.
> 
> Did something change with the update or do you think I just messed up
> something.
> 
> Thanks in advance

Reply via email to