Sajjadul Islam ha scritto:

>     GeometryPtr geoUtah = GeometryPtr::dcast(utah_teapot->getCore());
>    
>     /*
>     Check if the dyamic-casting was successful
>     */
>     if(!geoUtah)
>     {
>         cout << "The dynamaic casting was not successful" << endl;
>         return NullFC;
>     }
> 
> 
> 
> 
> 
> The program crashes saying "The dynamaic casting was not successful". I 
> checked that if i disable the SplitGraphoperator the program runs fine.
> By  the way the model that i m loading is large.
> 
> 
> Any idea from any one how to how to get around that problem?
> 
> 
> 

maybe your model's root is a group ? (or more generally not directly a 
geometry node )

that piece of code seems to be specifically written for that test model

F.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to