ah thx, yes you right, just updated svn.

Fabrice


On May 6, 2010, at 12:27 AM, Christian wrote:

> I was able to make it work. I added this to the BPStree.as file.
> 
>       import away3d.materials.Material;
>       import away3d.core.base.Face;
> 
> On May 5, 12:59 pm, Christian <[email protected]> wrote:
>> the file is here.
>> 
>> http://www.deviantworkshop.com/myBSPTree.zip
>> 
>> On May 5, 12:03 pm, Fabrice3D <[email protected]> wrote:
>> 
>> 
>> 
>>> Prefab outputs for this 3 kinds of files for the BSP:
>> 
>>> --> image/pngs and jpg --> not related
>>> --> awd --> doesn't import materials
>>> --> project class --> doesn't import any Materials
>> 
>>> so its not Prefab related.
>> 
>>> only known issue is fixed and in svn, regarding wrong url when custom path 
>>> is used.
>>> That of course, doesn't mean there is no issue.
>> 
>>> so yes, send me an url where i can dl your files
>> 
>>> Fabrice
>> 
>>> On May 5, 2010, at 6:12 PM, Christian wrote:
>> 
>>>> The only code of away3d I have on my system I get with a svn checkout
>>>> to this url
>> 
>>>> http://away3d.googlecode.com/svn/trunk/fp10/Away3D/
>> 
>>>> I am just loading different models into the latest version of prefab
>>>> and following the video that you guys put out. Could prefab be
>>>> targeting 3.4?
>> 
>>>> On May 5, 5:13 am, Fabrice3D <[email protected]> wrote:
>>>>> 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