hi Hristo,

> If you read the xml carefully (by using xml editor) you'll see that
> objdefault_2 is a child mesh of objedefault.

To take skeleton from genmesh I do following steps:

    if (genmesh_state)
    {
      csRef<iGenMeshSkeletonControlState> animcontrol (
        scfQueryInterface<iGenMeshSkeletonControlState> (
        genmesh_state->GetAnimationControl ()));
      if (animcontrol)
      {
        skeleton = animcontrol->GetSkeleton ();
      }else
      {
        Report (object_reg, "Attached genmesh have no animation control");
      }
    }

"skeleton" is a csWeakRef (and this assignment gives crash for
"objdefault_2" which is a bug probably).


> I have a working code that fixes that too, but i think the logic should be
> integrated in b2cs exporter (to avoid runtime rebuilding/splitting of
> the mesh).

I agree, I just hope you will export kwartz again, for now I will work
with one handed kwartz :) (objdefault_2 makes my objects tree look odd
:) )

-- 
greetings,
 Piotr Obrzut


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to